![]() |
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. )Thx |
Please install your server exactly as described in the ispconfig 3 perfect setup guide for your linux distribution.
|
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... |
The setting for the mail directory can not be changed, this is not supported. You will have to change it back.
|
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. |
Quote:
Quote:
|
Quote:
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 ) |
Do you chown the file??
# chown -R vmail:vmail /home/vmail |
wouldn't it be simplier to create symlink? like writing
Quote:
|
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.
|
| All times are GMT +2. The time now is 13:02. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.