I follow the guide Virtual Users and Domains with Postfix, Courier, MySQL And Squirrel Mail (Debian Lenny) Now I got postfix running ,after many working hours . It seems to me that is not working with amavis I need to remove and then install amavis new, also I modify some lines on master.cf Now I have response from Telnet 110 and telnet 25 passing the squirrelmail test. But now the problem is with authdaemon is not authenticating users Through Mysql. Viewing mail.log I got that: Aug 26 18:22:12 dec1 postfix/master[11937]: warning: /etc/postfix/master.cf: logical line must not start with whitespace: " $ Aug 26 18:23:39 dec1 postfix/master[11937]: reload configuration /etc/postfix Aug 26 18:24:45 dec1 imapd: Connection, ip=[::ffff:127.0.0.1] Aug 26 18:24:45 dec1 imapd: authdaemon: s_connect() failed: No such file or directory Aug 26 18:24:45 dec1 imapd: LOGIN FAILED, [email protected], ip=[::ffff:127.0.0.1] Aug 26 18:24:45 dec1 imapd: authentication error: No such file or directory Is there something wrong with authdaemon? Iits not authenticating with MySQL. Something is missing on the configuration or with the authdaemon installation. Thanks for your help
cant send out mails The last lines of mail.log dec1 postfix/smtpd[3318]: send attr ident = smtp:127.0.0.1 Aug 29 07:41:42 dec1 postfix/smtpd[3318]: private/anvil: wanted attribute: status Aug 29 07:41:42 dec1 postfix/smtpd[3318]: input attribute name: status Aug 29 07:41:42 dec1 postfix/smtpd[3318]: input attribute value: 0 Aug 29 07:41:42 dec1 postfix/smtpd[3318]: private/anvil: wanted attribute: (list terminator) Aug 29 07:41:42 dec1 postfix/smtpd[3318]: input attribute name: (end) Aug 29 07:41:42 dec1 postfix/smtpd[3318]: disconnect from localhost.localdomain[127.0.0.1] Aug 29 07:41:42 dec1 postfix/smtpd[3318]: master_notify: status 1 Aug 29 07:41:42 dec1 postfix/smtpd[3318]: connection closed Aug 29 07:42:21 dec1 spamd[2188]: Can't create a DNS resolver socket: Permission denied at /usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm line 239. Master.cf # SMTPS smtp inet n - n - - smtpd -v # -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes # # -o smtpd_client_restrictions=permit_sasl_authenticate # Dovecot dovecot unix - n n - - pipe flags=DRhu user=dovecot:mail argv=/usr/lib/dovecot/deliver -d $recipient # Mail to Amavis #amavis unix - - - - 10 smtp # -o smtp_data_done_timeout=1200 # -o smtp_send_xforward_command=yes # -o disable_dns_lookups=yes # -o max_use=20 # Mail from Amavis #127.0.0.1:10025 inet n - - - - smtpd # -o content_filter= amavis:[127.0.0.1]:10024 # -o local_recipient_maps= # -o relay_recipient_maps= # -o smtpd_restriction_classes= # -o smtpd_delay_reject=no # -o smtpd_client_restrictions=permit_mynetworks,reject # -o smtpd_helo_restrictions= # -o smtpd_sender_restrictions= # -o smtpd_recipient_restrictions=permit_mynetworks,reject # -o smtpd_data_restrictions=reject_unauth_pipelining # -o smtpd_end_of_data_restrictions= # -o mynetworks=127.0.0.0/8 # -o smtpd_error_sleep_time=0 # -o smtpd_soft_error_limit=1001 # -o smtpd_hard_error_limit=1000 # -o smtpd_client_connection_count_limit=0 # -o smtpd_client_connection_rate_limit=0 #-o receive_override_options=no_header_body_checks,no_unknown_recipient_checks -o receive_override_options=no_unknown_recipient_che cks,no_header_body_check #amavis unix - - - - 2 smtp # -o smtp_data_done_timeout=1200 # -o smtp_send_xforward_command=yes #127.0.0.1:10025 inet n - - - - smtpd # -o content_filter= # -o local_recipient_maps= # -o relay_recipient_maps= # -o smtpd_restriction_classes= # -o smtpd_client_restrictions= # -o smtpd_helo_restrictions= # -o smtpd_sender_restrictions= # -o smtpd_recipient_restrictions=permit_mynetworks,reject # -o mynetworks=127.0.0.0/8 # -o strict_rfc821_envelopes=yes # -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks # -o smtpd_bind_address=127.0.0.1 flush unix n - - 1000? 0 flush proxymap unix - - n - - proxymap trace unix - - - - 0 bounce verify unix - - - - 1 verify tlsmgr unix - - - 1000? 1 tlsmgr anvil unix - - - - 1 anvil scache unix - - - - 1 scache discard unix - - - - - discard retry unix - - - - - error relay unix - - n - - smtp -o smtp_fallback_relay= -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
You have this section: Code: # Mail from Amavis #127.0.0.1:10025 inet n - - - - smtpd # -o content_filter= amavis:[127.0.0.1]:10024 # -o local_recipient_maps= # -o relay_recipient_maps= # -o smtpd_restriction_classes= # -o smtpd_delay_reject=no # -o smtpd_client_restrictions=permit_mynetworks,reject # -o smtpd_helo_restrictions= # -o smtpd_sender_restrictions= # -o smtpd_recipient_restrictions=permit_mynetworks,reject # -o smtpd_data_restrictions=reject_unauth_pipelining # -o smtpd_end_of_data_restrictions= # -o mynetworks=127.0.0.0/8 # -o smtpd_error_sleep_time=0 # -o smtpd_soft_error_limit=1001 # -o smtpd_hard_error_limit=1000 # -o smtpd_client_connection_count_limit=0 # -o smtpd_client_connection_rate_limit=0 #-o receive_override_options=no_header_body_checks,no_unknown_recipient_checks -o receive_override_options=no_unknown_recipient_che cks,no_header_body_check I think you need to comment out the last line Code: -o receive_override_options=no_unknown_recipient_che cks,no_header_body_check as well.