Re: gotmail to procmail to spamassassin to mailbox

"T. E." <[email protected]> Fri, 09 May 2003 23:38:01 +0200
Newsgroups gmane.mail.gotmail
Message-ID <[email protected]>
Hi again,

I found the problem by myself ...... shouldn't create any loops ... :-(

Sorry for bothering you!

c y
Torsten

>
>Hi there,
>
>today I found a prob with my configuration, and I have no idea where the 
>failure is ....
>
>I fetch the mails using gotmail, then they should go via procmail to the 
>user mailbox.
>The gotmail file looks like this:
>----- snip -----
># Some option dependent variables
>     my($conf_proxy)="";
>     my($conf_proxy_auth)="";
>     my($login) = "";
>     my($password) = "";
>     my($domain) = 'hotmail.com';
>     my($resend_address) = "";
>     my($conf_file) = "";
>     my(@conf_folders) = ();
>     my($conf_folder_directory) = "";
>     my($conf_only_get_new_messages) = 0;
>     my($conf_mark_messages_as_read) = 0;
>     my($conf_delete_messages_after_download) = 0;
>     my($conf_sendmail) = "/usr/sbin/sendmail";
>     my($conf_curl) = 'curl -k';
>     my($conf_speed_limit) = 0;
>     my($conf_retry_limit) = 2;
>     my($conf_verbosity) = 0;  # -1 = silent; 0 = normal; 1 = verbose; 2 = 
>debug spe
>     my($conf_smtpserver) = "localhost";
>     my($conf_save_to_login) = 0;   # 0 = no, 1 = yes
>     my($conf_procmail) = 1; # 0 = no, 1 = yes
>     my($conf_procmail_bin) = '/usr/bin/procmail';
>----- snip -----
>
>.gotmailrc looks like this:
>----- snip -----
>     username=USERNAME
>     password=PASSWORD
>     domain=hotmail.com
>     forward=torsten
>     save-to-login
>     only-new
>     delete
>     # folder-dir=/home/joe/mail
>     # folders=Inbox, Different Folder
>     folders=Inbox
>     retry-limit=3
>----- snip -----
>
>When I fetch mails, I can see some acts on /var/log/procmail.log like this 
>one:
>----- snip -----
>     procmail: Locking "spamc.lock"
>     procmail: Executing "spamc"
>     procmail: [669] Fri May  9 23:09:23 2003
>     procmail: Unlocking "spamc.lock"
>     procmail: Executing "/usr/sbin/sendmail,-i,-f,,--,"
>     procmail: Assigning "LASTFOLDER=/usr/sbin/sendmail -i -f  -- "
>     From [email protected] Fri May 09 20:42:30 2003
>     Subject: *****SPAM***** Test 10
>     Folder: /usr/sbin/sendmail -i -f  --                                   
>  23335
>     procmail: Notified comsat: "root@:/usr/sbin/sendmail -i -f  -- "
>----- snip -----
>
>So I guess its working a bit .... moving the emails to procmail ..... but 
>not handling them correctly.
>There's no senders information and no recipients infomation.
>
>Usually the logfile looks like this (when receiving emails directly via the 
>internet - not using gotmail):
>----- snip -----
>     procmail: Locking "spamc.lock"
>     procmail: Executing "spamc"
>     procmail: [32203] Fri May  9 22:37:11 2003
>     procmail: Unlocking "spamc.lock"
>     procmail: Executing 
>"/usr/sbin/sendmail,-i,-f,[email protected],--,[email protected]"
>     procmail: Assigning "LASTFOLDER=/usr/sbin/sendmail -i -f 
>[email protected] -- "
>     Subject: *****SPAM***** Test 5
>     Folder: /usr/sbin/sendmail -i -f [email protected] --                  
>  17320
>     procmail: [32223] Fri May  9 22:38:18 2003
>     procmail: Assigning "[email protected]"
>     procmail: Executing "/usr/bin/spamassassin"
>     procmail: [32223] Fri May  9 22:38:23 2003
>     procmail: Match on "< 256000"
>----- snip -----
>
>Any ideas why neither the senders information nor the recipients 
>information is forwarded to procmail?
>Or is it more a procmail prob than a gotmail one?
>
>Thanks in advance!
>
>Torsten
>_______________________________________________
>Gotmail-list mailing list
>[email protected]
>http://mail.nongnu.org/mailman/listinfo/gotmail-list

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail