[Spambayes] IMAP server and password in command line?

tameyer at ihug.co.nz tameyer at ihug.co.nz
Wed Jan 5 22:34:02 CET 2005


> I would like to run sb_imapfilter.py from crontab rather
> than using -l (I  am thinking that this would be a way
> around the failures I have been  getting). Is there a way
> to specify the imap server and password from the  command
> line? I don't see it in the documentation.

Sorry - I will look into the problem, but I haven't had a
chance in the last couple of days.

You can specify any option with the -o switch.  For example:

python sb_imapfilter.py -c -t -o imap:username:tony -o
imap:password:mypass

=Tony.Meyer


More information about the Spambayes mailing list