Hello Matus ^^)

Le 24/06/2021 à 17:04, Matus UHLAR - fantomas a écrit :
On 24.06.21 16:55, Matus UHLAR - fantomas wrote:

relayhost = [mail.'external host']:587
http://www.postfix.org/postconf.5.html#relayhost

and apparently configure SMTP Authentication by using:

smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_auth_enable = yes
smtp_sasl_tls_security_options = noanonymous
smtp_tls_security_level=encrypt

and put '[mail.'external host']    user:password'

sorry, this had to be:

[mail.'external host']:587        user:password

(removed apostrophes and added :port)

into /etc/postfix/sasl_passwd
http://www.postfix.org/postconf.5.html#smtp_sasl_password_maps

well with this kind of config I finally get mails to be sent outside the server to 'customer@anywhere' by the 587 port. that's better.


BTW, the received mail says coming from 'root'@mydomain and not as expected webmaster@mydomain :(

the root = webmaster@mydomain exists in the aliases file so why ? wxhat to change in  where config file to change that ?


then the test mail meant to be sent to webmaster@mydomain is still not delivered :( error is still webmaster : user don't exists

that recipient mail exists at the external mail server provided by my registrar  I'm connecting to, I can send mail to it from my isp but not from the mydomain server...

mails to that address from the postfix server just 'vanishes' I find it nowhere on the server, nor in root mailbox nor user mailbox nor /var/spool/ or /var/mail...

don't know where it go


Jun 24 17:12:45 amiga postfix/pickup[32154]: 8E5011C80B28: uid=0 from=<root@mydomain> Jun 24 17:12:45 amiga postfix/cleanup[32161]: 8E5011C80B28: message-id=<20210624151245.8E5011C80B28@mail.mydomain> Jun 24 17:12:45 amiga postfix/qmgr[32155]: 8E5011C80B28: from=<root@mydomain>, size=357, nrcpt=1 (queue active) Jun 24 17:12:45 amiga postfix/local[32164]: 8E5011C80B28: to=<webmaster@mydomain>, relay=local, delay=0.14, delays=0.09/0.01/0/0.05, dsn=5.1.1, status=bounced (unknown user: "webmaster") Jun 24 17:12:45 amiga postfix/cleanup[32161]: A77451C80B40: message-id=<20210624151245.A77451C80B40@mail.mydomain> Jun 24 17:12:45 amiga postfix/bounce[32165]: 8E5011C80B28: sender non-delivery notification: A77451C80B40 Jun 24 17:12:45 amiga postfix/qmgr[32155]: A77451C80B40: from=<>, size=2258, nrcpt=1 (queue active)
Jun 24 17:12:45 amiga postfix/qmgr[32155]: 8E5011C80B28: removed
Jun 24 17:12:45 amiga postfix/local[32164]: A77451C80B40: to=<webmaster@mydomain>, orig_to=<root@mydomain>, relay=local, delay=0.07, delays=0.03/0/0/0.03, dsn=5.1.1, status=bounced (unknown user: "webmaster")
Jun 24 17:12:45 amiga postfix/qmgr[32155]: A77451C80B40: removed

Reply via email to