aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
...
* Add MIME headers to specify body encoding for mail warnings.Matthias Andree2004-10-142-1/+7
* UpdateMatthias Andree2004-10-121-0/+6
* Merge 2004-03-25-6.2.5-egidy-parserec.diff.Matthias Andree2004-10-121-1/+1
* Remainder of 2003-11-07-6.2.5-shetye-bugfixes.diff:Matthias Andree2004-10-122-1/+12
* Merge Holger Mauermann's bounce patch, 2003-10-23-6.2.5-mauermann-bounce.diffMatthias Andree2004-10-121-10/+33
* Merge Fabrice Bellet's patch to fix recentcount/count after IMAPMatthias Andree2004-09-102-4/+18
* Add FIXME comment WRT i18n.Matthias Andree2004-09-101-0/+3
* Remove libntlm-0.21, as the top-level directory contains the same files.Graham Wilson2004-08-3120-2869/+0
* Remove the useless and unreleased CHANGES file.Graham Wilson2004-08-301-4/+0
* Move a handful of scripts (used for releases, testing, etc.) to dist-tools, s...Graham Wilson2004-08-3018-0/+0
* Update mold_remover to version 0.3, from http://sf.net/projects/moldremoverRob Funk2004-08-242-5/+54
* Update translation.Matthias Andree2004-08-201-403/+353
* Update .pot file after driver.c changes.Matthias Andree2004-08-201-358/+311
* Fix bogus plural form.Matthias Andree2004-08-201-7/+7
* Safe fixes for compiler warnings.Matthias Andree2004-08-092-7/+5
* Don't output progress dots if output is only going to syslog.Graham Wilson2004-08-091-2/+2
* Do not disable TOP in 'keep, but not uidl' mode.Matthias Andree2004-08-091-2/+2
* Fix grammar in 'normal termination' message.Matthias Andree2004-08-081-1/+1
* Remove space after "MAIL FROM:" (patch from Phil Endecott)Rob Funk2004-07-212-3/+3
* Remove the (now empty) m4-local directory.Graham Wilson2004-06-260-0/+0
* Kill m4-local directory, move the two files to top-level directory.Matthias Andree2004-06-266-8/+5
* Remove ge
From mlievaart@orion.nl  Mon Jan 10 10:46:33 2000
From: Martijn Lievaart <mlievaart@orion.nl>
To: Eric S. Raymond <esr@thyrsus.com>
Date: zondag 9 januari 2000 0:38
Subject: Re: Thanks for fetchmail and a solution to the multidrop problem (I
Status: O
Content-Length: 8086
Lines: 226

think)

Hello Eric,

Let me first state that I'm no sendmail nor unix guru, so although this
seems to work, I certainly would not say this is the "best" solution. In
fact I would welcome all comments to make this better. In part
44-9291/+325
* Try fallback to rpm (in case rpm is version 3).Matthias Andree2004-06-191-1/+2
* Fix various warnings.Matthias Andree2004-06-195-33/+30
* Cast arguments of is*() ctype.h functions to unsigned char to be 8-bit safe.Matthias Andree2004-06-199-36/+36
* Remove generated files.Matthias Andree2004-06-1813-0/+0
* Compiler warnings fixes, preprocessor and minor general cleanup.Matthias Andree2004-06-1819-87/+84
* Fix various compiler warnings.Matthias Andree2004-06-182-1/+5
* Fix various compiler warnings.Matthias Andree2004-06-1812-41/+42
* replace extern int errno by #include <errno.h>.Matthias Andree2004-06-181-1/+1
* Fix makedepend for builds where build and source directory are separate.Matthias Andree2004-06-181-1/+1
* Get rid of obsolete acconfig.h, move descriptions into configure.in.Matthias Andree2004-06-183-183/+34
* Start converting release scripts over to new environmentRob Funk2004-06-185-81/+130
* fix misspelling in page titleRob Funk2004-06-181-1/+1
* (Automatically) updated line numbers in po filesRob Funk2004-06-1827-3832/+3858
ilbox, if this doesn't succeed in 64 seconds, give up and send # mail to postmaster. # If this period is to short, increase the retries (-r flag to lockfile) # # Then run the message through formail to get it into the right mailbox format with the # right headers added. # # Delivered-To will make fetchmail propagate this mail to the correct user when # run with '-E "Delivered-To"'. Set this in the advanced settings of the TeamInternet f.i. # (if you changed the envelope at the start of this script, adapt this accordingly) # # We also muck up the messageid, so fetchmail will never skip a message on the basis of # duplicate messageIDs. The -i "Message-ID" will rename the old message ID, the -a will # add a new one. # # Lastly, we add a header indicating which host did the rewriting. # if lockfile -r 8 $mbox.lock >/dev/null 2>&1 then cat - | formail -i "$envelope <$to>" -i "Message-ID:" -a "Message-ID:" -i "X-Multidrop-Processing: <`hostname`>" >>$mbox rm -f $mbox.lock else (echo "Subject: Cannot lock mailbox for $user" & cat -) | /usr/lib/sendmail postmaster fi # # EOF # This obviously is very Linux (even RedHat?) dependant, locking mailboxes, creating mailboxes with the right permissions, probably even bash dependent. I would say that it should be fairly easy to port to other systems, but alas, my unix knowledge is lacking for that. I'll also rewrite it someday, a.o. that umask handling can be done much better and the location of the sendmail binairy should not be fixed. Now the only thing left to do is to retrieve the mail with fetchmail, using 'envelope "Delivered-To:"' in the poll line. The above script has added this line, so this is all that fetchmail needs. All parts of this solution need carefull examination. In particular I think the new rule lines may not catch all cases, although they worked for everything I threw at them and work satisfactorily in production. I'm also wondering if there is a more standard way to drop something in a mailbox. I yet have to investigate procmail, but all other MDA's mucked with the message and effectively undid my carefully added header. I'll experiment some more and rethink it all as I learn more. I'm still wondering, if I can get formail to include another received line.... "Received from localhost by dropmail for <user>...." to make it work without the envelope flag. Well I'll have to experiment. Do you know if there is a header I can add so fetchmail works out-of-the-box? Regards, Martijn Lievaart