Postfix SASL - Relay access denied
distro = debian 5
when i tried to send to other domain, i will get "Relay access denied" below are my configs main.cf Code:
# postconf -n Code:
START=yes Code:
... |
Relay access denied means that Postfix did not get proper authentication of the user attempting to send the message and that the message was for a domain other than one it receives mail for. You've got permit_mynetworks and permit_sasl_authenticated, which suggests that you were trying to send mail to a different domain via an email client on a different host. Your mymyetworks parameter looks to be configured for various versions of localhost. I would look at the postfix logs and if you think the login should have been authenticated, turn on debugging in Dovecot by switching the debug parameters to yes in the dovecot configuration.
|
i don't know what to make of these dovecot debug messages
Code:
dovecot: 2011-03-22 20:22:17 Info: auth(default2): new auth connection: pid=22224 Code:
Mar 22 20:22:07 205202 postfix/smtpd[25728]: disconnect from unknown[121.120.10.100] Code:
Mar 22 21:09:08 205202 postfix/smtpd[26003]: connect from unknown[121.120.10.100] |
Did you turn on authentication in your email client? In your postfix log, if you had turned on authentication, you should see something like the following after the connect statement:
Mar 22 20:22:10 205202 postfix/smtpd[25728]: random string: client=server_name[IP], sasl_method=(login or plain), sasl_username=authenticated_username |
Cincindie, that is a good observation. The logs they posted appear to indicate that dovecot is authenticating the user and resolving the credentials properly, but this is not being passed on to Postfix.
|
All times are GMT -5. The time now is 09:00 PM. |