LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-05-2006, 08:55 AM   #1
climbingmerlin
Member
 
Registered: Mar 2004
Location: UK
Distribution: Fedora, OpenSuse
Posts: 91

Rep: Reputation: 15
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....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix - SASL LOGIN authentication failed micko_escalade Linux - Networking 1 02-03-2006 01:53 AM
Building Postfix with SASL + TLS mcd Linux - Networking 0 10-08-2005 09:43 PM
Postfix cram-md5 authentication to earthlink relay spiritwing Linux - Software 2 07-13-2005 09:19 PM
sasl/postfix smtp relay problems 5teve-o Red Hat 0 04-02-2005 03:50 PM
using postfix to send through a relay server that requires authentication surban99 Linux - Software 1 04-27-2004 06:16 PM


All times are GMT -5. The time now is 08:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration