HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   get thousands of "Mailsize" mails from own server (http://www.howtoforge.com/forums/showthread.php?t=8595)

torusturtle 28th November 2006 12:34

get thousands of "Mailsize" mails from own server
 
Hello

I have Server with ISPConfig 2.2.8 and postfix running.
Problem is that the server sends thousands of messages to my webmaster email address to tell me about the mailsize.

How can this be stopped?

Email:
Quote:

Subject:
Mailsize: web1_webmaster
From:
Webmaster <web1_webmaster@mydomain.tld>
Date:
Tue, 28 Nov 2006 09:53:24 +0100
To:
undisclosed-recipients:;
X-Account-Key:
account23
X-UIDL:
44fadc50000001cf
X-Mozilla-Status:
Return-Path:
<web1_webmaster@mydomain.tld>
X-Original-To:
admispconfig@mydomain.tld
Delivered-To:
web1_webmaster@mydomain.tld
Received:
by mydomain.tld (Postfix) id 6E89073EC1EB; Tue, 28 Nov 2006 09:53:25 +0100 (CET)
Delivered-To:
web1_postmaster@mydomain.tld
Received:
from mydomain.tld (mydomain.tld [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mydomain.tld (Postfix) with ESMTP id 3C5D773EC1E3 for <admispconfig@mydomain.tld>; Tue, 28 Nov 2006 09:53:25 +0100 (CET)
Received:
(from web1_webmaster@localhost) by mydomain.tld (8.13.6/8.13.6/Submit) id kAS8rOel032517 for admispconfig@localhost.localdomain; Tue, 28 Nov 2006 09:53:24 +0100
Message-ID:
<200611280853.kAS8rOel032517@mydomain.tld>
X-Loop:
web1_webmaster@localhost.localdomain
Status:
O

1053
Thanks!

falko 29th November 2006 15:55

Do you redirect/forward mails for admispconfig to another user? You shouldn't do this! The mailsize mails are for the user admispconfig so that ISPConfig can calculate correct mail traffic statistics.

Falsig 12th December 2006 22:12

Same Problem, but at multible emails
 
Hi.

I have a similar problem, exept every admin-acount get flooded.

I run multiple domaines on my server.
Followed 'Perfect setup for Fedora core 6' to the last dot.
Installed ISPConfig before I did anything else.

Have read the posts I could find that just remotly touched this issue, but no help.
Have changed mydomain in main.cf to an empty domain that points to my IP, but isn't setup in ISPConfig.

Checked all conf-files against Docs and postings here, but nothing helps.

I have NOT forwarded any mails to anything at all.

Please help since it's slowing down a live server.

till 13th December 2006 10:46

Please post a excerpt of your mail log. Did you add any aliases in /etc/postfix/aliases?

Falsig 13th December 2006 21:25

Hi Till

I havn't altered the aliases (it's located /etc/aliases on my system)

I'll hav a part of my maillog in a few, my server is VERY slow now, and the maillog is now on 96 MB

Falsig 13th December 2006 21:35

This is the beginning of my maillog, and now its 96 MB in 24 hours??

Dec 12 23:59:10 web sendmail[14428]: alias database /etc/aliases rebuilt by root
Dec 12 23:59:10 web sendmail[14373]: kBCMx4BA014373: to=admispconfig@localhost.localdomain, ctladdr=web5_lars (10025/10005), delay=00:00:06, xdelay=00:00:00, mailer=relay, pri=30115, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Dec 12 23:59:10 web sendmail[14428]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
Dec 12 23:59:13 web postfix/postsuper[14624]: warning: bogus file name: incoming/395398.12187
Dec 12 23:59:13 web postfix/postfix-script: starting the Postfix mail system
Dec 12 23:59:13 web postfix/master[14650]: daemon started -- version 2.3.3, configuration /etc/postfix
Dec 12 23:59:13 web postfix/qmgr[14654]: 06AE02068CAC: from=<>, size=2583, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/trivial-rewrite[14655]: warning: database /etc/postfix/virtusertable.db is older than source file /etc/postfix/virtusertable
Dec 12 23:59:13 web postfix/qmgr[14654]: 05ED52068CAD: from=<>, size=2492, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: 1095F2068CAE: from=<>, size=2492, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: 81A8F2068CB2: from=<>, size=2492, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: EDBE62068CC2: from=<>, size=2486, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: 15B7C2068CB4: from=<>, size=2583, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: CB78C2068CA2: from=<>, size=2583, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: B806D2068CB5: from=<>, size=2492, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: B63D12068CD4: from=<>, size=2486, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: 544722068C89: from=<>, size=2583, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: 6CEEB2068C98: from=<>, size=2492, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: CFF592068CC9: from=<>, size=2583, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: 84D5A2068CAB: from=<>, size=2486, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: 24A4E2068CB9: from=<>, size=2492, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: 21B852068CB7: from=<>, size=2486, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: A60052068C9A: from=<>, size=2492, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: 990992068CBB: from=<>, size=2486, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: 9C5CF2068CB8: from=<>, size=2486, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: 5F5E82068CAA: from=<>, size=2583, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: 97E192068CB6: from=<>, size=2492, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: 0107E2068C9D: from=<>, size=2583, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: 4E4532068CA9: from=<>, size=2583, nrcpt=1 (queue active)
Dec 12 23:59:13 web postfix/qmgr[14654]: B69432068CD5: from=<>, size=2492, nrcpt=1 (queue active)

Falsig 14th December 2006 08:35

Partly solved
 
I edited all .procmailrc files and commented out the include mail.rc statement, so now I don't recieve all the mailsize-mails.

Still have an overloaded maillog.
Is there anyway to configure what to Log and what NOT to Log ?

falko 14th December 2006 19:04

Please run
Code:

postmap /etc/postfix/virtusertable
and restart Postfix.

Are there lots of mails in your mailqueue? You can find out by running
Code:

postqueue -p

Falsig 14th December 2006 19:14

Quote:

Originally Posted by falko
Please run
Code:

postmap /etc/postfix/virtusertable
and restart Postfix.

Did that.

Quote:

Originally Posted by falko
Are there lots of mails in your mailqueue? You can find out by running
Code:

postqueue -p

There was around 70.000 early this morning.
I used Outlook with a message-rule to empty the queue after commenting out the
Code:

include .......... mail.rc
line in every procmailrc.

Took me some time because of the amount of users.

Maillog is now downsized to ~35 MB

falko 14th December 2006 20:47

Quote:

Originally Posted by Falsig
There was around 70.000 early this morning.
I used Outlook with a message-rule to empty the queue after commenting out the
Code:

include .......... mail.rc
line in every procmailrc.

Took me some time because of the amount of users.

Maillog is now downsized to ~35 MB

To empty the mail queue, you can simply run
Code:

postsuper -d ALL


All times are GMT +2. The time now is 23:58.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.