Postfix Sluggish

Ki Song ki at knifecenter.com
Fri Nov 4 17:34:33 UTC 2005



> From: Alexander Dalloz <ad+lists at uni-x.org>
> Reply-To: For users of Fedora Core releases <fedora-list at redhat.com>
> Date: Fri, 04 Nov 2005 18:26:29 +0100
> To: For users of Fedora Core releases <fedora-list at redhat.com>
> Subject: Re: Postfix Sluggish
> 
> Am Fr, den 04.11.2005 schrieb Ki Song um 18:16:
> 
>> Another tidbit I thought was interesting was that the maillog is about
>> 23megs. It seems like it is unusually large ... the past couple weeks, the
>> logs have been around 4-8 megs ... every sunday evening the logs are backed
>> up and a new log is generated. is this relevant at all?
> 
> A huge log can slow down things. Did you enable debug mode to get such a
> huge maillog file? Or were you target of mailbombing?

One reason why the maillog is so huge is because all the messages that are
trying to be sent to this domain (knifecenter.com) that are the target of
spam ... basically, they are sending to any and all potential names in the
knifecenter domain ... for example, a particular server tries to send a
message (probably spam) to: a at knifecenter.com, then aa at knifecenter.com, then
ab at knifecenter.com, then ac at knifecenter.com, etc.

The maillog contains all the rejected messages because those addresses do
not exist. How do I continue to reject the messages to erroneous addresses
without showing it in the maillog?


>You can manually
> rotate the log and start with a fresh, empty one.

How do I rotate the log?

>Another possibility is
> to change the logging behaviour by changing /etc/syslog.conf and
> restarting the syslog daemon afterwards:
> 
> # Log all the mail messages in one place.
> mail.*                                                  /var/log/maillog
> 
> Change the right hand side (the log file target) to read
> "-/var/log/maillog". The leading minus sign makes a difference.
> 
> Alexander
> 
> 
> -- 
> Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
> legal statement: http://www.uni-x.org/legal.html
> Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp
> Serendipity 18:22:31 up 6 days, 16:22, load average: 0.03, 0.12, 0.08
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list




More information about the fedora-list mailing list