Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th August 2011, 05:07
deco5003 deco5003 is offline
Member
 
Join Date: Jul 2009
Posts: 46
Thanks: 2
Thanked 2 Times in 2 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 27th August 2011, 14:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Can you post your /etc/postfix/master.cf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 29th August 2011, 17:53
deco5003 deco5003 is offline
Member
 
Join Date: Jul 2009
Posts: 46
Thanks: 2
Thanked 2 Times in 2 Posts
Default 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 18:01. Reason: Add more info
Reply With Quote
  #4  
Old 30th August 2011, 11:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Fedo stargazerdood HOWTO-Related Questions 1 27th December 2010 05:36
dovecot: lda: Fatal: Unknown user dpicella Installation/Configuration 1 22nd August 2010 03:59
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 9.10) keyslapper HOWTO-Related Questions 4 20th April 2010 16:46
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 14:58
Can I use procmail+Virtual Users & Domains w/ Postfix, Courier, MySQL & Squirrelmail? brianwc HOWTO-Related Questions 1 3rd May 2009 18:04


All times are GMT +2. The time now is 03:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.