[KLUG Members] help with cyrus imap ...

Adam Tauno WIlliams adam at morrison-ind.com
Tue Jun 22 13:45:39 EDT 2004


> If I have a large list of email addresses in a text file I want to
> "white list", there is no way I could have sieve read a file?  And I'd
> have to create hardcoded rules for these?
> And there is no way for sieve to call an external program (C/bash/...)
> and test the return code or have it pass parameters to sieve?

Not that I know of.

> I'm tempted to have sendmail use procmail for it's delivery, and have
> procmailrc deliver it's result to cyrus-imap via a pipe ...  but I

Probably the best bet.

> suppose that's a bad idea?  Any reasons besides the extra overhead?

The Cyrusoft people point out a myriad of potential security issues in
having a turing system (which according to them procmail is) like
procmail involved in mail delivery.

<My two cents>To me it seems bit like the old 'sendmail is insecure'
arguement;  because there was a period when sendmail had lots of
security problems.  Even though it hasn't had any major issues in quite
awhile, the belief is still imprinted in lots of people.  I can remember
when procmail updates/advisories where pretty common, but now it seems
to have been stable for along time.  But the Cyrusoft people are smarter
than me....</My two cents>

I do white/black listing via sendmail/LDAP, but it isn't per-user
specific; and off hand I can't think of a way to do that without
procmail (or dynamically generating the SIEVE script, ughh.)

Also SIEVE scripts have a maximum size set in imapd.conf, so including
huge lists of match patterns just might not work.



More information about the Members mailing list