Earlier discussions on this list have indicated that tagged addresses are
checked after the end of your incoming filter file, and only if they don't
match a rule in your incoming filter.  So you could put a rule in your
incoming filter that matched dated addresses such as:

to [EMAIL PROTECTED] deliver=|path-to-script

Then in your script, one thing you will probably want to check is if the
dated address is valid perhaps with a call to tmda-check-address.

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Becz Tamas
> Sent: Thursday, October 28, 2004 6:44 AM
> To: [EMAIL PROTECTED]
> Subject: Give messages that arrived to dated adresses to a command
> 
> Hello,
> 
> I am using tmda to prevent a web app (namely RTIR, a ticketing system,
> but it doesn't matter right now), from getting spams. I don't 
> use dated
> adresses, I just send confirmations to anyone, and whitelist them, as
> they respond. Howewer, I do use dated addresses for the 
> envelope-sender
> address, so that I can let bounce messages in. This works all 
> right, but
> I'd need to adjust the bounce messages a bit (either I need to add to
> the Subject, or add additonal headers), so RTIR will be able to link
> these messages to the ticket they belong. 
> 
> Now, is there an easy way to have mails that come to a dated 
> address and
> were accepted by tmda, don't actually deliver, but put to a pipe
> instead?
> This way I wouldn't have to do magic on each mail, to see if it's a
> bounce message, since only those come to a dated adress.
> 
> I wonder if I could put delivery=|script to the incoming filter, but
> there is no rule for dated adresses, since they are autmatically
> accepted.
> Or maybe, can I set different DELIVERY config variables somehow?
> 
> Anyone have any idea?
> 
> Thanks,
> -- 
> Becz Tamás
> MTA SZTAKI - Network Security Department
> ----
> Addr: H-1111 Budapest, Lágymányosi u. 11.
> Room: L I/9.box
> Tel: +36-1-279-6280
> ICQ: 68747712
> ----
> 
> We do good, fast, and cheap work. You can choose two.
> 
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to