Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th April 2007, 11:53
asyadiqin asyadiqin is offline
Senior Member
 
Join Date: Jul 2006
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
Default Errors Installing Postfix, PostfixAdmin, Courier

Hi. Hope someone can help me fix this.

I've followed the guide "Virtual Users With Postfix, PostfixAdmin, Courier, Mailscanner, ClamAV On CentOS" to install on my server running Fedora Core 5. Postfix seems to be running fine and Postfixadmin installed without any major problem.

However, there is some errors in the /var/log/mailllog and /var/log/messages that I cannot seem to fix.

Whenever I created a mailbox in postfixadmin, I get the following error.
Code:
Apr 26 10:09:43 fh-1 maildrop[902]: Unable to change to home directory.
Apr 26 10:09:43 fh-1 postfix/pipe[857]: 9D9D0FA3F: to=<user1@domain1.com>, relay=maildrop, delay=0, status=deferred (temporary failure. Command output: /usr/bin/maildrop: Unable to change to home directory. )
In /var/log/messages, i keep getting these errors
Code:
Apr 26 10:02:41 fh-1 postfix/smtpd[639]: sql_select option missing
Apr 26 10:02:41 fh-1 postfix/smtpd[639]: auxpropfunc error no mechanism available
Apr 26 10:06:59 fh-1 postfix/smtpd[755]: sql_select option missing
Apr 26 10:06:59 fh-1 postfix/smtpd[755]: auxpropfunc error no mechanism available
Apr 26 10:08:27 fh-1 postfix/smtpd[847]: sql_select option missing
Apr 26 10:08:27 fh-1 postfix/smtpd[847]: auxpropfunc error no mechanism available
Another issue I am having is with the creation of the mailbox. I've followed the guide and created the shell scripts to create and delete the maildir and modified the 4 files in postfixadmin but no maildir was created in /opt/mail/ folder whenever I created a mailbox.

Anyone have any idea? Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 27th April 2007, 14:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

What's in /usr/lib/sasl2/smtpd.conf?
__________________
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 27th April 2007, 17:57
asyadiqin asyadiqin is offline
Senior Member
 
Join Date: Jul 2006
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
What's in /usr/lib/sasl2/smtpd.conf?
Content of /usr/lib/sasl2/smtpd.conf

Code:
pwcheck_method: authdaemond
log_level: 3
mech_list: PLAIN LOGIN
authdaemond_path:/var/spool/authdaemon/socket
Reply With Quote
  #4  
Old 28th April 2007, 19:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by asyadiqin
Content of /usr/lib/sasl2/smtpd.conf

Code:
pwcheck_method: authdaemond
log_level: 3
mech_list: PLAIN LOGIN
authdaemond_path:/var/spool/authdaemon/socket
Please try this instead:

Code:
pwcheck_method: authdaemond
log_level: 3
mech_list: PLAIN LOGIN
authdaemond_path:/var/spool/authdaemon/socket
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: 127.0.0.1
sql_user: mail_admin
sql_passwd: mail_admin_password
sql_database: mail
sql_select: select password from users where email = '%u'
__________________
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
  #5  
Old 29th April 2007, 12:32
asyadiqin asyadiqin is offline
Senior Member
 
Join Date: Jul 2006
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
Please try this instead:

Code:
pwcheck_method: authdaemond
log_level: 3
mech_list: PLAIN LOGIN
authdaemond_path:/var/spool/authdaemon/socket
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: 127.0.0.1
sql_user: mail_admin
sql_passwd: mail_admin_password
sql_database: mail
sql_select: select password from users where email = '%u'
I've made the changes to the smtpd.conf and I don't see the error in /var/log/messages anymore.

However, I still get error in /var/log/maillog

Quote:
Apr 29 11:29:08 fh-1 maildrop[23597]: Unable to change to home directory.
Apr 29 11:29:08 fh-1 postfix/pipe[23596]: 9C056FA53: to=<evelyn@domain1.com>, relay=maildrop, delay=0, status=deferred (temporary failure. Command output: /usr/bin/maildrop: Unable to change to home directory. )
Reply With Quote
  #6  
Old 30th April 2007, 14:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by asyadiqin
However, I still get error in /var/log/maillog
Something seems to be wrong with your maildrop setup. What's evelyn@domain1.com's homedir? Can you post the output of
Code:
ls -la homedir
?
__________________
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
Issues with Postfix using "Virtual Users And Domains With Postfix, Courier And MySQL" Kyse HOWTO-Related Questions 15 6th January 2007 15:35
Upgrade question for "Virtual Users And Domains With Postfix, Courier And MySQL" emresumengen HOWTO-Related Questions 3 1st December 2006 15:33
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
Virtual Users And Domains With Postfix, Courier And MySQL - "apt-get" and Courier burritonator HOWTO-Related Questions 3 15th March 2006 20:11


All times are GMT +2. The time now is 15:58.


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