* Muhammad Yousuf Khan <sir...@gmail.com>:
> i have been through several articles and howtos for configuring smtpd
> to accept credential for authenticantion but all of them are fail.
> postfix relay email anonymusly no matter what i configure. here is the
> configuration of /etc/postfix/main.cf
> 
> smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
> smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
> smtpd_use_tls=yes
> smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
> smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
> 
> myhostname = mailsrv.mydomain.com
> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> myorigin = /etc/mailname
> mydestination = localhost.localdomain, localhost, mydomain.com
> relayhost =
> #mynetworks = 127.0.0.0/8, 10.XX.XX.0/24
> mailbox_command =
> mailbox_size_limit = 0
> recipient_delimiter = +
> inet_interfaces = all
> home_mailbox = Maildir/
> inet_protocols = all
> 
> 
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_security_options = noanonymous
> smtpd_sasl_local_domain = $myhostname
> broken_sasl_auth_clients = yes
> 
> smtpd_recipient_restrictions =
>    permit_sasl_authenticated,
>    permit_mynetworks,
>    check_relay_domains
> 
> it does not affect even if I comment “mynetworks” or
> “permit_mynetwork”  as you can see the settings mynetworks is comment
> out. However I am sure that SASL is configured properly because my
> outlook client has received SSL certificate when I created the
> account.

Again: SSL is not related to SASL. 

Show log that prooves your case.

p@rick

-- 
[*] sys4 AG
 
http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
 
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich

Reply via email to