Current time: 04-20-2024, 01:52 AM Hello There, Guest! (LoginRegister)


Post Reply 
Postfix setup: High load on mailq
Author Message
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #1
Postfix setup: High load on mailq
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
(This post was last modified: 01-05-2011 07:44 AM by FeG.)
10-13-2007 04:28 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Postfix setup: High load on mailq
have you already tried:
Code:
mydomain   = mail.domain.de.local

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

/Joximu
10-13-2007 09:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #3
RE: Postfix setup: High load on mailq
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
10-14-2007 05:39 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Postfix setup: High load on mailq
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
10-14-2007 07:29 AM
Visit this user's website Find all posts by this user Quote this message in a reply
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #5
RE: Postfix setup: High load on mailq
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
10-14-2007 08:45 AM
Find all posts by this user Quote this message in a reply
victor531 Offline
Junior Member
*

Posts: 167
Joined: Oct 2007
Reputation: 3
Post: #6
RE: Postfix setup: High load on mailq
I had the same problem , but that happened because I changed the Serversignature to OFF.
I solved this by reinstalling the Debian/ispcp.
10-22-2007 08:37 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)