I guess you could set up a catchall instead of smtproutes that would process it with procmail and then forward it to the external server(s).
Trey Nolen On Sun, 2002-08-04 at 11:01, zenn wrote: > this is exactly what happens on my setup, mail is scanned by qmail-scanner > and spamassassin then relayed to smtproutes... > though, i need to be able to catch and filter the mail before it relays so i > can redirect any email tagged as spam to an external address... > surely there is a way to do this !! > isn't there ? > > > > > It kind of depends on what you mean by "filter." If you just want the > > messages scanned for viruses and thrown out if they have one, then it is > > done automatically. Every message that Qmail touches will be run > > through qmail-scanner and dealt with accordingly. > > On the other hand, if you are trying to filter spam through procmail or > > some other method, that is a different story because procmail will not > > see the mail. > > We run a lot of mail through smtproutes to send it to customers with > > their own mail servers. As it goes through our system, it is scanned for > > viruses and TAGGED for spam, but not run through procmail or maildrop. > > If they want to do something with the spam tags, they will have to do it > > on their server. If qmail-scanner is setup properly, just putting in the > > smtproutes (and rcpthosts) should be enough to have that mail scanned. > > > > Trey Nolen > > > > > > On Sun, 2002-08-04 at 09:42, zenn wrote: > > > hi all.. > > > sorry for reposting, i thought i'd clear things up... > > > i need to filter mail "relaying" through our qmail server to domains > i've > > > listed in /var/qmail/control/smptroutes > > > any suggestions on how i can do this ? > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Qmail-scanner-general mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Qmail-scanner-general mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
