ispCP - Board - Support
Postfix setup: High load on mailq - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Postfix setup: High load on mailq (/thread-1518.html)



Postfix setup: High load on mailq - FeG - 10-13-2007 04:28 PM

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


RE: Postfix setup: High load on mailq - joximu - 10-13-2007 09:45 PM

have you already tried:
Code:
mydomain   = mail.domain.de.local

Otherwise please post the main.cf or the output of postconf (-n)

/Joximu


RE: Postfix setup: High load on mailq - FeG - 10-14-2007 05:39 AM

No, i didn't try that... but wouldn't these result in the same problem?

I think, the mails can't be delivered because the other mailservers doesn't accept the domain:

Code:
... 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)

I think, this won't change with mail.domain.de.local... but I'll test it. I don't know how long it'll take till there's a new mail with vmail@mail.domain.de.local in the mailq, so if anyone has other ideas, please post it!

Greetings
FeG


RE: Postfix setup: High load on mailq - joximu - 10-14-2007 07:29 AM

hm, but hte last message is:

(Host or domain name not found. Name service error for name=a-m-t.com type=MX: Host not found, try again)

maybe this relates to name resolving.
check the /etc/resolv.conf and /var/spool/postfix/etc/resolv.conf

/J


RE: Postfix setup: High load on mailq - FeG - 10-14-2007 08:45 AM

In both resolv.conf files there's only:

Code:
nameserver 127.0.0.1

which seems to be ok, cause mail traffic is flowing normally, no problems there, only these mails in the queue.
I don't think this is a dns-problem, these mails are spam and so there are no mailservers in these domains.

I still doesn't have any mails from vmail@mail.domain.de.local in my mailq, so no news there...

Any other suggestions?

Greetings
FeG


RE: Postfix setup: High load on mailq - victor531 - 10-22-2007 08:37 AM

I had the same problem , but that happened because I changed the Serversignature to OFF.
I solved this by reinstalling the Debian/ispcp.