ispCP - Board - Support
Problems with Mailserver - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Problems with Mailserver (/thread-7477.html)



Problems with Mailserver - Rj01 - 08-13-2009 01:20 AM

Hi @ all.

I messed up my /var/mail directory.
I think i have set the wrong rights/owner/group.
I tried a lot but i cant fix it.
Thanks in adavanced.

Heres the syslog:

Code:
Aug 12 17:17:55 dawn imapd: Connection, ip=[::ffff:91.114.225.183]
Aug 12 17:17:55 dawn imapd: admin@webshoxx.net: chdir(/var/mail/virtual/webshoxx.net/admin) failed!!
Aug 12 17:17:55 dawn imapd: error: Permission denied
Aug 12 17:17:55 dawn imapd: LOGIN FAILED, user=admin@webshoxx.net, ip=[::ffff:91.114.225.183]
Aug 12 17:17:55 dawn imapd: authentication error: Permission denied
Aug 12 17:18:01 dawn imapd: Connection, ip=[::ffff:91.114.225.183]
Aug 12 17:18:01 dawn imapd: admin@webshoxx.net: chdir(/var/mail/virtual/webshoxx.net/admin) failed!!
Aug 12 17:18:01 dawn imapd: error: Permission denied
Aug 12 17:18:01 dawn imapd: LOGIN FAILED, user=admin@webshoxx.net, ip=[::ffff:91.114.225.183]
Aug 12 17:18:01 dawn imapd: authentication error: Permission denied
Aug 12 17:18:04 dawn imapd: Connection, ip=[::ffff:91.114.225.183]
Aug 12 17:18:04 dawn imapd: admin@webshoxx.net: chdir(/var/mail/virtual/webshoxx.net/admin) failed!!
Aug 12 17:18:04 dawn imapd: error: Permission denied
Aug 12 17:18:04 dawn imapd: LOGIN FAILED, user=admin@webshoxx.net, ip=[::ffff:91.114.225.183]
Aug 12 17:18:04 dawn imapd: authentication error: Permission denied

Here my rights
Code:
insgesamt 24
drw-rw-rw- 6 mail mail 4096 12. Aug 15:48 .
drw-rw-rw- 3 mail mail 4096 12. Aug 13:36 ..
drw-rw-rw- 9 mail mail 4096 12. Aug 15:59 admin
drw-rw-rw- 5 mail mail 4096 12. Aug 15:48 office
drw-rw-rw- 5 mail mail 4096 12. Aug 15:48 ralph.doerflinger
drw-rw-rw- 9 mail mail 4096 12. Aug 15:44 ryu



RE: Problems with Mailserver - urug - 08-13-2009 01:57 AM

Probably the owner of directories should be 'vmail'. Check in /etc/ispcp/ispcp.conf, or

Code:
postconf virtual_uid_maps



RE: Problems with Mailserver - MasterTH - 08-13-2009 02:12 AM

try to reconfigure postfix

Code:
dpkg-reconfigure postfix

this should check the permissions of the /var/mail too.