PDA

View Full Version : Mail received is all redirected to adminispconf@localhost...


badben
11th January 2006, 23:07
I have had a problem with mail received all being redirected to admispconfig@localhost.tidy-hosting.com.

There are no errors on sending mail and the sender of mail to a user on ispconfig thinks all is well, but the message never arrives.

When I checked info in /var/log/mail/info I got when receiving a message.

Jan 11 19:39:28 tidy-hosting postfix/smtpd[22074]: connect from zproxy.gmail.com[64.233.162.192]
Jan 11 19:39:28 tidy-hosting postfix/smtpd[22074]: EABAF164489C: client=zproxy.gmail.com[64.233.162.192]
Jan 11 19:39:29 tidy-hosting postfix/cleanup[22126]: EABAF164489C: message-id=<7325bede0601111139o3acf0fben4075a587012e9def@mail. gmail.com>
Jan 11 19:39:29 tidy-hosting postfix/qmgr[21961]: EABAF164489C: from=<ba.davies@gmail.com>, size=1569, nrcpt=1 (queue active)
Jan 11 19:39:29 tidy-hosting postfix/pickup[26234]: 74D20164531C: uid=10002 from=<davies-geoffrey>
Jan 11 19:39:29 tidy-hosting postfix/cleanup[22126]: 74D20164531C: message-id=<20060111193929.74D20164531C@server1.tidy-hosting.com>
Jan 11 19:39:29 tidy-hosting postfix/qmgr[21961]: 74D20164531C: from=<davies-geoffrey@server1.tidy-hosting.com>, size=412, nrcpt=1 (queue active)
Jan 11 19:39:29 tidy-hosting postfix/local[22165]: 74D20164531C: to=<admispconfig@localhost.tidy-hosting.com>, orig_to=<admispconfig@localhost>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)
Jan 11 19:39:29 tidy-hosting postfix/qmgr[21961]: 74D20164531C: removed

I though it could be a problem with aliases so I checked /etc/postfix/virtusertable which reads:

###################################
admin@www.tidy-hosting.com web1_
web1_@www.tidy-hosting.com web1_
@www.tidy-hosting.com web1_
admin@tidy-hosting.com web1_
web1_@tidy-hosting.com web1_
@tidy-hosting.com web1_
geoff@www.gdtrading.co.uk davies-geoffrey
davies-geoffrey@www.gdtrading.co.uk davies-geoffrey
@www.gdtrading.co.uk davies-geoffrey
geoff@gdtrading.co.uk davies-geoffrey
davies-geoffrey@gdtrading.co.uk davies-geoffrey
@gdtrading.co.uk davies-geoffrey
geoff@slate.gdtrading.co.uk davies-geoffrey
davies-geoffrey@slate.gdtrading.co.uk davies-geoffrey
@slate.gdtrading.co.uk davies-geoffrey
sales@www.gdtrading.co.uk sales_gdtrading
sales_gdtrading@www.gdtrading.co.uk sales_gdtrading
sales@gdtrading.co.uk sales_gdtrading
sales_gdtrading@gdtrading.co.uk sales_gdtrading
sales@slate.gdtrading.co.uk sales_gdtrading
sales_gdtrading@slate.gdtrading.co.uk sales_gdtrading
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####


What can be wrong? I don't know where to look next.

falko
12th January 2006, 02:29
To understand why emails are sent to admispconfig please have a look here:
http://www.howtoforge.com/forums/showthread.php?t=725
http://www.howtoforge.com/forums/showthread.php?t=821

To which email address did you try to send? I don't see it in the log excerpt.

badben
12th January 2006, 12:02
I think the problem was that the maildir box was ticked on the ispconfig web control panel for the accounts.

The emails were sent to both geoff(at)gdtrading.co.uk and admin(at)tidy-hosting.com.

Do you know where these messages will have gone to, if anywhere and if I can post them to the correct accounts somehow.

Tribal-Dolphin
12th January 2006, 12:22
I've a similar problem.

On some account, the mail don't go to /var/www/webx/user/MailDir but in /var/mail/webx_user

till
12th January 2006, 12:44
Please check if the quota for this account is exceeded.

Tribal-Dolphin
12th January 2006, 13:15
Great, it's OK now.
But the mail who are in /var/mail/ xxx stay in it or ISPConfig move it to /var/www/xxx/MailDir ?

till
12th January 2006, 13:26
Have a look at these scripts to convert the emails:

http://www.gerg.ca/hacks/mb2md/
or
http://batleth.sapienti-sat.org/projects/mb2md/

falko
12th January 2006, 13:29
Great, it's OK now.
But the mail who are in /var/mail/ xxx stay in it or ISPConfig move it to /var/www/xxx/MailDir ?
You have to move the mails manually. Tools like mb2md might help you:
http://www.howtoforge.com/forums/showthread.php?t=1432
http://www.howtoforge.com/forums/showthread.php?t=835

falko
12th January 2006, 13:30
The emails were sent to both geoff(at)gdtrading.co.uk and admin(at)tidy-hosting.com.

Do you know where these messages will have gone to, if anywhere and if I can post them to the correct accounts somehow.
Do you have a log excerpt with any of the above mentioned email addresses?