> Is it possible to inject the contents of > /var/spool/qmailscan/archives/new > back into the qmail queue, and if so, how would this be done? > > Michael Martinez > System Administrator >
create a file... for example. #!/bin/bash # filename: inject.sh cat $1 | /var/qmail/bin/qmail-inject chmod it so it's executable. then, run each message through like this... find /var/spool/qmailscan/archives/new -type f -exec /usr/bin/inject.sh {} \; or you could only do the message for the last week... etc find /var/spool/qmailscan/archives/new -type f -mtime +7 -exec /usr/bin/inject.sh {} \; maybe that will give you some ideas.. ? ------------------------------------------------------- This SF.NET email is sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 http://www.developwithamd.com/developerlab _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general