-   Linux - Software (
-   -   postfix relay problems with SASL authentication & TLS (

climbingmerlin 04-05-2006 08:55 AM

postfix relay problems with SASL authentication & TLS

I am having a nightmare trying to sort out my postfix configuration, I have been following different HOWTO's to try and get it to work but I am at my wits end and hope that I someone from this fantastic forum can help. (enough arse kissing).

Postfix at the moment is working fine for everyone within my network, they are authenticating and sending emails no problem. However I have one user that is out of the office and travels around Europe, as you can imagine he wants to use the email server to send and receive his email. I have him authenticating using SASL and TLS however postfix is still not allowing him to relay.

Here is my postfix conf for relay:


# NOTE: Postfix will not automatically forward mail for domains that
# list this system as their primary or backup MX host. See the
# permit_mx_backup restriction description in postconf(5).
relay_domains = $mydestination
smtpd_recipient_restrictions = permit_mynetworks,
                                reject_unauth_destination, permit
smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks

smtpd_use_tls = yes
smtp_use_tls = yes
smtpd_tls_cert_file = /etc/postfix/server.crt
smtpd_tls_key_file = /etc/postfix/server.key
smtpd_tls_CAfile = /etc/postfix/cacert.pem

smtpd_sasl_auth_enable = yes
smtpd_tls_auth_only = yes
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s

As far as I can work out there should be no problems but the user still can not send email. Here is the error within the log file:


Apr  3 22:54:01 rimmer postfix/smtpd[10983]: connect from **.Red-**-**-**[**.**.**.**]
Apr  3 22:54:01 rimmer postfix/smtpd[10983]: setting up TLS connection from **.Red-**-**-**.staticIP.rima-td[**.**.**.**]
Apr  3 22:54:02 rimmer postfix/smtpd[10983]: TLS connection established from **.Red-**-**-**.staticIP.rima-t[**.**.**.**]: TLSv1 with cipher RC4-MD5 (128/128 bits)
Apr  3 22:54:02 rimmer postfix/smtpd[10983]: NOQUEUE: reject: RCPT from **.Red-**-**-***
t[**.**.**.**]: 554 <*********>: Relay access denied; from=<user@co*****> to=<*********> proto=ESMTP helo=<barbracf04e2fc>
Apr  3 22:54:03 rimmer postfix/smtpd[10983]: disconnect from **.Red-**-**-**[**.**.**.**]

Any pointers in the right direction and I would be very grateful!

Thanks in advance....

All times are GMT -5. The time now is 05:17 AM.