You are not logged in.
Pages: 1
I'm trying to send e-mail from Thunderbird through my SMTP server using Postfix from a remote location to the server. I'm getting a Relay Access Denied when I try to do this. However, when I send e-mail from Thunderbird from a computer within the same LAN as the server, it works without a hitch. The mail.log file shows the following information:
Jun 6 08:42:04 nighthawk postfix/smtpd[22098]: NOQUEUE: reject: RCPT from unknown[65.120.80.8]: 554 <jcardarelli>: Relay access denied; from=<cconover> to=<jcardarelli> proto=ESMTP helo=<127>
Jun 6 08:42:11 nighthawk postfix/smtpd[22098]: lost connection after RCPT from unknown[65.120.80.8]
Jun 6 08:42:11 nighthawk postfix/smtpd[22098]: disconnect from unknown[65.120.80.8]
Bostoniman
Ba-zing Communications
Offline
you need to enable authentication in postfix. Try this:
Offline
I have Cyrus SASL integrated and enabled with my installation of Postfix, as I use relayhost to send out mail. When I am sending mail from a computer on the same local network as the server, it prompts me for the password, and authenticates, sends the mail, and works just fine. However, when I am outside the local network, it doesn't even prompt me for the password. It simply gives me error 554.
Bostoniman
Ba-zing Communications
Offline
I know we played around a lot with different settings to get our environment setup correctly (altough we layered LDAP into the mix). If I remember correctly, these were some of the relevant settings:
# SASL configuration
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $mydomain
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains
broken_sasl_auth_clients = yes
relay_domains = *
Offline
I'll try to add some of those that I don't already have. I'll keep fiddling with it.
Bostoniman
Ba-zing Communications
Offline
Make sure you have permit_sasl_authenticated before permit_mynetworks in smtpd_recipient_restrictions.
If it ain't that obvious, a postconf -n never hurts.
1000
Offline
I have it that way, thanks for the confirmation.
Bostoniman
Ba-zing Communications
Offline
Pages: 1