7 msgPostfix 2.2.5 on latest Solaris 9 x86
5 msgPostfix Relay, and Pop-before-smtp

Newb Question
\ Jeff (23 Sep 2007)
. \ Jeff (23 Sep 2007)
. \ Jeff (23 Sep 2007)
. . \ mouss (23 Sep 2007)
. . . \ Victor Duchovni (23 Sep 2007)
. . . . \ mouss (23 Sep 2007)
. \ mouss (23 Sep 2007)
. . \ Jeff (23 Sep 2007)
. . . \ mouss (23 Sep 2007)
. . . . \ Jeff (23 Sep 2007)
. . . . . \ mouss (24 Sep 2007)
. \ David B. Ferguson (23 Sep 2007)

13 msgBest defense against this?
1 msgundelivered mail problem - SOLVED
4 msgLegal local-part
3 msgvirtual_alias_domains with mysql: 'User unknown...
6 msgSubmission port (587): howto to use differente ...
5 msgWhen does smtpd_reject_unlisted_recipient kick in?
4 msgPostfix 'falling back' on sasldb? I don't want ...
3 msgNested access maps (I think ;))
3 msgSuppression of encoding bad header function in ...
4 msgRE: Catchall ??
3 msgproblem with .forward files + forwarding loops
5 msgPostfix Strange Behaviours
7 msgContent filter question, based upon auth'ed or not
28 msgMail stuck in active queue for loooong time
11 msgHow to stop a user from changing the 'From:' he...
10 msg[Semi-OT] blocked port 465, anywhere?
7 msgchroot problems on Nexenta (OpenSolaris)
Subject:Newb Question
Group:Postfix-users
From:Jeff
Date:23 Sep 2007


 

I seem to have thoroughly mucked up a new config. Smtp is set up to
authenticate against Sasl/Pam/MySQL but no one can login. In the messages
log, Postfix says that no results were returned, but Pam, which is set to
debug, doesn't record a lookup at all. When I manually run 'testsaslauth'
with '-s smtp' against these users everything works fine.

However, I can send mail from the command line anywhere, as anyone -- total
open relay. What have I done wrong? I've obviously misunderstood one of the
parameters below.

So at least 2 issue here, probably unrelated. I'll send any other info that
might be helpful. Thanks!

Postconf -n:

command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = 192.168.1.221
mail_owner = postfix
mail_spool_directory = /var/mail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
myhostname = zeus.mrbonkers.org
mynetworks = 192.0.0.0/8, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_restrictions = permit_mynetworks
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination,
reject_unauth_pipelining, reject_non_fqdn_recipient
,
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = mrbonkers.org
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_mynetworks, reject_unknown_sender_domain
soft_bounce = no
unknown_local_recipient_reject_code = 450
virtual_alias_maps = mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:5002
virtual_mailbox_base = /var/virtual/
virtual_mailbox_domains =
mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = mysql:/etc/postfix/sql/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 5002
virtual_transport = virtual
virtual_uid_maps = static:5002




© 2004-2008 readlist.com