Hi; I ran this: echo "Hello me" | mail -s "Dovecot test" $USER then created a bash script: for mbox in /var/mail/$USER /var/spool/mail/$USER ~/mbox ~/mail/* ~/*; do grep -q "Dovecot test" $mbox && echo "mbox: $mbox" done grep -q "Dovecot test" ~/Maildir/new/* 2>/dev/null && echo "Maildir: ~/Maildir" and ran it but couldn't find where the mail went. I checked /var/mail/my_user_name and it wasn't there, either. How do I find it? TIA, John
Hi John,
John Reddy wrote:
I ran this: echo "Hello me" | mail -s "Dovecot test" $USER and ran it but couldn't find where the mail went. I checked /var/mail/my_user_name and it wasn't there, either. How do I find it?
I'm sorry to tell you this is rather off-topic on the dovecot list, since the mail is routed and delivered by your MTA.
In the logfiles of your MTA (mail transport agent) you should find hints where the mail went.
/var/log/postfix/... /var/log/exim/...
Regards Daniel
participants (2)
-
Daniel Parthey
-
John Reddy