
27th August 2011, 04:07
|
|
Member
|
|
Join Date: Jul 2009
Posts: 46
Thanks: 2
Thanked 2 Times in 2 Posts
|
|
Postfix courier mysql squirrelmail
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, user=admin@deccom.com, 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
|

27th August 2011, 13:22
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Can you post your /etc/postfix/master.cf?
|

29th August 2011, 16:53
|
|
Member
|
|
Join Date: Jul 2009
Posts: 46
Thanks: 2
Thanked 2 Times in 2 Posts
|
|
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,rej ect
# -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,rej ect
# -o mynetworks=127.0.0.0/8
# -o strict_rfc821_envelopes=yes
# -o receive_override_options=no_unknown_recipient_chec ks,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
Last edited by deco5003; 29th August 2011 at 17:01.
Reason: Add more info
|

30th August 2011, 10:58
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 08:43.
|
|
Recent comments
1 day 6 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 15 hours ago
1 day 19 hours ago
1 day 20 hours ago
1 day 22 hours ago
2 days 11 hours ago
2 days 13 hours ago