Post by John HedgePost by j***@gmail.comHi List,
I'm running an email server (Postfix, Dovecot, MySQL) on an RPi. I set it up using this 'howto' https://pestmeester.nl/index.html#11.0. It seemed to work but now sent emails just disappear and are not received. Inward emails are ok.
I'm a Linux and Postfix learner so please treat me as not being very knowledgeable.
I've tried to include what relevant info I thought a helper might need but if I've missed something please let me know.
I'll appreciate any help.
TIA,
John
Hi,
Jul 19 07:12:12 RPi postfix/smtpd[6168]: connect from unknown[my ip address]
Jul 19 07:12:12 RPi postfix/smtpd[6168]: 7BBC52116D: client=unknown[my ip address], sasl_method=PLAIN, sasl_username=my user at my mail server
Jul 19 07:12:12 RPi postfix/qmgr[1449]: 7BBC52116D: from=<my user at my mail server>, size=1519, nrcpt=1 (queue active)
Jul 19 07:12:12 RPi postfix/smtpd[6168]: disconnect from unknown[my ip address]
Maybe I can point you in a helpful direction. Comparing your output to
mine which works sending to a gmail address from my server there is a
difference at this point.
Jul 19 08:56:41 lws-u1604 postfix/smtp[766]: 020F75FDB0:
to=<***@gmail.com>,
relay=gmail-smtp-in.l.google.com[173.194.207.27]:25, delay=0.65,
delays=0.08/0.01/0.25/0.31, dsn=2.0.0, status=sent (250 2.0.0 OK
1563541001 v17si15840219qtj.134 - gsmtp)
1) Note that your parameter 'relay' in the log is 'none' but mine points
a google server
2) your 'dsn=4.4.3' whereas mine is 'dsn=2.0.0'
3) your 'status=deferred (Host or domain name not found. Name service
error for name=gmail.com type=MX: Host not found, try again)' whereas
mine 'status=sent (250 2.0.0 OK ...)'
It looks like your server is having a dns issue, where lookups are
failing. Googling "dsn=4.4.3" appears to confirm this.
One issue that can arise is if your postfix in installed chroot or not
but not correctly configured to match this. The default config did
change from 'no' to 'yes' so depending on how old the tutorial was that
you referenced this might be your issue. Mine is installed on a Ubuntu
server is set for chroot:
~$ grep -m 1 '^smtp' /etc/postfix/master.cf
smtp inet n - y - - smtpd
^^^
If you read <http://www.postfix.org/DEBUG_README.html#no_chroot>
It suggests testing by changing the value to 'n' and see if that solves
your problem. Then you can refer to
<http://www.postfix.org/BASIC_CONFIGURATION_README.html#chroot_setup>
and decide whether or not you want to chroot.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com