Spillover queue (was RE: [Mimedefang] Quarantine based on con tent)
Cormack, Ken
kcormack at acs.roadway.com
Wed Aug 6 08:17:01 EDT 2003
I like this one, too, Ray. Thanks. :)
-----Original Message-----
From: -ray [mailto:ray at ops.selu.edu]
Sent: Tuesday, August 05, 2003 5:22 PM
To: 'mimedefang at lists.roaringpenguin.com'
Subject: Re: Spillover queue (was RE: [Mimedefang] Quarantine based on
content)
On Tue, 5 Aug 2003, David F. Skoll wrote:
> On Tue, 5 Aug 2003, Cormack, Ken wrote:
>
> > Ideally, I think the best option may just be to wait until the sendmail
> > "spillover host" that I proposed gets budgeted for.
>
> I use a "spillover host concept" on my main machine. If you look in
> the Sendmail "contrib" directory, there's a very useful tool called
> "qtool.pl" for moving messages from one queue directory to another.
I am doing the same thing on my main machine, except using the
re-mqueue.pl script (not sure what the difference is). And i went
overboard, creating a 1 hour, 6 hour and 1 day queue. It's all done from
crontab, and i have queue runners on the additional queues.
So basically after a few hours all the undeliverable spam bounces are
moved to the 1day queue where i can just forget about them. Here's my
crontab:
# after sitting enqueue for at least 1 hour, move messages
# to 1h queue to avoid cluttering main queue
# this runs every 30 minutes at :15 and :45
15,45 * * * * root /mailstore/software/usr/sbin/re-mqueue.pl
/mailstore/mqueue/q0/ /mailstore/mqueue/1h/ 3600
15,45 * * * * root /mailstore/software/usr/sbin/re-mqueue.pl
/mailstore/mqueue/q1/ /mailstore/mqueue/1h/ 3600
15,45 * * * * root /mailstore/software/usr/sbin/re-mqueue.pl
/mailstore/mqueue/q2/ /mailstore/mqueue/1h/ 3600
15,45 * * * * root /mailstore/software/usr/sbin/re-mqueue.pl
/mailstore/mqueue/q3/ /mailstore/mqueue/1h/ 3600
15,45 * * * * root /mailstore/software/usr/sbin/re-mqueue.pl
/mailstore/mqueue/q4/ /mailstore/mqueue/1h/ 3600
15,45 * * * * root /mailstore/software/usr/sbin/re-mqueue.pl
/mailstore/mqueue/q5/ /mailstore/mqueue/1h/ 3600
15,45 * * * * root /mailstore/software/usr/sbin/re-mqueue.pl
/mailstore/mqueue/q6/ /mailstore/mqueue/1h/ 3600
15,45 * * * * root /mailstore/software/usr/sbin/re-mqueue.pl
/mailstore/mqueue/q7/ /mailstore/mqueue/1h/ 3600
15,45 * * * * root /mailstore/software/usr/sbin/re-mqueue.pl
/mailstore/mqueue/q8/ /mailstore/mqueue/1h/ 3600
15,45 * * * * root /mailstore/software/usr/sbin/re-mqueue.pl
/mailstore/mqueue/q9/ /mailstore/mqueue/1h/ 3600
# after sitting enqueue for at least 6 hours, move messages
# to 6h queue to avoid cluttering 1h queue
# this runs once an hour at :20 after
20 * * * * root /mailstore/software/usr/sbin/re-mqueue.pl
/mailstore/mqueue/1h/ /mailstore/mqueue/6h/ 21600
# after sitting enqueue for at least a day, move messages
# to 1d queue to avoid cluttering 6h queue
# this runs every two hours at :40 after
40 0-23/2 * * * root /mailstore/software/usr/sbin/re-mqueue.pl
/mailstore/mqueue/6h/ /mailstore/mqueue/1d/ 86400
ray
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ray DeJean http://www.r-a-y.org
Systems Engineer Southeastern Louisiana University
IBM Certified Specialist AIX Administration, AIX Support
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
_______________________________________________
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
More information about the MIMEDefang
mailing list