PDA

View Full Version : Postfix / Procmail does not deliver to right local location


daFritz84
27th September 2008, 00:38
Hi all,

I've setup ispconfig on a CentOS 4.7 System and I'm using postfix as my email server. All seems fine so far since I can send and receive emails.

I believe that the emails are stored in a wrong maildir since I cannot see them in UebiMiau Webmail or in a local mail client, but I see them on my harddrive. :confused:

Any clue how comes that?
If you need to have some further insights in my configuration, let me know ...

some part of my maillog:
Sep 26 23:13:31 root86 postfix/smtpd[27042]: connect from mail.gmx.net[213.165.64.20]
Sep 26 23:13:31 root86 postfix/smtpd[27042]: 32E70808A: client=mail.gmx.net[213.165.64.20]
Sep 26 23:13:31 root86 postfix/cleanup[27047]: 32E70808A: message-id=<48DD507A.9020605@gmx.at>
Sep 26 23:13:31 root86 postfix/qmgr[27039]: 32E70808A: from=<_obfuscatedaddress_>, size=1248, nrcpt=1 (queue active)
Sep 26 23:13:31 root86 postfix/smtpd[27042]: disconnect from mail.gmx.net[213.165.64.20]
Sep 26 23:13:31 root86 sendmail[27053]: m8QLDVAt027053: from=stefan.seifried, size=127, class=0, nrcpts=1, msgid=<200809262113.m8QLDVAt027053@root86.localdomain>, relay=stefan.seifried@localhost
Sep 26 23:13:31 root86 postfix/smtpd[27042]: connect from localhost[127.0.0.1]
Sep 26 23:13:31 root86 postfix/smtpd[27042]: setting up TLS connection from localhost[127.0.0.1]
Sep 26 23:13:31 root86 postfix/smtpd[27042]: TLS connection established from localhost[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Sep 26 23:13:31 root86 sendmail[27053]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Sep 26 23:13:31 root86 postfix/smtpd[27042]: 8AB668244: client=localhost[127.0.0.1]
Sep 26 23:13:31 root86 postfix/cleanup[27047]: 8AB668244: message-id=<200809262113.m8QLDVAt027053@root86.localdomain>
Sep 26 23:13:31 root86 postfix/qmgr[27039]: 8AB668244: from=<stefan.seifried@root86.localdomain>, size=761, nrcpt=1 (queue active)
Sep 26 23:13:31 root86 sendmail[27053]: m8QLDVAt027053: to=admispconfig@localhost.localdomain, ctladdr=stefan.seifried (10006/10005), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30127, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 8AB668244)
Sep 26 23:13:31 root86 postfix/smtpd[27042]: disconnect from localhost[127.0.0.1]
Sep 26 23:13:31 root86 postfix/local[27048]: 32E70808A: to=<stefn.seifried_at_fakedomain.at>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)
Sep 26 23:13:31 root86 postfix/qmgr[27039]: 32E70808A: removed
Sep 26 23:13:31 root86 postfix/local[27056]: 8AB668244: to=<admispconfig@root86.localdomain>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)
Sep 26 23:13:31 root86 postfix/qmgr[27039]: 8AB668244: removed
Sep 26 23:14:28 root86 dovecot: pop3-login: Login: user=<stefan.seifried>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Sep 26 23:14:28 root86 dovecot: POP3(stefan.seifried): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Sep 26 23:14:34 root86 dovecot: pop3-login: Login: user=<stefan.seifried>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Sep 26 23:14:34 root86 dovecot: POP3(stefan.seifried): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Sep 26 23:16:51 root86 postfix/anvil[27045]: statistics: max connection rate 1/60s for (smtp:213.165.64.20) at Sep 26 23:13:31
Sep 26 23:16:51 root86 postfix/anvil[27045]: statistics: max connection count 1 for (smtp:213.165.64.20) at Sep 26 23:13:31
Sep 26 23:16:51 root86 postfix/anvil[27045]: statistics: max cache size 1 at Sep 26 23:13:31
Sep 26 23:20:12 root86 dovecot: pop3-login: Login: user=<stefan.seifried>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Sep 26 23:20:12 root86 dovecot: POP3(stefan.seifried): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Sep 26 23:22:12 root86 dovecot: imap-login: Login: user=<stefan.seifried>, method=PLAIN, rip=xx.xx.xx.xx, lip=xx.xx.xx.xx

till
27th September 2008, 10:56
Please enable the maildir checkbox under management > server > settings in ispconfig.

daFritz84
27th September 2008, 12:21
Hi Till,

I already enabled the checkbox. And the mail is delivered to the location stated in /etc/passwd. But I think the user directory path's are rather strange.

e.g.:
stefan.seifried:x:10006:10005:Stefan Seifried:/home/tmp/install_ispconfig/web5:/bin/false

For your information /home/tmp/install_ispconfig was my directory for installation. But if I follow the path I can find my email in there.

Any ideas why ispconfig uses that path when entering the mail users in my /etc/passwd?

Thanks,
Stefan

till
27th September 2008, 12:28
This path is indeed starnge. Did you install ISPConfig with its installer or did you installed the sql dump manually?

daFritz84
27th September 2008, 12:40
I used the installer. I prepared my system according to the tutorial for centos 4.6 since 4.7 was not available.

The root server itself I'm preparing was originally delivered with CentOS 4.7 and BlueQuartz. But I wiped off BlueQuartz since it is discontinued for some time now :rolleyes:.

daFritz84
27th September 2008, 19:10
Hi, I resolved the problem by editing the dovecot mail_location property to point to the right place. However since I find the used directories very strange I did a clean reinstallatio and now I have also more convenient pathes.

Thanks, for your help attempts Till