This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

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
Thanks given by:
#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
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Thanks given by:
#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 -
Thanks given by:


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

Forum Jump:


Users browsing this thread: 1 Guest(s)