LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-16-2008, 03:00 PM   #1
timgerr
LQ Newbie
 
Registered: Feb 2004
Location: Michigan
Distribution: Debian
Posts: 27

Rep: Reputation: 15
Postfix SMTP use permit_sasl_authenticated and non ssal for authentication


Hey all,
I have a problem with my mail server. I have some remote users that cannot accept a certificate for SMTP authentication. I would like to change my server so a user can use SSL cert or not. They have to authenticate with a username and password but I want to have the option for the ssl smtp authenication. How can I do this. Here is part of my main.cf file:
Code:
#TLS - SMTP AUTH
disable_vrfy_command = yes
smtpd_use_tls = yes
smtpd_tls_auth_only = yes
tls_random_source = dev:/dev/urandom
smtpd_tls_cert_file = /etc/postfix/cert.pem
smtpd_tls_key_file = /etc/postfix/key.pem
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
# Add some security
# Added by XXXXXX 12/10/2007
smtpd_recipient_restrictions =
        permit_sasl_authenticated,
        permit_mynetworks,
        reject_unauth_destination,
        reject_invalid_hostname,
        reject_unknown_sender_domain,
        reject_unknown_recipient_domain,
        reject_rbl_client list.dsbl.org,
        reject_rbl_client sbl-xbl.spamhaus.org,
        reject_rbl_client cbl.abuseat.org,
        reject_rbl_client dul.dnsbl.sorbs.net

Thanks for the help.

Timgerr
 
Old 04-17-2008, 07:49 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Have a look at http://postfix.state-of-mind.de/patr...s_support.html

This is the first SASL/TLS howto listed on the postfix howto site
 
Old 04-17-2008, 11:14 AM   #3
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Code:
smtpd_tls_auth_only = no
That one liner will sort you out.
 
  


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
SMTP authentication with postfix using sasl GuyWood13 Linux - Server 23 05-03-2011 03:29 PM
SMTP authentication in postfix aravind1024004 Linux - Server 12 09-04-2010 09:32 AM
Postfix SMTP Authentication lasantha Linux - Server 0 10-26-2007 01:06 PM
postfix installation on suse with smtp authentication murattas Linux - Software 0 05-03-2005 11:16 AM
Postfix smtp authentication help dt23 Mandriva 1 09-28-2004 08:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:03 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration