Helpful links:

https://help.ubuntu.com/14.04/serverguide/postfix.html

http://wiki2.dovecot.org/FindMailLocation

http://www.buildcube.com/tech_blog/2012/07/15/inspecting-postfixs-email-queue/

http://dovecot.2317879.n4.nabble.com/dovecot-lda-root-Fatal-Invalid-user-settings-Refer-to-server-log-for-more-information-td38797.html

 

http://postfix.1071664.n5.nabble.com/mail-transport-unavailable-td60070.html

 

Inspect Stray mail:

mailq

Read stray mail:

sudo postcat -vq 21A5320BEB

Delete stray mail:

sudo postsuper -d 21A5320BEB

 

From /etc/postfix/master.cf

#RS-140629 smtpd for incoming mail, or smtp for outgoing mail ? Don't ask why...
smtp inet n - - - - smtpd
smtp unix - - - - - smtp

 

Trace:

satre@vm-6114:~$ echo "fra vm til fastlege egentlig endors.no, via satre" | mail satre@endors.no


Jun 10 10:27:35 vm-6114 postfix/pickup[21988]: D8E1D4048E: uid=5856 from=<satre@vm-6114.idi.ntnu.no>
Jun 10 10:27:35 vm-6114 postfix/cleanup[22048]: D8E1D4048E: message-id=<20140610082735.D8E1D4048E@endors.no>
Jun 10 10:27:35 vm-6114 postfix/qmgr[2503]: D8E1D4048E: from=<satre@vm-6114.idi.ntnu.no>, size=368, nrcpt=1 (queue active)
Jun 10 10:27:35 vm-6114 postfix/cleanup[22048]: DF5524048F: message-id=<20140610082735.D8E1D4048E@endors.no>
Jun 10 10:27:35 vm-6114 postfix/qmgr[2503]: DF5524048F: from=<satre@vm-6114.idi.ntnu.no>, size=489, nrcpt=1 (queue active)
Jun 10 10:27:35 vm-6114 postfix/local[22050]: D8E1D4048E: to=<satre@endors.no>, relay=local, delay=0.12, delays=0.11/0.01/0/0.01, dsn=2.0.0, status=sent (forwarded as DF5524048F)
Jun 10 10:27:35 vm-6114 postfix/qmgr[2503]: D8E1D4048E: removed
Jun 10 10:27:35 vm-6114 postfix/smtp[22051]: DF5524048F: to=<satre@ntnu.no>, orig_to=<satre@endors.no>, relay=smtp.ansatt.ntnu.no[129.241.56.66]:25, delay=0.06, delays=0/0.01/0.01/0.04, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 530696679F3)
Jun 10 10:27:35 vm-6114 postfix/qmgr[2503]: DF5524048F: removed

 

To set a default sender with æøå in his name:
satre@vm-6114:~$ cat .mailrc
set from="satre@endors.no (Rune =?utf-8?Q?S=C3=A6tre?=)"

 

  • No labels