TopicNavigationUser login |
Installing qmail-scanner with PleskA couple of notes... using psa-spamassassin will result in all messages being scanned twice, which creates a lot of overhead. Investigating outgoing spam issues on Plesk serversUse the modified qmHandle's qmHandle -tt to see the top senders/recipients. Look at one of the spam messages and look at the Received line, which will either show you a UID or received from network. If it shows you a UID, then the spam is coming from a compromised script. Qmail Logging DemystifiedHere's a typical log sequence for a message sent to a remote system from the local system: 1 @4000000038c3eeb027f41c7c new msg 93869 Making vacation work with SendmailBy default, vacation will not work properly with sendmail... you'll see errors such as the following: "|/usr/bin/vacation username"
(reason: Service unavailable)
(expanded from: email_address)
----- Transcript of session follows -----
451 4.0.0 putbody: write error: Broken pipe
smrsh: "vacation" not available for sendmail programs (stat failed)
554 5.0.0 Service unavailable
Changing Sendmail's Load Average handlingBy default, sendmail will begin queuing mail rather than sending it out at 12 load average, and stop refusing connections at 18 load average. These options can be changed in /etc/mail/sendmail.mc with the following variables: define(`confQUEUE_LA', `12')dnl define(`confREFUSE_LA', `18')dnl Sending email via a specific IPThis can be accomplished with the smtp_bind_address directived, e.g. smtp_bind_address = 66.216.86.216 Integrating ClamAV with Plesk/QmailHere are the steps for integrating ClamAV with Plesk/Qmail: * Stop all Plesk services and remove the drweb rpms service psa stopall rpm –e drweb drweb-qmail --nodeps --force * Add the Atomic Rocket Turtle archive to the rhn sources Multiple queues in sendmailBy default, sendmail sends from a single queue. Needless to say, this is not ideal from a performance perspective. Fortunately, setting up sendmail to use multiple queues is easy! First, create a directory for each queue you want, e.g. mkdir /var/spool/mqueue/q{1,2,3,4,5}
Ensure that the permissions and ownerships are correct for your mail install (should be the same as /var/spool/mqueue). Edit /etc/mail/sendmail.cf to include a QUEUE_DIR definition with a wildcard including the appropriate directories: define(`QUEUE_DIR', `/var/spool/mqueue/q*')dnl |
Linux JournalSlashdot |