Errors with domain mail + forward with RC5 [Solved] - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: Errors with domain mail + forward with RC5 [Solved] (/thread-3486.html) |
Errors with domain mail + forward with RC5 [Solved] - aseques - 06-09-2008 08:46 PM Hi, I'm using rev 1204, and after a clean install I'm getting a postfix error when sending a mail to an address that it's both a domain address and a forward. The expected behavior would be that the mail gets delivered to both. It only gets delivered to the forwarded address and there's a message back from postfix telling that the mailbox doesn't exist <testing@example.com>: user unknown" Should I open a ticket? Just in case, I'm sitting at #ispcp (how lonely it is ) (Update) I updated the wiki to install dovecot with the changes for this problem. You can see it at: http://www.isp-control.net/documentation/howto/mail/replace_courier_with_dovecot RE: Errors with domain mail + forward with RC5 - vetch101 - 06-22-2008 05:31 PM aseques Wrote:Hi, I'm using rev 1204, and after a clean install I'm getting a postfix error when sending a mail to an address that it's both a domain address and a forward. Hi, I'm getting the same problem... ... On only one of my domains... I checked the database, mail users had mail type: "normal_mail,normal_f..." ... and displayed as Account Type - Domain Mail Unknown Type in the front end... I tried updating the mail type to normal_mail,normal_forward that was the way one of them was working in another domain, changing status to change and running ispcp-rqst-mgr... I managed to get it to forward the emails, but I'm still getting bounces, and the emails aren't entering the mailboxes of the users... I tried creating an altogether new user on the same domain, but I had the same problem. Does anyone have any suggestions? Cheers, Jx RE: Errors with domain mail + forward with RC5 - vetch101 - 06-22-2008 05:51 PM Hi all, If it helps, I've attached mail logs - with usernames and ipaddresses removed to protect the guilty.... It looks like mail@ispcpmailserver.co.uk and random@ispcpmailserver.co.uk are being forwarded to "status=sent (delivered to command: procmail -a "$EXTENSION")" - which is right, since mail is the catch all... However, it doesn't actually go into the mailbox... Could this be related to "warning: do not list domain ispcpmailserver.co.uk in BOTH mydestination and virtual_mailbox_domains"? temp@ispcpmailserver.co.uk is a new account - it is being correctly forwarded, but still being bounced. user@ispcpmailserver.co.uk is an existing account which is just being bounced... postfix/smtpd[16102]: 94FBB201830C: client=smarthost.smarthost.com[1x.1x.1x.1x] Jun 22 08:26:44 Linux postfix/cleanup[16105]: 94FBB201830C: message-id=<AFCE2E969958C644A31AB275DDCF1071C5C907@primary.xxx.local> Jun 22 08:26:44 Linux postfix/qmgr[23685]: 94FBB201830C: from=<user@sendingmailserver.co.uk>, size=11082, nrcpt=1 (queue active) Jun 22 08:26:44 Linux postfix/trivial-rewrite[16104]: warning: do not list domain ispcpmailserver.co.uk in BOTH mydestination and virtual_mailbox_domains Jun 22 08:26:44 Linux postfix/smtpd[16102]: disconnect from smarthost.smarthost.com[1x.1x.1x.1x] Jun 22 08:26:44 Linux postfix/local[16107]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled Jun 22 08:26:44 Linux postfix/local[16107]: 94FBB201830C: to=<user@ispcpmailserver.co.uk>, relay=local, delay=0.36, delays=0.27/0.01/0/0.09, dsn=5.1.1, status=bounced (unknown user: "user") Jun 22 08:26:44 Linux postfix/cleanup[16105]: D35652018373: message-id=<20080622072644.D35652018373@ispcpmailserver.co.uk> Jun 22 08:26:44 Linux postfix/bounce[16108]: 94FBB201830C: sender non-delivery notification: D35652018373 Jun 22 08:26:44 Linux postfix/qmgr[23685]: D35652018373: from=<>, size=12874, nrcpt=1 (queue active) Jun 22 08:26:45 Linux postfix/qmgr[23685]: 94FBB201830C: removed Jun 22 08:26:45 Linux postfix/smtp[16109]: D35652018373: to=<user@sendingmailserver.co.uk>, relay=mail.sendingmailserver.co.uk[1x.1x.1x.1x]:25, delay=0.59, delays=0.03/0.09/0.23/0.24, dsn=2.0.0, status=sent (250 Ok: queued as 51253720503) Jun 22 08:26:45 Linux postfix/qmgr[23685]: D35652018373: removed Jun 22 08:27:42 Linux postfix/smtpd[16102]: connect from smarthost.smarthost.com[1x.1x.1x.1x] Jun 22 08:27:42 Linux postfix/trivial-rewrite[16104]: warning: do not list domain ispcpmailserver.co.uk in BOTH mydestination and virtual_mailbox_domains Jun 22 08:27:42 Linux postfix/smtpd[16102]: 1B800201830C: client=smarthost.smarthost.com[1x.1x.1x.1x] Jun 22 08:27:42 Linux postfix/cleanup[16105]: 1B800201830C: message-id=<AFCE2E969958C644A31AB275DDCF1071C5C908@primary.xxx.local> Jun 22 08:27:42 Linux postfix/qmgr[23685]: 1B800201830C: from=<user@sendingmailserver.co.uk>, size=11064, nrcpt=1 (queue active) Jun 22 08:27:42 Linux postfix/trivial-rewrite[16104]: warning: do not list domain ispcpmailserver.co.uk in BOTH mydestination and virtual_mailbox_domains Jun 22 08:27:42 Linux postfix/smtpd[16102]: disconnect from smarthost.smarthost.com[1x.1x.1x.1x] Jun 22 08:27:42 Linux postfix/local[16107]: 1B800201830C: to=<mail@ispcpmailserver.co.uk>, relay=local, delay=0.21, delays=0.18/0/0/0.03, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION") Jun 22 08:27:42 Linux postfix/qmgr[23685]: 1B800201830C: removed Jun 22 08:28:52 Linux postfix/smtpd[16102]: connect from smarthost.smarthost.com[1x.1x.1x.1x] Jun 22 08:28:52 Linux postfix/trivial-rewrite[16104]: warning: do not list domain ispcpmailserver.co.uk in BOTH mydestination and virtual_mailbox_domains Jun 22 08:28:53 Linux postfix/smtpd[16102]: 06D9B201830C: client=smarthost.smarthost.com[1x.1x.1x.1x] Jun 22 08:28:53 Linux postfix/cleanup[16105]: 06D9B201830C: message-id=<AFCE2E969958C644A31AB275DDCF1071C5C909@primary.xxx.local> Jun 22 08:28:53 Linux postfix/qmgr[23685]: 06D9B201830C: from=<user@sendingmailserver.co.uk>, size=11074, nrcpt=1 (queue active) Jun 22 08:28:53 Linux postfix/smtpd[16102]: disconnect from smarthost.smarthost.com[1x.1x.1x.1x] Jun 22 08:28:53 Linux postfix/local[16107]: 06D9B201830C: to=<mail@ispcpmailserver.co.uk.local>, orig_to=<random@ispcpmailserver.co.uk>, relay=local, delay=0.17, delays=0.13/0/0/0.04, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION") Jun 22 08:28:53 Linux postfix/qmgr[23685]: 06D9B201830C: removed Jun 22 08:29:17 Linux couriertcpd: Connection, ip=[::ffff:127.0.0.1] Jun 22 08:29:17 Linux couriertcpd: LOGIN: ip=[::ffff:127.0.0.1], command=LOGIN Jun 22 08:29:17 Linux couriertcpd: LOGIN: ip=[::ffff:127.0.0.1], username=temp@ispcpmailserver.co.uk Jun 22 08:29:17 Linux couriertcpd: LOGIN, user=temp@ispcpmailserver.co.uk, ip=[::ffff:127.0.0.1], protocol=IMAP Jun 22 08:29:17 Linux couriertcpd: LOGOUT, user=temp@ispcpmailserver.co.uk, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0 Jun 22 08:29:17 Linux couriertcpd: Connection, ip=[::ffff:127.0.0.1] Jun 22 08:29:17 Linux couriertcpd: LOGIN: ip=[::ffff:127.0.0.1], command=LOGIN Jun 22 08:29:17 Linux couriertcpd: LOGIN: ip=[::ffff:127.0.0.1], username=temp@ispcpmailserver.co.uk Jun 22 08:29:17 Linux couriertcpd: LOGIN, user=temp@ispcpmailserver.co.uk, ip=[::ffff:127.0.0.1], protocol=IMAP Jun 22 08:29:17 Linux couriertcpd: LOGOUT, user=temp@ispcpmailserver.co.uk, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0 Jun 22 08:29:48 Linux postfix/smtpd[16102]: connect from smarthost.smarthost.com[1x.1x.1x.1x] Jun 22 08:29:48 Linux postfix/trivial-rewrite[16104]: warning: do not list domain ispcpmailserver.co.uk in BOTH mydestination and virtual_mailbox_domains Jun 22 08:29:48 Linux postfix/smtpd[16102]: 6A44A201830C: client=smarthost.smarthost.com[1x.1x.1x.1x] Jun 22 08:29:48 Linux postfix/cleanup[16105]: 6A44A201830C: message-id=<AFCE2E969958C644A31AB275DDCF1071C5C90A@primary.xxx.local> Jun 22 08:29:48 Linux postfix/qmgr[23685]: 6A44A201830C: from=<user@sendingmailserver.co.uk>, size=11064, nrcpt=2 (queue active) Jun 22 08:29:48 Linux postfix/trivial-rewrite[16104]: warning: do not list domain ispcpmailserver.co.uk in BOTH mydestination and virtual_mailbox_domains Jun 22 08:29:48 Linux postfix/smtpd[16102]: disconnect from smarthost.smarthost.com[1x.1x.1x.1x] Jun 22 08:29:48 Linux postfix/local[16107]: 6A44A201830C: to=<temp@ispcpmailserver.co.uk>, relay=local, delay=0.14, delays=0.08/0/0/0.06, dsn=5.1.1, status=bounced (unknown user: "temp") Jun 22 08:29:49 Linux postfix/smtp[16241]: 6A44A201830C: to=<user@googlemail.com>, orig_to=<temp@ispcpmailserver.co.uk>, relay=gmail-smtp-in.l.google.com[216.239.59.27]:25, delay=1, delays=0.08/0.01/0.05/0.86, dsn=2.0.0, status=sent (250 2.0.0 OK 1214120064 u14si5524974gvf.6) Jun 22 08:29:49 Linux postfix/cleanup[16105]: 5BC862018373: message-id=<20080622072949.5BC862018373@ispcpmailserver.co.uk> Jun 22 08:29:49 Linux postfix/bounce[16242]: 6A44A201830C: sender non-delivery notification: 5BC862018373 Jun 22 08:29:49 Linux postfix/qmgr[23685]: 5BC862018373: from=<>, size=12851, nrcpt=1 (queue active) Jun 22 08:29:49 Linux postfix/qmgr[23685]: 6A44A201830C: removed Jun 22 08:29:49 Linux postfix/smtp[16241]: 5BC862018373: to=<user@sendingmailserver.co.uk>, relay=mail.sendingmailserver.co.uk[1x.1x.1x.1x]:25, delay=0.19, delays=0.01/0/0.06/0.11, dsn=2.0.0, status=sent (250 Ok: queued as 6A3ED720503) Jun 22 08:29:49 Linux postfix/qmgr[23685]: 5BC862018373: removed RE: Errors with domain mail + forward with RC5 - vetch101 - 06-22-2008 06:26 PM Hi, Ok - I think I've resolved it... I had the hostname as "ispcpmailserver.co.uk" and a virtual domain as ispcpmailserver.co.uk... I set the myhostname in the main.cf to be vps.ispcpmailserver.co.uk, restarted postfix and everything started working... Thanks all, Jx |