View Single Post
  #3  
Old 28th September 2008, 13:40
cat cat is offline
Member
 
Join Date: Sep 2008
Location: Australia
Posts: 40
Thanks: 9
Thanked 3 Times in 3 Posts
Default email address remapping?

Thanks for your reply Ben.
Your response solved the www-data problem.

However the problem with the internal emails (emails sent to other mail boxes on the same server) persists. Eg no email arrives. This happens whether you send a mail form squirrelmail or a php page, and the error messages are the same.

Having a look at the mail.log file the lost mail is trying to go to web1_username@mail.hostserver.hostdomain.com.

The host serverís fqdn is hostserver.hostdomain.com the site fqun is mydomain.com

Any ideas how to fix this problem.

###################################
#
# ISPConfig virtusertable Configuration File
# Version 1.0
#
###################################
username@www.otherdomain.com web1_username
web1_username@www.otherdomain.com web1_username
username@otherdomain.com web1_username
web1_username@otherdomain.com web1_username
franchising@www.mydomain.com web2_username
links@www.mydomain.com web2_username
username@www.mydomain.com web2_username
web2_username@www.mydomain.com web2_username
franchising@mydomain.com web2_username
links@mydomain.com web2_username
username@mydomain.com web2_username
web2_username@mydomain.com web2_username
sales@www.mydomain.com web2_sales
web2_sales@www.mydomain.com web2_sales
sales@mydomain.com web2_sales
web2_sales@mydomain.com web2_sales

mail.log

Sep 28 17:13:23 hostserver postfix/smtpd[9057]: connect from localhost[127.0.0.1]
Sep 28 17:13:23 hostserver postfix/smtpd[9057]: C592F183AB: client=localhost[127.0.0.1]
Sep 28 17:13:23 hostserver postfix/cleanup[9060]: C592F183AB: message-id=<3978.192.168.0.2.1222593203.squirrel@hostserve r.hostdomain.com>
Sep 28 17:13:23 hostserver postfix/qmgr[7164]: C592F183AB: from=<username@mydomain.com>, size=757, nrcpt=1 (queue active)
Sep 28 17:13:23 hostserver imapd: Connection, ip=[::ffff:127.0.0.1]
Sep 28 17:13:23 hostserver postfix/smtpd[9057]: disconnect from localhost[127.0.0.1]
Sep 28 17:13:23 hostserver postfix/smtp[9061]: C592F183AB: to=<web1_username@mail.hostserver.hostdomain.com>, orig_to=<username@otherdomain.com>, relay=none, delay=0.17, delays=0.08/0.09/0.01/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=mail.hostserver.hostdomain.com type=AAAA: Host not found)
Sep 28 17:13:23 hostserver postfix/cleanup[9060]: F10DE186C0: message-id=<20080928091323.F10DE186C0@hostserver.hostdomai n.com>
Sep 28 17:13:24 hostserver postfix/qmgr[7164]: F10DE186C0: from=<>, size=2943, nrcpt=1 (queue active)
Sep 28 17:13:24 hostserver postfix/bounce[9064]: C592F183AB: sender non-delivery notification: F10DE186C0
Sep 28 17:13:24 hostserver postfix/qmgr[7164]: C592F183AB: removed
Sep 28 17:13:24 hostserver postfix/smtp[9061]: F10DE186C0: to=<web2_username@mail.hostserver.hostdomain.com>, orig_to=<username@mydomain.com>, relay=none, delay=0.04, delays=0.03/0.01/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=mail.hostserver.hostdomain.com type=AAAA: Host not found)
Sep 28 17:13:24 hostserver postfix/qmgr[7164]: F10DE186C0: removed
Sep 28 17:13:24 hostserver imapd: LOGIN, user=web2_username, ip=[::ffff:127.0.0.1], port=[57396], protocol=IMAP
Sep 28 17:13:24 hostserver imapd: LOGOUT, user=web2_username, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=647, sent=204, time=0
Sep 28 17:13:24 hostserver imapd: Connection, ip=[::ffff:127.0.0.1]
Sep 28 17:13:24 hostserver imapd: LOGIN, user=web2_username, ip=[::ffff:127.0.0.1], port=[57397], protocol=IMAP
Sep 28 17:13:24 hostserver imapd: LOGOUT, user=web2_username, ip=[::ffff:127.0.0.1], headers=524, body=0, rcvd=232, sent=2098, time=0
Reply With Quote