(I read the man page on these, very little help as always) Isn't there a command to clear the ENTIRE mailq ? Cancelmsg just does one at a time. I want to clear out an entire queue.
Main reason is, spammers are sending spam to our users, but it gets bounced because spammers are idiots. However, since it bounces, and spammers use faulty from and return addresses, this crap gets deferred into a massive backlog that just goes on for miles and puts our server into a tissy of trying to return it. I took the most obvious hog, which is "@com.com" and tried all these in etc/bofh: spamtrap @com.com badfrom @com.com freemail @com.com ...it seems to do nothing to prevent them from filling up the mailq and making our maillog a good 50mb a day. It forced me to reduce the time till failure to help combat this (queuetime, esmtpdelay, retryX). I havnt touched any of the defaults regarding rejecting bad MX and DNS and whatnot emails. Those should be fine. Log entry example: May 17 17:47:38 xxxxx courierd: started,id=0012BC9A.40A673A1.00002CC4,from=<>,module=esmtp,host=com.com,addr =<[EMAIL PROTECTED]> May 17 17:47:38 xxxxx courierd: completed,id=0012BC7D.40A673A2.00002CD1 May 17 17:47:38 xxxxx courieresmtp: id=0012BC9A.40A673A1.00002CC4,from=<>,addr=<[EMAIL PROTECTED]>: Connection timed out May 17 17:47:38 xxxxx courieresmtp: id=0012BC9A.40A673A1.00002CC4,from=<>,addr=<[EMAIL PROTECTED]>,status: deferred This crap fills the log files up like you wouldn't believe. "[EMAIL PROTECTED]" "[EMAIL PROTECTED]" "[EMAIL PROTECTED]" "[EMAIL PROTECTED]" "[EMAIL PROTECTED]" ... I mean, really! COMEON! -Randall Shaw (Oh, and "Yes. The From: header has absolutely nothing to do with the return address. Look at the Return-Path: header." Might want to add that sort of clarification into the DOCS in regards to 'badFROM' *cough*.) -Randall Shaw ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
