You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-------------------------------------------------------------------------------
SMTP_SERVER defined as 192.168.99.1
Setting SASL authentication for user [email protected]
Starting Postfix
Postfix started, tailing log
2017-05-04T05:32:34.583826+00:00 mail postfix/postfix-script[59]: warning: not owned by root: /var/spool/postfix/.
2017-05-04T05:32:34.585173+00:00 mail postfix/postfix-script[60]: warning: not owned by root: /var/spool/postfix/pid
2017-05-04T05:32:34.591900+00:00 mail postfix/postfix-script[78]: starting the Postfix mail system
2017-05-04T05:32:34.595668+00:00 mail postfix/master[80]: daemon started -- version 3.0.3, configuration /etc/postfix
2017-05-04T05:32:53.937474+00:00 mail postfix[88]: fatal: usage: postfix [-c config_dir] [-Dv] command
2017-05-04T05:36:45.246633+00:00 mail postfix/smtpd[93]: connect from unknown[192.168.99.1]
2017-05-04T05:36:45.254567+00:00 mail postfix/smtpd[93]: NOQUEUE: reject: RCPT from unknown[192.168.99.1]: 454 4.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<localhost>
2017-05-04T05:36:45.254982+00:00 mail postfix/smtpd[93]: disconnect from unknown[192.168.99.1] ehlo=1 mail=1 rcpt=0/1 quit=1 commands=3/4
This is my docker run command docker run -e SMTP_SERVER=192.168.99.1 -e [email protected] -e SMTP_PASSWORD=123 --name mail -p 25:25 -p 587:587 --hostname mail.rentmap.com -d mail
Can any one give some solution to it
The text was updated successfully, but these errors were encountered:
Are you just trying to use this as a simple relay, if so you don't need to provide the smtp details. Providing these details will relay the emails out into the web, providing the smtp details will relay them to an smtp server which will then relay them.
Also change --hostname to an env variable SERVER_HOSTNAME.
And are you running this as an inbound or outbound relay?
Hi,
I am running this as outbound relay. i Want to use this container as mail delivery service.
Even if i remove environmental variables from docker run command it is giving same error.(Relay access denied).
This is my
postconf -n
out putThis is my logs
This is my
docker run
commanddocker run -e SMTP_SERVER=192.168.99.1 -e [email protected] -e SMTP_PASSWORD=123 --name mail -p 25:25 -p 587:587 --hostname mail.rentmap.com -d mail
Can any one give some solution to it
The text was updated successfully, but these errors were encountered: