Am 10.12.2013 00:20, schrieb Krzysztof Szarlej: > Hey Guys, I have installed postfix with dovecot on my vps server. > > I enabled sasl and TLS, but unfortunately i cant connect to my accounts > and send mails from them. > > main.cf <http://main.cf>: > > alias_database = hash:/etc/aliases > alias_maps = hash:/etc/aliases > broken_sasl_auth_clients = yes > command_directory = /usr/sbin > config_directory = /etc/postfix > daemon_directory = /usr/libexec/postfix > data_directory = /var/lib/postfix > debug_peer_level = 2 > home_mailbox = Maildir/ > html_directory = no > inet_interfaces = all > inet_protocols = all > mail_owner = postfix > mailq_path = /usr/bin/mailq.postfix > manpage_directory = /usr/share/man > mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain > mydomain = domain.tld > myhostname = hostname.domain.tld > mynetworks = wanip, 127.0.0.0/8 <http://127.0.0.0/8> > myorigin = $mydomain > newaliases_path = /usr/bin/newaliases.postfix > queue_directory = /var/spool/postfix > readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES > sample_directory = /usr/share/doc/postfix-2.6.6/samples > sendmail_path = /usr/sbin/sendmail.postfix > setgid_group = postdrop > smtp_tls_note_starttls_offer = yes > smtp_use_tls = yes > smtpd_recipient_restrictions = > permit_sasl_authenticated,permit_mynetworks,check_relay_domains > smtpd_sasl_auth_enable = yes > smtpd_sasl_local_domain = > smtpd_sasl_path = smtpd > smtpd_sasl_security_options = noanonymous > smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem > smtpd_tls_auth_only = no > smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt > smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key > smtpd_tls_loglevel = 1 > smtpd_tls_received_header = yes > smtpd_tls_security_level = may > smtpd_tls_session_cache_timeout = 3600s > smtpd_use_tls = yes > tls_random_source = dev:/dev/urandom > unknown_local_recipient_reject_code = 550 > virtual_alias_domains = domain.tld > virtual_alias_maps = hash:/etc/postfix/virtual > > master.cf <http://master.cf> (uncommented the -o lines) > > > [root@hostname ssl]# telnet localhost 25 > Trying ::1... > Connected to localhost. > Escape character is '^]'. > 220 azartec2.popierasz.eu <http://azartec2.popierasz.eu> ESMTP Postfix > EHLO domain.tld > 250-domain.domain.tld > 250-PIPELINING > 250-SIZE 10240000 > 250-VRFY > 250-ETRN > 250-STARTTLS > 250-ENHANCEDSTATUSCODES > 250-8BITMIME > 250 DSN > > /etc/sasl2/smtpd.conf > > check_method: saslauthd > mech_list: PLAIN LOGIN > > > I am getting following error: > > Dec 9 17:59:46 hostname postfix/smtpd[20772]: fatal: no SASL > authentication mechanisms > > > > > > Please Help me asap:) > > Bye! >
is postfix running chroot ( default at debian and devirates )? look at master.cf, postfix-2.6.6 look old why not using recent version > > > > > > Best Regards MfG Robert Schetterer -- [*] 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: Florian Kirstein
