Paul J Stevens wrote:

>That is not correct. It should look like '#Public/Spam'. But it may well be
>sm's namespace handling is broken.

>I prefer fetchmailrc syntax:

>poll localhost with protocol imap
>  user spamadmin mda "/usr/bin/sa-learn --spam --single"
>  password secretpassword;
>  folder "#Public/Spam"
>  keep

Paul, I appreciate your help on this I feel I am getting closer, but I can't
get this to work.  I've read the man pages for fetchmail, but it is not
making any sense to me.  I couldn't find much reference to fetchmailrc
syntax.

I am typing into SSH the following, which I am sure is idiotic:

"/usr/sbin/fetchmail poll localhost with protocol imap user [EMAIL PROTECTED]
mda "/usr/bin/sa-learn --spam --single" password secret; folder
"#Public/Spam" keep"

When I press enter it asks me for the password [EMAIL PROTECTED] and then 
[EMAIL PROTECTED]
and then [EMAIL PROTECTED]@admin.com and then [EMAIL PROTECTED] and then
root@/usr/bin/sa-learn --spam --single then [EMAIL PROTECTED] then
[EMAIL PROTECTED]

Reply via email to