The old domain had its name changed from old.com to new.com
All mailboxes were deleted.
Now, when trying to send an Email from the server (command line. Either ‘mail’ or ‘mutt’), to user@old.com the message is not being sent, and this is the /var/log/maillog for the relevant message:
Oct 1 10:00:00 hostname postfix/pickup[29993]: 58714D08F: uid=0 from=<root>
Oct 1 10:00:00 hostname postfix/cleanup[29998]: 58714D08F: message-id=<20111009112637.58714D08F@server.com>
Oct 1 10:00:00 hostname postfix/qmgr[29994]: 58714D08F: from=<root@server.com>, size=24502, nrcpt=1 (queue active)
Oct 1 10:00:00 hostname postfix/error[30000]: 58714D08F: to=<user@old.com>, relay=none, delay=0.05, delays=0.03/0.01/0/0.01, dsn=5.0.0, status=bounced (User unknown in virtual alias table)
Oct 1 10:00:00 hostname postfix/cleanup[29998]: 5FEF6D0AC: message-id=<20111009112637.5FEF6D0AC@server.com>
Oct 1 10:00:00 hostname postfix/qmgr[29994]: 5FEF6D0AC: from=<>, size=26219, nrcpt=1 (queue active)
Oct 1 10:00:00 hostname postfix/bounce[30001]: 58714D08F: sender non-delivery notification: 5FEF6D0AC
Oct 1 10:00:00 hostname postfix/qmgr[29994]: 58714D08F: removed
Oct 1 10:00:00 hostname postfix/local[30002]: 5FEF6D0AC: to=<root@server.com>, relay=local, delay=0.05, delays=0.01/0.01/0/0.04, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Oct 1 10:00:00 hostname postfix/qmgr[29994]: 5FEF6D0AC: removed
Sending mails to an outside address has no problems.
The thing is, that the user@old.com should also be considered as an outside address, and it doesn’t.
Some additional data:
hostname:
hostname.com (IE: not old.com and not new.com)
mydestination = $myhostname, localhost.$mydomain
(I tried even removing this line, or manually changing it, but the errors remain.)
The old.com domain name is located on a different server, with a different IP address.
Is there any idea regarding a possible solution or at least other examinations directions?
Thanks!