Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bounce mail stuck in queue

Status
Not open for further replies.

RicoCali

Programmer
Dec 7, 2002
80
US
I am getting alot of spam to one of my valid domains but user name is not valid. For example: someuser@mydomain.com. Where "mydomain.com" is valid but not "someuser". What this is doing is bouncing to sender but the sender's email is invalid. The bounce email being sent is stuck on the qmail queue and doesn't seem to disappear. As a result, the queue grows rapidly and eventually no can send email.

Is there a way to automatically delete expired messages in the queue?
 
I would think these messages should expire themselves after a time. qmail has a queuelifetime control file that tells qmail how long to keep mail in the queue before finally giving up and bouncing to the postmaster.

You may want to consider setting up the qregex patch or badrcptto patch which will allow you to block messages that are addressed to whatever accounts you specify. This way, if somebody (i.e.: spammer) is repeatedly sending mail to an account that doesn't exist, you can block these messages during the smtp conversation so they never get in the door.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top