Scott,
When I used the preline for bounces it had its problems. Emails would
come back with different headers depending if aol or hotmail or whoever
bounced it. Also it seems that there were differences when the email was
an alias or not. When it was an alias I would get back a list of emails
that bounced, which also caused some parsing headaches. This wasn't
difficult to solve, I had to embed something I could pick out in the
body of the email, no big deal there.The preline feeds the email to your program in the "cat" style so you could probably read it into your program, parse it, change what you need to change and send it to whoever you want using qmail from inside the program. I'm surprised qmail doesn't have a program that works on bounced emails. *shrug* Scott On Mon, 2003-07-28 at 13:53, Scott Fritzinger wrote: > Scott, > > (to continue before my aggressive ENTER key pressed itself and sent the > previous email prematurely... :-P ) > > - Have all bounced messages be sent to a particular email address > - Have a .qmail for that bounce account set up as: > |preline /path/to/filter > Now, the only question is how to have the bounce account send the > filtered, bounced email back to the original sender? > > Of course, this would be easier if qmail provided some way to just have > a script run on a message as it is being bounced. :-/ > > -Scott > > Scott Underwood wrote: > > > Scott, > > Qmail comes with an executable that called "preline". I use this in the > > .qmail alias file like so > > > > |/var/qmail/bin/preline /home/www/program_to_run > > > > I just have the bounce go to that email, I've set this up before but > > can't remember how I (or someone) got the bounce to go to that email > > address. > > > > I'll see what I can find more on this > > > > Scott Underwood > > > > > > > > > > On Mon, 2003-07-28 at 11:34, Scott Fritzinger wrote: > > > >>Hey All! > >> > >>Have a question to which I can not find the answer (at least it isn't > >>blatently obvious and an hour of searching turned up nothing). > >> > >>I want to have a shell script run on any message that qmail bounces. I > >>can't find out how to stick the script in qmail's execution path. I've > >>looked into using .qmail, but that is used for local delivery and not > >>bounces (does have a bouncesaying command, but that isn't what i'm > >>looking for). > >> > >>Anyone know how to have qmail run a user-defined script when it bounces > >>a message? > >> > >>Thanks! > >> > >>-Scott > >> > >>_______________________________________________ > >>RLUG mailing list > >>[EMAIL PROTECTED] > >>http://www.rlug.org/mailman/listinfo/rlug > > > > > > _______________________________________________ > RLUG mailing list > [EMAIL PROTECTED] > http://www.rlug.org/mailman/listinfo/rlug > > > _______________________________________________ > RLUG mailing list > [EMAIL PROTECTED] > http://www.rlug.org/mailman/listinfo/rlug
signature.asc
Description: This is a digitally signed message part
