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: Zbigniew Szalbot (zszalbotgmail.com)
Date: Tue Apr 01 2008 - 11:37:52 CDT


Hello - solved! :)

Installing sasl2 solved the problem. Sorry for bothering the list. I
think I have learnt something though :)

Zbigniew Szalbot

2008/4/1, Zbigniew Szalbot <zszalbotgmail.com>:
> 2008/4/1, Victor Duchovni <Victor.Duchovnimorganstanley.com>:
>
> > On Tue, Apr 01, 2008 at 04:43:46PM +0200, Zbigniew Szalbot wrote:
>
>
> > Are you at all puzzled by this surprisingly long "readme_directory" setting?
>
> I believe I have now corrected these entries. Thank you.
> https://mail.google.com/mail/
> Gmail - smtp_fallback_relay
>
> > > smtp_tls_note_starttls_offer = yes
> > > smtp_use_tls = yes
> >
> > And lack of any smtp_sasl_ settings?
>
>
> postconf -n
>
> broken_sasl_auth_clients = yes
> command_directory = /usr/local/sbin
> config_directory = /usr/local/etc/postfix
> content_filter = smtp-amavis:[127.0.0.1]:10024
> daemon_directory = /usr/local/libexec/postfix
> data_directory = /var/db/postfix
> debug_peer_level = 2
> html_directory = no
> mail_owner = postfix
> mailq_path = /usr/local/bin/mailq
> manpage_directory = /usr/local/man
>
> 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
>
> relay_domains =
> proxy:mysql:/usr/local/etc/postfix/mysql_relay_domains_maps.cf
> mailman.szalbot.homedns.org
>
> relayhost = [slowo.pl]
>
> sample_directory = /usr/local/etc/postfix
> sendmail_path = /usr/local/sbin/sendmail
> setgid_group = maildrop
>
> smtp_sasl_auth_enable = yes
>
> smtp_sasl_password_maps = hash:/usr/local/etc/postfix/sasl_passwd
> smtp_sasl_security_options = noanonymous
>
> smtp_sasl_type = cyrus
>
> smtp_tls_note_starttls_offer = yes
> smtp_use_tls = yes
>
> 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
>
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_authenticated_header = yes
> smtpd_sasl_local_domain = $myhostname
> smtpd_sasl_path = private/auth
> smtpd_sasl_security_options = noanonymous
> smtpd_sasl_type = dovecot
> smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks
> smtpd_tls_CAfile = /etc/ssl/postfix/smtpd.pem
> smtpd_tls_cert_file = /etc/ssl/postfix/smtpd.pem
> smtpd_tls_key_file = /etc/ssl/postfix/smtpd.pem
> smtpd_tls_loglevel = 0
> smtpd_tls_received_header = yes
> smtpd_tls_session_cache_timeout = 3600s
> smtpd_use_tls = yes
> soft_bounce = no
> tls_random_source = dev:/dev/urandom
> transport_maps = hash:/usr/local/etc/postfix/transport
> unknown_local_recipient_reject_code = 550
> virtual_alias_maps =
> proxy:mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf
> virtual_mailbox_domains =
> proxy:mysql:/usr/local/etc/postfix/mysql_virtual_domains_maps.cf
> virtual_mailbox_maps =
> proxy:mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_maps.cf
> virtual_transport = virtual
>
>
> and yet when I reload:
> Apr 1 18:11:05 szalbot postfix/smtp[33111]: warning: unsupported SASL
> client implementation: cyrus
> Apr 1 18:11:05 szalbot postfix/smtp[33111]: fatal: SASL library initialization
>
> Does it mean I have to compile postifx with cyrus support (SASL2)? I
> compiled it with dovecot but changing cyrus to dovecot still produces
> an error about unsupported SASL client implementation.
>
>
>
> > Show "postmap -q ..." output that demonstrates the entry is in the
> > indexed table built from the above source file.
>
> Ok. lesson learnt.
>
>
> postmap -q "yahoo.com" /usr/local/etc/postfix/transport
>
> :[slowo.pl]
>
> postmap -q "[slowo.pl]" /usr/local/etc/postfix/sasl_passwd
> user:password
>
> Thanks for your patience with me!
>
> --
>
> Zbigniew Szalbot
>

--
Zbigniew Szalbot