fetchmail-friends
[Top] [All Lists]

[fetchmail] Multidrop Bounce

2003-03-24 02:22:38
Dear Fetchmail Hackers,

I understand that Fetchmail will not bounce mail from a multi-drop POP box, for very good reasons. Fetchmail can only delete, or send to postmaster.

I really need email to bounce, as I am in competition with some MS products with do bounce. (Probably when they should not, but hay...) I'm looking at the code to see if I can easily hack it, and wonder if anybody could give me some advice... (Sorry about English, I is very dyslexic)

I can be very impertenant here and quote from Eric Raymond's excelent talk in London last summer. 'The great think about Open Source is that if you don't like it, you can change it'. So as a personal experiment, and a learning exercise, this is what I would like to do.

My surgested logic is as follows:

If no 'postmaster' set (Controled by the run.postmaster. But another reference may be needed to note if actually set, since this falls to a default if not set):

If X-Envelope set, and header apprears in valid form in email:

If 'set no bounce' not set (run.bouncemail):

If user unknown:

If personal varaible 'set bounce_multidrop' set:

Then { send_bouncemail() }

If any members have any technical comments, or feal a need to flaim me, I would be interested in knowing.

Thanks in advance, Ben.