LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   postfix relay problems with SASL authentication & TLS (http://www.linuxquestions.org/questions/linux-software-2/postfix-relay-problems-with-sasl-authentication-and-tls-431968/)

climbingmerlin 04-05-2006 08:55 AM

postfix relay problems with SASL authentication & TLS
 
Hi,

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:

Code:

# 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,
                                permit_sasl_authenticated,
                                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:

Code:

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

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

Thanks in advance....


All times are GMT -5. The time now is 04:53 AM.