Ramblings from MostlyChris

Tech stuff and a bit more

Browsing Posts in Qmail

Tonight I learned something. Yep! Still learning after all this time. What did I learn? Well I'm glad you asked. I had an occasion to have to delete all emails that were marked as spam but only for accounts that were forwarded to another email address. The players: RHEL 4 Plesk Qmail The magic: for [...]

Suppose you would like to send a copy of an incoming email to another account while the email still goes to the original account. You can do this by modifying the .qmail file of the original recipient and adding an entry that looks like the following: &user@domain.com On a Plesk server, a full .qmail file [...]

I may be wrong here, but I believe the default queue lifetime for a message sitting in the qmail queue is 7 days. To me, that's entirely too long to wait to deliver a defunct message considering most of them are probably SPAM bounces anyway. Here is how to shorten the lifetime. Change to the [...]

First, copy the smtp_psa file. cp /etc/xinetd.d/smtp_psa /etc/xinetd.d/smtp_additional Edit the newly copied file and replace the first line. Replace 'service smtp' with 'service submission' vi /etc/xinetd.d/smtp_additional Restart xinetd.d service xinetd restart Check that port 587 is listening on the server netstat -ltnp

qmHandle is a handy tool to aid in administering the queue on qmail enabled servers. Get and install qmHandle wget http://ns.nywtc.co.uk/qmHandle && chmod +x qmHandle && cp -a qmHandle /usr/local/bin/ Get and replace existing qmHandle wget http://ns.nywtc.co.uk/qmHandle && chmod +x qmHandle && cp qmHandle `which qmHandle` Usage is simple. After installing, just issue qmHandle without [...]