I am setting up a mail server: Dovecot and Postfix with MySQL support and Postfixadmin. Spend literally all day trying to figure it out, but I'm still unable to neither send nor receive any emails.
To my knowledge, I have configured everything correctly, so either there is another problem, or my knowledge isn't good enough. Here is what I get when I use "echo test | mail
[email protected]:"
Jul 11 00:41:07 server postfix/pickup[17999]: 5B0D32AE1B: uid=0 from=
Jul 11 00:41:07 server postfix/cleanup[19444]: 5B0D32AE1B: message-id=<
[email protected]
Jul 11 00:41:07 server postfix/qmgr[18513]: 5B0D32AE1B: from=, size=329, nrcpt=1 (queue active)
Jul 11 00:41:12 server postfix/smtp[19448]: 5B0D32AE1B: to=, relay=none, delay=5.3, delays=0.1/0.01/5.2/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=dsa.com type=MX: Host not found, try again)
*@mail.asd.com is changed for privacy reasons, same goes for
[email protected].
*The bold text is where it, for some reason, prints out dsa.com - even though I haven't found it anywhere
in the files which I've edited during
the installation, nor my DNS is .com
in the first place.
Here is what I get when I try to send out an email from Postfix Admin interface:
Jul 11 00:49:08 server postfix/smtpd[19479]: connect from localhost[127.0.0.1]
Jul 11 00:49:08 server postfix/trivial-rewrite[19484]: warning: do not list domain asd.com
in BOTH mydestination and virtual_mailbox_domains
Jul 11 00:49:08 server postfix/smtpd[19479]: 4F7892AE1E: client=localhost[127.0.0.1]
Jul 11 00:49:08 server postfix/cleanup[19487]: 4F7892AE1E: message-id=<
[email protected]
Jul 11 00:49:08 server postfix/qmgr[18513]: 4F7892AE1E: from=, size=317, nrcpt=1 (queue active)
Jul 11 00:49:08 server postfix/smtpd[19479]: disconnect from localhost[127.0.0.1]
Jul 11 00:49:10 server postfix/smtpd[19492]: connect from localhost[127.0.0.1]
Jul 11 00:49:10 server postfix/trivial-rewrite[19484]: warning: do not list domain asd.com
in BOTH mydestination and virtual_mailbox_domains
Jul 11 00:49:10 server postfix/smtpd[19492]: 743AE2AE1F: client=localhost[127.0.0.1]
Jul 11 00:49:10 server postfix/cleanup[19487]: 743AE2AE1F: message-id=<
[email protected]
Jul 11 00:49:10 server postfix/qmgr[18513]: 743AE2AE1F: from=, size=772, nrcpt=1 (queue active)
Jul 11 00:49:10 server postfix/smtpd[19492]: disconnect from localhost[127.0.0.1]
Jul 11 00:49:10 server amavis[13437]: (13437-11) Passed CLEAN, LOCAL [127.0.0.1] - , Message-ID: <
[email protected], mail_id: 86+KQY93ANel, Hits: -0.002, size: 317, queued_as: 743AE2AE1F, 2145 ms
Jul 11 00:49:10 server postfix/smtp[19489]: 4F7892AE1E: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=2.3, delays=0.17/0.01/0/2.1, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 743AE2AE1F)
Jul 11 00:49:10 server postfix/qmgr[18513]: 4F7892AE1E: removed
I really don't know what might be
the problem... If you need to know something, feel free to ask and I'll clarify something.