Discussion:
Why Relay access denied for my postfix?
(too old to reply)
Length Power
2017-10-08 01:54:58 UTC
Permalink
Email can be sent with command.

echo "test"|mail -s "test" ***@yahoo.com

Now to test the postfix with telnet command.

telnet localhost smtp
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 localhost.localdomain ESMTP Postfix
ehlo localhost
250-localhost.localdomain
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
MAIL FROM: <***@localhost.localdomain>
250 2.1.0 Ok
RCPT TO: <***@yahoo.com>
454 4.7.1 <***@yahoo.com>: Relay access denied

Why telnet can't sned email?
Length Power
2017-10-08 23:17:34 UTC
Permalink
在 2017年10月7日星期六 UTC-4下午9:54:59,Length Power写道:
Post by Length Power
Email can be sent with command.
Now to test the postfix with telnet command.
telnet localhost smtp
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 localhost.localdomain ESMTP Postfix
ehlo localhost
250-localhost.localdomain
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
250 2.1.0 Ok
Why telnet can't sned email?
The configuration in main.cf
mynetworks = 127.0.0.0/8,[::1]/128

Loading...