Hey guys,
I set up my postfix like this:
/etc/postfix/main.cf
Code:
myhostname = mail.domain.de
mydomain = domain.de.local
I first wanted to have
domain.de as
mydomain, but this doesn't work because domain.de is also an ispCP Account and postfix complains about this double entry.
(I made a post here about this, but it has obviously been deleted by the problem in the forum)
So atm postfix is running with the config above. But the problem is, like this, postfix tries to send mails e.g. from the adress
vmail@domain.de.local. They get rejected by other mail servers and are filling up my mail-queue:
mailq
Code:
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
831A7102CC248 1841 Thu Oct 11 10:47:07 vmail@domain.de.local
(lost connection with smtp.tws-1.com[216.117.147.232] while receiving the initial server greeting)
abozuyfdbqxysv@tws-1.com
C211C102CC250 2321 Wed Oct 10 15:42:35 vmail@domain.de.local
(connect to smtp.virtua.com.br[201.6.0.214]: Connection refused)
pamela@virtua.com.br
CB696102CC2EA 2693 Fri Oct 12 19:04:42 MAILER-DAEMON
(Host or domain name not found. Name service error for name=admin.myFQDN.de type=MX: Host not found, try again)
webmaster@admin.myFQDN.de
C899F102CC25A 2357 Fri Oct 12 00:36:03 vmail@domain.de.local
(Host or domain name not found. Name service error for name=a-m-t.com type=MX: Host not found, try again)
Aileen_resplendent@a-m-t.com
3EE62102CC2F6 2663 Fri Oct 12 19:01:35 MAILER-DAEMON
(Host or domain name not found. Name service error for name=admin.myFQDN.de type=MX: Host not found, try again)
webmaster@admin.myFQDN.de
[...]
-- 304 Kbytes in 40 Requests.
As you see in the output of mailq, another problem seems to be, that there are mails sent from the adress
webmaster@admin.myFQDN.de, which is, I think also a domain created by ispCP.
Has anyone an idea how to solve this? I'd like to leave my
domain.de in ispCP, because I've some mail accounts there. But I also would like
mail.domain.de as
myhostname.
Any suggestions?
Thanks in advance!
FeG