So basically, because of an issue with the local domains list a user wasn't receiving email (remote host is localhost error). The thing is, this user is logging into webmail with just a username and no domain; which works fine, except because the mailserver domain wasn't in the local domain list it was trying to use the mailserver domain (mail.ruun.nl) as hostname instead of the user's own domain (leerleuk.nl); all mail was sent to [email protected] instead of [email protected], and stuck in mail queue.
Because I'm stupid I forced the mail through by disabling the verify part of exim.conf and doing a retry for all mail. As a result, the queue is clear and the mail has to have gone somewhere. Sadly, I have no idea where.
The issue is now resolved and the user asked me to look into where this 5 days worth of mail went. I'd love to make them happy by putting their mail back where it belongs, but I have no idea where it could've gone. There's no mailbox for any accounts under mail.ruun.nl (obviously) and I really have no clue where the 'default' location would be. Their own mailbox doesn't contain any of the mail, unless it does but isn't showing it because it's a different hostname.
Is there any way to get the mail back, or any logs I can try to look up the location in? I checked all logs in /var/log (cp -R /var/log/mail.* ~/maillogs) and used regex to sort through a few hundred thousand lines of logs in hopes of finding even just a single reference to mail being processed that day, but sadly nothing was there. Is there a DA log for the mail queue?
Kind regards,
Ieuan
Because I'm stupid I forced the mail through by disabling the verify part of exim.conf and doing a retry for all mail. As a result, the queue is clear and the mail has to have gone somewhere. Sadly, I have no idea where.
The issue is now resolved and the user asked me to look into where this 5 days worth of mail went. I'd love to make them happy by putting their mail back where it belongs, but I have no idea where it could've gone. There's no mailbox for any accounts under mail.ruun.nl (obviously) and I really have no clue where the 'default' location would be. Their own mailbox doesn't contain any of the mail, unless it does but isn't showing it because it's a different hostname.
Is there any way to get the mail back, or any logs I can try to look up the location in? I checked all logs in /var/log (cp -R /var/log/mail.* ~/maillogs) and used regex to sort through a few hundred thousand lines of logs in hopes of finding even just a single reference to mail being processed that day, but sadly nothing was there. Is there a DA log for the mail queue?
Kind regards,
Ieuan