Re: procmail woes
hell santiago, [paul:~]$ mail -v paul Subject: test procmailrc test testing tested failed! Cc: write_log:Received FROM:paul PROGRAM:send-mail SIZE:121 director user matched user paul transport local uses driver appendfile appendfile: write to file /var/spool/mail/paul write_log:Delivered TO:paul ORIG-TO:paul DIRECTOR:user TRANSPORT:local write_log:Completed. You have mail in /var/spool/mail/paul [paul:~]$ I don't have a mbox - it gives me an error when i tried cat /var/spool/mail/paul | formail -s procmail it did sort it but it was trying to resend stuff again my inbox said there was 7500 messages only 3 messages but they repeated to make the 7500. But it did sort it to the right mail boxes any ideas? Thanks for everything. Paul On Tue, 9 Jun 1998, Santiago Vila wrote: -BEGIN PGP SIGNED MESSAGE- I would try mail -v paul to see what smail exactly does. When there is no .procmailrc file, procmail should do the delivery as usual (i.e. everything to /var/spool/mail). You can test your .procmailrc rules separately by doing something like cat mbox | formail -s procmail see the log file for details. [ BTW: Please fix your e-mail address, the current one bounces... ]. -BEGIN PGP SIGNATURE- Version: 2.6.3ia Charset: latin1 iQCVAgUBNX0vyyqK7IlOjMLFAQEPDwP/WL7ThamhtNSeRymPCi6fk7karneabwlK HiztVb0Ae+DtYpRz0rwh2WriYfQ91YE747Eo5EmJkSsf3WNNt1r0sCM0LJJICrnm Aq4+s8vqFTNZ8tah8W4ChEPL35cr74Nw36PNNk+arCxsChexoRwgLNzz+ltquyvj Racll9o66yA= =fE+V -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: procmail woes
-BEGIN PGP SIGNED MESSAGE- On Wed, 10 Jun 1998, Paul McDermott wrote: hell santiago, [paul:~]$ mail -v paul Subject: test procmailrc test testing tested failed! Cc: write_log:Received FROM:paul PROGRAM:send-mail SIZE:121 director user matched user paul transport local uses driver appendfile appendfile: write to file /var/spool/mail/paul write_log:Delivered TO:paul ORIG-TO:paul DIRECTOR:user TRANSPORT:local write_log:Completed. You have mail in /var/spool/mail/paul [paul:~]$ Ok, I have just checked and it seems that a line like this one: |/usr/bin/procmail is enough for the ~/.forward file when using smail. Probably this is all you need at this point. I don't have a mbox - it gives me an error Well, the cat mbox | formail -s procmail trick was just a way of speaking! You have to replace mbox with the name of the file you want to refilter. when i tried cat /var/spool/mail/paul | formail -s procmail it did sort it but it was trying to resend stuff again my inbox said there was 7500 messages only 3 messages but they repeated to make the 7500. So you learned the hard way it is a bad idea to refilter your inbox in place. I'm sorry, perhaps I should have been more clear. Remember not to refilter your /var/spool/mail/paul file in this way. Next time you can do: * cp /var/spool/mail/paul ~/tobefilteredagain * remove /var/spool/mail/paul either by using your favourite mail reader or with the help of the user root. * cat ~/tobefilteredagain | formail -s procmail But it did sort it to the right mail boxes any ideas? Then the .procmailrc file is ok and the ~/.forward file is probably the last step. Good luck. -BEGIN PGP SIGNATURE- Version: 2.6.3ia Charset: latin1 iQCVAgUBNX6sRCqK7IlOjMLFAQGA8gP9HAxKxqEeUKRM/RqQBKXPnaF2BfsZYzJG smtNA5Axob3/NRdWz45ew4t2IHVTbuXCJ8hjxE/V7BBgos1/otbH8pDlvpGYjJtV Ej1d2/0xkptyqWN92JydBzG8cT7JdPvMUOP4i3bd51St4RGtS5RptdXqd6pIUTO+ +dtxPxYTDas= =7fEm -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: procmail woes
On Mon, Jun 08, 1998 at 03:01:32PM -0400, Paul McDermott wrote: hello my debian user friends, I have just upgraded my hardware and was doing a new install of slink. When it came to configure procmail is where I ran into trouble. These are the versions of procmail and smail smail 3.2.0.101-4.3 Electronic mail transport system. procmail3.10.7-6 Versatile e-mail processor. here is my .forward file |IFS=' 'exec /usr/bin/procmail -f-||exit 75 #paul here is my .procmailrc file (this is simplified debian of course) PATH=/bin:/usr/bin:/usr/local/bin MAILDIR=$HOME/Mail ALOGFILE=$MAILDIR/from :0 * ^To:.*debian Debian :0 * ^Resent-From:.*debian Debian Any help would be greatly appreciated. I think that I have things set up correctly but obviously i don't. # Sorts the mailing lists :0: * ^X-Mailing-List:[EMAIL PROTECTED] debian-user/ :0: * ^X-Mailing-List:[EMAIL PROTECTED] debian-mentors/ :0: * ^X-Mailing-List:[EMAIL PROTECTED] debian-devel/ :0: * ^X-Mailing-List:[EMAIL PROTECTED] debian-announce/ :0: * ^X-Mailing-List:[EMAIL PROTECTED] debian-security-announce/ pgppzhlYLtOMl.pgp Description: PGP signature
Re: procmail woes
-BEGIN PGP SIGNED MESSAGE- On Mon, 8 Jun 1998, Paul McDermott wrote: hello my debian user friends, I have just upgraded my hardware and was doing a new install of slink. When it came to configure procmail is where I ran into trouble. These are the versions of procmail and smail smail 3.2.0.101-4.3 Electronic mail transport system. procmail3.10.7-6 Versatile e-mail processor. here is my .forward file |IFS=' 'exec /usr/bin/procmail -f-||exit 75 #paul here is my .procmailrc file (this is simplified debian of course) [...] Your .procmailrc file looks ok to me, as long as you have a $HOME/Mail directory. It may be a bug in smail. To be sure, do the following: mv .procmailrc .procmailrc.not.yet so that all mail go to /var/spool/mail. This way you will know whether procmail does the deliver right or not. -BEGIN PGP SIGNATURE- Version: 2.6.3ia Charset: latin1 iQCVAgUBNX0LHCqK7IlOjMLFAQE97gQAmqYdzvpydsNsDVFZ+1VMO3nYrDkEBVsy jgWvDT5+Z6ke4WarrJtF9jG/Yhwh35HOa4sV5jAswAvSM6v8uR3ynGYomnXXsWpu ulr75VtUvlS6Z/fFJtebQgxNAWAwHFkz4TOIsyahRb5YkqHYgxCAqBJQEg5TS7S1 5SqNr3lmGJA= =GGy4 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: procmail woes
hello Santiago, I did as you suggested mv .procmailrc to .procmailrc.not.yet and i still get mail delivered to my main mail box. Just a side not when i had the .procmailrc file i did have the Mail directory and still i got mail delivered to my main mail box or inbox. Do you know of any solution that I can use to make procmail, smail and pine work? Thanks again for your suggestion. Paul On Tue, 9 Jun 1998, Santiago Vila Doncel wrote: -BEGIN PGP SIGNED MESSAGE- On Mon, 8 Jun 1998, Paul McDermott wrote: hello my debian user friends, I have just upgraded my hardware and was doing a new install of slink. When it came to configure procmail is where I ran into trouble. These are the versions of procmail and smail smail 3.2.0.101-4.3 Electronic mail transport system. procmail3.10.7-6 Versatile e-mail processor. here is my .forward file |IFS=' 'exec /usr/bin/procmail -f-||exit 75 #paul here is my .procmailrc file (this is simplified debian of course) [...] Your .procmailrc file looks ok to me, as long as you have a $HOME/Mail directory. It may be a bug in smail. To be sure, do the following: mv .procmailrc .procmailrc.not.yet so that all mail go to /var/spool/mail. This way you will know whether procmail does the deliver right or not. -BEGIN PGP SIGNATURE- Version: 2.6.3ia Charset: latin1 iQCVAgUBNX0LHCqK7IlOjMLFAQE97gQAmqYdzvpydsNsDVFZ+1VMO3nYrDkEBVsy jgWvDT5+Z6ke4WarrJtF9jG/Yhwh35HOa4sV5jAswAvSM6v8uR3ynGYomnXXsWpu ulr75VtUvlS6Z/fFJtebQgxNAWAwHFkz4TOIsyahRb5YkqHYgxCAqBJQEg5TS7S1 5SqNr3lmGJA= =GGy4 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: procmail woes
-BEGIN PGP SIGNED MESSAGE- I would try mail -v paul to see what smail exactly does. When there is no .procmailrc file, procmail should do the delivery as usual (i.e. everything to /var/spool/mail). You can test your .procmailrc rules separately by doing something like cat mbox | formail -s procmail see the log file for details. [ BTW: Please fix your e-mail address, the current one bounces... ]. -BEGIN PGP SIGNATURE- Version: 2.6.3ia Charset: latin1 iQCVAgUBNX0vyyqK7IlOjMLFAQEPDwP/WL7ThamhtNSeRymPCi6fk7karneabwlK HiztVb0Ae+DtYpRz0rwh2WriYfQ91YE747Eo5EmJkSsf3WNNt1r0sCM0LJJICrnm Aq4+s8vqFTNZ8tah8W4ChEPL35cr74Nw36PNNk+arCxsChexoRwgLNzz+ltquyvj Racll9o66yA= =fE+V -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
procmail woes
hello my debian user friends, I have just upgraded my hardware and was doing a new install of slink. When it came to configure procmail is where I ran into trouble. These are the versions of procmail and smail smail 3.2.0.101-4.3 Electronic mail transport system. procmail3.10.7-6 Versatile e-mail processor. here is my .forward file |IFS=' 'exec /usr/bin/procmail -f-||exit 75 #paul here is my .procmailrc file (this is simplified debian of course) PATH=/bin:/usr/bin:/usr/local/bin MAILDIR=$HOME/Mail ALOGFILE=$MAILDIR/from :0 * ^To:.*debian Debian :0 * ^Resent-From:.*debian Debian Any help would be greatly appreciated. I think that I have things set up correctly but obviously i don't. Paul -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]