You are not logged in.

#1 2014-08-30 20:25:04

scenox
Member
Registered: 2010-07-19
Posts: 63

[Solved] Postfix change-this-to-your.domain.tld

Hi,
I've installed postfix with postfix admin and dovecot and created a mailbox office@mydomain.com.
This works fine and I can send mails to this address.

But when I try to send a mail to the default aliases as defined in /etc/webapps/postfixAdmin/config.inc.php, for example postmaster@mydomain.com or webmaster@mydomain.com, I receive the following error from mailer-daemon:

Final-Recipient: rfc822; postmaster@change-this-to-your.domain.tld
Action: failed
Status: 5.4.4
Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error
    for name=change-this-to-your.domain.tld type=A: Host not found

So I looked and found the string "change-this-to-your.domain.tld" in the config.inc.php, replaced it with my domain and restarted postfix with systemd, but I keep receiving this error. Is there any other config file where I have to change this or do I have to restart anything else?

Edit:
Solved - the aliases were stored in the database, so I had to change them in the correspondig table (see https://wiki.archlinux.org/index.php/Vi … il_system)

Last edited by scenox (2014-08-30 23:00:35)

Offline

Board footer

Powered by FluxBB