#1  
Old 16th June 2009, 19:43
gring gring is offline
Member
 
Join Date: Mar 2009
Posts: 46
Thanks: 2
Thanked 3 Times in 3 Posts
Default Maildrop problem

Hi,

I tried to reinstall ispconfig with courier, and now I can't receive mails. Imap authentification works, but when I check in /var/log/mail.log, I get this:

Code:
Jun 16 19:33:42 hostname postfix/pipe[1807]: 9EC7169CC: to=<user@domain.tld>, relay=maildrop, delay=2398, delays=2398/0.04/0/0.01, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/bin/maildrop: Unable to change to home directory. )
What am I missing? The Maildir directories exist and have the good owner (vmail:vmail) and rights.
Thx
Reply With Quote
Sponsored Links
  #2  
Old 17th June 2009, 09:03
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

Please install your server exactly as described in the ispconfig 3 perfect setup guide for your linux distribution.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 17th June 2009, 18:43
gring gring is offline
Member
 
Join Date: Mar 2009
Posts: 46
Thanks: 2
Thanked 3 Times in 3 Posts
Default

I Did.

I reinstalled again, it seems the bug occurs when using ispconfig's system->serverconfig->mail panel to change directories (changed /var/vmail to /home/vmail, as it is on a different partition).
The imap server reads the files from the new location, but it seems maildrop still wants to put them in /var/vmail

I tried to change vmail user's home directory, but it doesn't work...
Reply With Quote
  #4  
Old 17th June 2009, 18:44
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

The setting for the mail directory can not be changed, this is not supported. You will have to change it back.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 17th June 2009, 19:32
gring gring is offline
Member
 
Join Date: Mar 2009
Posts: 46
Thanks: 2
Thanked 3 Times in 3 Posts
Default

I don't have room on the system partition, what should I do then? And why is the mail folder editable in ispconfig's interface if you can't change it?

edit: It seems to work now, but when I send mail to mailboxes that doesn't exit, the Maildir folders are created.
Reply With Quote
  #6  
Old 17th June 2009, 21:16
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

Quote:
I don't have room on the system partition, what should I do then?
Repartition your system.

Quote:
edit: It seems to work now, but when I send mail to mailboxes that doesn't exit, the Maildir folders are created.
No, it will not work properly.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 17th June 2009, 23:15
gring gring is offline
Member
 
Join Date: Mar 2009
Posts: 46
Thanks: 2
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by till View Post
Repartition your system.
I'd love to, but webservers are not often computers you own and keep in your room

I read maildrop's documentation here, and it is told in the delivery mode section that maildrop will look into vmail user's home directory.

Now, I'm reading the .mailfilter file created by ispconfig, and it seems it simply creates the maildir if it doesn't exist.

Which program checks if the user exists? It is Postfix, before giving it to maildrop (but why would Postfix be affected by vmail's directory location ?), or is there an authentification mechanism in maildrop that connects to the database?

( also changed /etc/postfix/main.cf virtual_mailbox_base to /home/vmail )

Last edited by gring; 18th June 2009 at 02:45.
Reply With Quote
  #8  
Old 18th June 2009, 03:35
fhawk fhawk is offline
Member
 
Join Date: Mar 2009
Posts: 39
Thanks: 2
Thanked 11 Times in 9 Posts
Default

Do you chown the file??

# chown -R vmail:vmail /home/vmail
Reply With Quote
  #9  
Old 18th June 2009, 07:33
vikmur vikmur is offline
Junior Member
 
Join Date: Jun 2009
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default

wouldn't it be simplier to create symlink? like writing
Quote:
#: ln -s /home/vmail /var/vmail
Reply With Quote
  #10  
Old 18th June 2009, 09:51
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
 
Default

Postfix will not accept emails for any non existing users in a default ispconfig setup, maybe you changed something there or you configured postfix before you installed ispconfig for a different setup.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 14:15
saslauthd problem: bind: Address already in use fitti70 Server Operation 4 14th May 2007 21:51
postfix mysql on fedora core5 igongora Installation/Configuration 7 17th April 2007 04:40
postfix+mysql and maildrop filter problem osanet Installation/Configuration 1 2nd June 2006 11:50
SMTP TLS Problem with Mail Client dschmid Installation/Configuration 1 9th December 2005 01:56


All times are GMT +2. The time now is 18:41.


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