Postfix issue after server migration
#1
Postfix issue after server migration
hello, i hope someone can help me.

i m trying now since days to resolve this issue:

i have this errors in my mail.log

Jun 26 13:02:09 64158 postfix/qmgr[1440]: 6270279C2EE2: from=<root@old.domain.com>, size=928, nrcpt=1 (queue active)
Jun 26 13:02:09 64158 postfix/qmgr[1440]: 6EA1882C368B: from=<root@old.domain.com>, size=928, nrcpt=1 (queue active)
Jun 26 13:02:09 64158 postfix/error[2226]: D2B7472C36C9: to=<root@old.domain.com>, relay=none, delay=239371, delays=239371/0.11/0/0, dsn=4.0.0, status=deferred (delivery temporarily suspended: mail for old.domain.com loops back to myself)
Jun 26 13:02:09 64158 postfix/error[2226]: warning: defer_append: ignoring dsn code "5.4.6"
Jun 26 13:02:09 64158 postfix/error[2226]: D7B1932C3698: to=<root@old.domain.com>, relay=none, delay=256507, delays=256507/0.11/0/0, dsn=4.0.0, status=deferred (delivery temporarily suspended: mail for old.domain.com loops back to myself)

BUT

my new host domain ist new.domain.com ( old. domain.com dont exists anymore, server is down and DNS record removed)

i checked main.cf and master.cf and there is the actual hostname in it.

i used dpkg-reconfigure postfix without configuration and the problem is still there.

i have the old hostname in my mail.log still there.

sending and reveiving mail works fine.

i m using amavis and clamav and everything works good.

How can i fix that? Thank you
#2
RE: Postfix issue after server migration
What migration ? Changing domains?

Check DNS again and again? Which DNS resolvers are you using?

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
#3
RE: Postfix issue after server migration
yeah Smile i found the problem:

i had mails in postfix queue

this commands fixed that:

postqueue -p

postqueue -p | tail -n +2 | awk 'BEGIN { RS = "" } / mail@domain\.net/ { print $1 }' | tr -d '*!' | postsuper -d -


Possibly Related Threads…
Thread Author Replies Views Last Post
user: 'postfix' host: 'localhost' (Got an error reading communication packets) cezars 0 3 ,352 02-01-2022, 08:58 PM
Last Post: cezars
External mail client cannot connect to server iraqiboy90 2 8 ,202 02-28-2021, 11:34 AM
Last Post: iraqiboy90
Postfix mail.log to database stikekar 2 9 ,708 03-02-2019, 01:22 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)