From: kashani <kashani-list@badapple.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] POSTFIX and SASL
Date: Wed, 05 Oct 2005 10:36:08 -0500 [thread overview]
Message-ID: <4343F2E8.2010903@badapple.net> (raw)
In-Reply-To: <6.2.3.4.0.20051005101100.01c4a630@op.oxpub.com>
Joe Strusz wrote:
<big snip>
I don't see your smtpd_recipient_restrictions in that list, but it looks
like you cut and pasted rather than did a postconf -n. Do the logs say
antyhing interesting as well?
In any case here's what works for me.
/etc/postfix/main.cf
# SASL setting
smtpd_sasl_auth_enable = yes
smtpd_sasl2_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_local_domain =
# TLS Settings
smtpd_use_tls = yes
#smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/postfix/newreq.pem
smtpd_tls_cert_file = /etc/postfix/newcert.pem
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_loglevel = 3
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
# setting restrictions and order
smtpd_recipient_restrictions =
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
reject_unauth_pipelining,
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
permit
/etc/sasl2/smtpd.conf
pwcheck_method: saslauthd
mech_list: plain login
/etc/conf.d/saslauthd
SASLAUTHD_OPTS=""
SASLAUTHD_OPTS="${SASLAUTH_MECH} -a pam"
/etc/init.d/saslauthd restart
/etc/init.d/postfix restart
kashani
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2005-10-05 15:41 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-05 15:17 [gentoo-user] POSTFIX and SASL Joe Strusz
2005-10-05 15:25 ` John Jolet
2005-10-05 15:26 ` John Jolet
2005-10-05 15:32 ` Joe Strusz
2005-10-05 15:36 ` kashani [this message]
2005-10-05 17:01 ` Marshal Newrock
2005-10-06 0:27 ` Bryan Whitehead
2005-10-05 20:04 ` Joe Strusz
-- strict thread matches above, loose matches on Subject: below --
2005-10-05 15:47 Joe Strusz
2005-10-05 15:55 ` Joe Strusz
2005-10-05 16:05 Joe Strusz
2005-10-05 16:31 ` kashani
2005-10-05 17:04 ` Joe Strusz
2005-10-05 17:10 ` Joe Strusz
2005-10-05 18:41 ` Joe Strusz
2005-10-05 18:46 ` Joe Strusz
2005-10-05 18:58 ` Drew Tomlinson
2005-10-05 19:03 ` joe strusz
2005-10-05 18:54 ` kashani
2005-10-05 16:17 Joe Strusz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4343F2E8.2010903@badapple.net \
--to=kashani-list@badapple.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox