OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: smtp_fallback_relay

From: Victor Duchovni (Victor.Duchovnimorganstanley.com)
Date: Tue Apr 01 2008 - 09:56:26 CDT


On Tue, Apr 01, 2008 at 04:43:46PM +0200, Zbigniew Szalbot wrote:

> Sorry for snippets instead of full information!

You let the mail client rewrap the output, not a good idea, but the
result is still (just) parseable.

> [...]
> mydomain = lists.lc-words.com
> myhostname = lists.lc-words.com
> mynetworks_style = host
> newaliases_path = /usr/local/bin/newaliases
> queue_directory = /var/spool/postfix

> readme_directory = no smtp_sasl_auth_enable = yes smtp_sasl_security_options = noanonymous smtp_sasl_password_maps = hash:/usr/local/etc/postfix/sasl_passwd relayhost = [slowo.pl]

Are you at all puzzled by this surprisingly long "readme_directory" setting?

> relay_domains = proxy:mysql:/usr/local/etc/postfix/mysql_relay_domains_maps.cf
> mailman.szalbot.homedns.org
> sample_directory = /usr/local/etc/postfix
> sendmail_path = /usr/local/sbin/sendmail
> setgid_group = maildrop

> smtp_tls_note_starttls_offer = yes
> smtp_use_tls = yes

And lack of any smtp_sasl_ settings?

> smtpd_recipient_restrictions = permit_mynetworks,
> permit_sasl_authenticated, reject_non_fqdn_hostname,
> reject_non_fqdn_sender, reject_non_fqdn_recipient,
> reject_unauth_destination, reject_unauth_pipelining,
> reject_invalid_hostname, reject_rbl_client zen.spamhaus.org
> ...

> > Don't cut/paste from the transport table, show "postmap -q" output.

> postmap -q
> postmap: option requires an argument -- q
> postmap: fatal: usage: postmap [-Nfinoprsvw] [-c config_dir] [-d key]
> [-q key] [map_type:]file...

The "postmap" command has a manual page. Please read it.

        man postmap

> > Don't cut/paste from the sasl password table, show "postmap -q" output.
> $ cat sasl_passwd
> [slowo.pl] user:passwd

Show "postmap -q ..." output that demonstrates the entry is in the
indexed table built from the above source file.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.