Hello, One consideration would be a scenario of a spammer sending mail with varying subjects like:
[UCE 123vhx] Hire a hitman to stop me sending mail! [UCE 456ska] Hire a hitman to stop me sending mail! [UCE 234kli] Hire a hitman to stop me sending mail! [UCE 34624k] Hire a hitman to stop me sending mail! [UCE 9ull0-] Hire a hitman to stop me sending mail! You could end up with an enormous number of mailboxes, and it'd be labor-intensive to clean them up afterwards. Arguably, that could be the fault of the procmail script requesting they be saved in that mailbox name (that would be the effect of the script below). Doing a lookup in a table of valid mailboxes would solve that - but then, you could just create the actual mailbox instead of creating said table. Perhaps a command-line switch to turn auto-creation on/off would be appropriate, and you can impliment it how you wish. Jesse ---- Original Message ---- From: Aaron Stone <dbmail@dbmail.org> To: dbmail@dbmail.org Subject: Re: [Dbmail] Procmail Sent: Thu, 6 Mar 2003 08:14:30 -0800 (PST) I didn't realize that my auto-mailboxes patch would be useful for so many other things... neat! Perhaps a more official request to include it is in order? Are there reasons why someone might prefer *not* to have mailbox autocreation? IIRC, I left an if(1) in the code to be replaced with just such a config option or flag :-) Aaron On Thu, 6 Mar 2003, Paul J Stevens wrote: > Matthew, > > Though I use postfix instead of sm, I run a similar setup as yours. > Yes, you can tell dbmail-smtp to deliver messages to a specific folder. > The -m > switch does the trick. > > A typical dynamic procmail filter for mailinglists would be: > > :0 > * ^List-Id: \/.* > { > LISTNAME=`echo $MATCH|sed 's/<\([^\.]*\)\..*>.*/\1/'` > :0: list.$LISTNAME > | /usr/sbin/dbmail-smtp -m list/$LISTNAME > } > > One caveat though: dbmail-smtp like dmail does not create mailboxes > automagically. Unless you > run a dbmail installation patched to do this. Vanilla 1.1 doesn't > autocreate mailboxes. > > > > Matthew T. O'Connor wrote: > > >My current mail setup (not dbmail which I am still learning) uses > >procmail as the LDA (is that the right term?). Sendmail calls it to > >actually deliver the email to my mailboxes. I find this highly useful > >as I have procmail sort my mail into all my different mailboxes, this > >keeps high volume mailing lists in their respective folders etc... I > >don't see how to do this using dbmail. Is there some way for procmail > >to tell dbmail-smtp to put this message in a particular folder? Is > >there some dbmail related program that procmail could call to do the > >delivery to the database? UoW imap has a program called dmail which > >procmail can call to deliver messages to mailbox formats it doesn't > >understand, I use mbx (not mbox) mailboxes right now for performance > >reasons. > > > >I don't want to have all my email delivered to my INBOX and sorted into > >folders by a mail client such as evolution. I am constantly connecting > >to my imap server from different locations and using different clients. > >In any given day I might use squirrel mail, evolution, kmail and Outlook > >Express, so I can't maintain message sorting rules in the mail client. > > > >So I need some solution for server based message sorting that happens at > >delivery time. > > > >Thanks much, > > > >Matthew T. O'Connor > > > >_______________________________________________ > >Dbmail mailing list > >Dbmail@dbmail.org > >https://mailman.fastxs.nl/mailman/listinfo/dbmail > > > > > > > > -- > ________________________________________________________________ > Paul Stevens mailto:[EMAIL PROTECTED] > NET FACILITIES GROUP PGP: finger [EMAIL PROTECTED] > The Netherlands________________________________http://www.nfg.nl > > > _______________________________________________ > Dbmail mailing list > Dbmail@dbmail.org > https://mailman.fastxs.nl/mailman/listinfo/dbmail > -- End Original Message -- -- Jesse Norell [EMAIL PROTECTED]