Re: [SLE] Fetchmail Configuration Was: Mutt configuration
On Sat, 2002-02-23 at 16:54, Jerry Van Brimmer wrote:
Yep, sure did. Here's my .fetchmailrc:
poll pop3.ispwest.com proto pop3 user jerryvb@ispwest.com pass xxxxxx
Yep, you're right. I too out the @... and the ssl option, and then fetchmail downloaded all my mail. Now, if only I can find it! LOL On 23 Feb 2002 17:06:18 -0500 Michael Scottaline <mscottaline@mail.nbsd.org> wrote: options
ssl ==================================== For the "user" try jerryvb Leave out the @....... HTH, Mike
-- "One can search the brain with a microscope and not find the mind, and can search the stars with a telescope and not find God." -- J. Gustav White
* Jerry Van Brimmer <jerryvb@ispwest.com> [02-23-02 17:17] crowed:
Yep, you're right. I too out the @... and the ssl option, and then fetchmail downloaded all my mail. Now, if only I can find it! LOL
Try /var/spool/yourSystemLogOnName
Yep, sure did. Here's my .fetchmailrc:
poll pop3.ispwest.com proto pop3 user jerryvb@ispwest.com pass xxxxxx
On Sat, 2002-02-23 at 16:54, Jerry Van Brimmer wrote: options
ssl ==================================== For the "user" try jerryvb Leave out the @....... HTH, Mike
-- Pat Shanahan Registered Linux User #207535 Registered at: http://counter.li.org
* Pat <4july65@linuxfreemail.com> [02-23-02 17:53] crowed:
* Jerry Van Brimmer <jerryvb@ispwest.com> [02-23-02 17:17] crowed:
Yep, you're right. I too out the @... and the ssl option, and then fetchmail downloaded all my mail. Now, if only I can find it! LOL
Try /var/spool/yourSystemLogOnName
that should be /var/spool/mail/yourSystem LongOnName
Yep, sure did. Here's my .fetchmailrc:
poll pop3.ispwest.com proto pop3 user jerryvb@ispwest.com pass xxxxxx
On Sat, 2002-02-23 at 16:54, Jerry Van Brimmer wrote: options
ssl ==================================== For the "user" try jerryvb Leave out the @....... HTH, Mike
-- Pat Shanahan Registered Linux User #207535 Registered at: http://counter.li.org
/var/spool/mail/jerry is a 0 (zero) byte file: jerry@linux:/var/spool/mail> ls -l total 56 -rw-rw---- 1 jerry root 0 Jan 6 15:31 jerry -rw------- 1 root root 50932 Nov 16 23:18 root jerry@linux:/var/spool/mail> Where else could it be? On Sat, 23 Feb 2002 18:04:06 -0500 pat <4july65@linuxfreemail.com> wrote:
* Pat <4july65@linuxfreemail.com> [02-23-02 17:53] crowed:
* Jerry Van Brimmer <jerryvb@ispwest.com> [02-23-02 17:17] crowed:
Yep, you're right. I too out the @... and the ssl option, and then fetchmail downloaded all my mail. Now, if only I can find it! LOL
Try /var/spool/yourSystemLogOnName
that should be /var/spool/mail/yourSystem LongOnName
Yep, sure did. Here's my .fetchmailrc:
poll pop3.ispwest.com proto pop3 user jerryvb@ispwest.com pass xxxxxx
On Sat, 2002-02-23 at 16:54, Jerry Van Brimmer wrote: options
ssl ==================================== For the "user" try jerryvb Leave out the @....... HTH, Mike
-- Pat Shanahan Registered Linux User #207535 Registered at: http://counter.li.org
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
I found them. Fetchmail put them in /var/spool/mqueue, which is only readable by root. Why did it do that? I ran fetchmail as user jerry. How can I read the mail? On Sat, 23 Feb 2002 18:04:06 -0500 pat <4july65@linuxfreemail.com> wrote:
* Pat <4july65@linuxfreemail.com> [02-23-02 17:53] crowed:
* Jerry Van Brimmer <jerryvb@ispwest.com> [02-23-02 17:17] crowed:
Yep, you're right. I too out the @... and the ssl option, and then fetchmail downloaded all my mail. Now, if only I can find it! LOL
Try /var/spool/yourSystemLogOnName
that should be /var/spool/mail/yourSystem LongOnName
Yep, sure did. Here's my .fetchmailrc:
poll pop3.ispwest.com proto pop3 user jerryvb@ispwest.com pass xxxxxx
On Sat, 2002-02-23 at 16:54, Jerry Van Brimmer wrote: options
ssl ==================================== For the "user" try jerryvb Leave out the @....... HTH, Mike
-- Pat Shanahan Registered Linux User #207535 Registered at: http://counter.li.org
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
On Sat, 23 Feb 2002 18:58:31 -0800 Jerry Van Brimmer <jerryvb@ispwest.com> wrote:
I found them. Fetchmail put them in /var/spool/mqueue, which is only readable by root. Why did it do that? I ran fetchmail as user jerry. How can I read the mail?
fetchmail did not do that, but sendmail did, you should use like ben recommended procmail to place your mail fetchmail gets it pass it to sendmail/or postfix/ and then to procmail
Jerry Van Brimmer wrote:
I found them. Fetchmail put them in /var/spool/mqueue, which is only readable by root. Why did it do that? I ran fetchmail as user jerry. How can I read the mail?
It will go to your mailbox if you have sendmail setup to send immediately instead of queueing. Or, as root, sendmail -q will 'deliver' your mail to your local mailbox. -- Joe & Sesil Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: www.mydestiny.net/~joe_morris Registered Linux user 231871
You can also force the mail into your home directory by specifing it in the .fetchmailrc. If you specify procmail as your MDA then fetchmail will never talk to sendmail or any other MTA. You have to specify it like this though... example: -- mda "/usr/bin/procmail -d %T" -- If you do the above then once fetchmail gets the mail it will hand it off to procmail and it will put it where you specify in the .procmailrc. If you don't wish to have tons of filters and procmail putting each mail into specific folders and you just want it all in an inbox type of file.. you can just put this in your .procmailrc... -- PATH=/usr/local/bin:/usr/bin:. MAILDIR=$HOME/Mail LOGFILE=$HOME/.procmail_log VERBOSE=no # Default place for anything not filtered. :0 * Incoming -- I would also specify your default mailbox in either your .bashrc or whatever shell you use. example: MAIL=$HOME/Mail/Incoming (or inbox) This works pretty well for me. You can get more complicated with procmail when you get the hang of it..mine is much to big to show all of it here, but if you go to the procmail site you will get a really good idea of what to do. Cheers -----=====-----=====-----=====-----=====----- Ben Rosenberg mailto:ben@whack.org -----=====-----=====-----=====-----=====----- "I've never been quarantined. But the more I look around the more I think it might not be a bad thing." -JC
Thanks so much Ben, this helps a whole bunch. I was wondering how to give the mail to procmail. Thanks again! On Sat, 23 Feb 2002 22:19:06 -0800 Ben Rosenberg <ben@whack.org> wrote:
You can also force the mail into your home directory by specifing it in the .fetchmailrc. If you specify procmail as your MDA then fetchmail will never talk to sendmail or any other MTA. You have to specify it like this though...
example:
-- mda "/usr/bin/procmail -d %T" --
If you do the above then once fetchmail gets the mail it will hand it off to procmail and it will put it where you specify in the .procmailrc. If you don't wish to have tons of filters and procmail putting each mail into specific folders and you just want it all in an inbox type of file.. you can just put this in your .procmailrc...
-- PATH=/usr/local/bin:/usr/bin:. MAILDIR=$HOME/Mail LOGFILE=$HOME/.procmail_log VERBOSE=no
# Default place for anything not filtered. :0 * Incoming --
I would also specify your default mailbox in either your .bashrc or whatever shell you use.
example: MAIL=$HOME/Mail/Incoming (or inbox)
This works pretty well for me. You can get more complicated with procmail when you get the hang of it..mine is much to big to show all of it here, but if you go to the procmail site you will get a really good idea of what to do.
Cheers
-----=====-----=====-----=====-----=====----- Ben Rosenberg mailto:ben@whack.org -----=====-----=====-----=====-----=====----- "I've never been quarantined. But the more I look around the more I think it might not be a bad thing." -JC
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
No problem. Just look at the files I sent you and you should be all good. I really like the Mutt, fetchmail, procmail and sendmail combo. It works so well for me. I've not had many issues AT all..least of all what KMail did to my inbox last week. I'm still sore at that POS for doing that. :) -----=====-----=====-----=====-----=====----- Ben Rosenberg mailto:ben@whack.org -----=====-----=====-----=====-----=====----- "I've never been quarantined. But the more I look around the more I think it might not be a bad thing." -JC
I'm making some progress with fetchmail/procmail/mutt. However, every time I start Mutt it want to open /var/mail/jerry as the mailbox. Mutt gives me the nasty error message that says: /var/mail/jerry is not a mailbox. However, in my .muttrc file I have this entry: set folder=$HOME/Mail And, I do have a ~/Mail directory. How do I tell Mutt to open this one? Thanks On Sat, 23 Feb 2002 22:32:30 -0800 Ben Rosenberg <ben@whack.org> wrote:
No problem. Just look at the files I sent you and you should be all good. I really like the Mutt, fetchmail, procmail and sendmail combo. It works so well for me. I've not had many issues AT all..least of all what KMail did to my inbox last week. I'm still sore at that POS for doing that. :)
-----=====-----=====-----=====-----=====----- Ben Rosenberg mailto:ben@whack.org -----=====-----=====-----=====-----=====----- "I've never been quarantined. But the more I look around the more I think it might not be a bad thing." -JC
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
* Jerry Van Brimmer (jerryvb@ispwest.com) [020224 14:30]: ->I'm making some progress with fetchmail/procmail/mutt. However, every time I ->start Mutt it want to open /var/mail/jerry as the mailbox. Mutt gives me the ->nasty error message that says: /var/mail/jerry is not a mailbox. However, in my ->.muttrc file I have this entry: -> ->set folder=$HOME/Mail -> ->And, I do have a ~/Mail directory. How do I tell Mutt to open this one? Which is why I have this in my .zshrc :) export MAIL=$HOME/Mail/Incoming It matches the entry in the procmailrc that puts all mail unless otherwise specified into ~/Mail/Incoming :) You can put this in your .bashrc MAIL=$HOME/Mail/Incoming Whatever you name your inbox..replace Incoming with that. It doesn't matter what you name it. You could name in "crap-from-the-outside-world" and this method will work :) Cheers, -----=====-----=====-----=====-----=====----- Ben Rosenberg mailto:ben@whack.org -----=====-----=====-----=====-----=====----- "I've never been quarantined. But the more I look around the more I think it might not be a bad thing." -JC
OK, thanks Ben. I'll do that right now. Do I have to restart Linux after I change the .bashrc file? On Sun, 24 Feb 2002 14:36:24 -0800 Ben Rosenberg <ben@whack.org> wrote:
* Jerry Van Brimmer (jerryvb@ispwest.com) [020224 14:30]: ->I'm making some progress with fetchmail/procmail/mutt. However, every time I ->start Mutt it want to open /var/mail/jerry as the mailbox. Mutt gives me the ->nasty error message that says: /var/mail/jerry is not a mailbox. However, in my->.muttrc file I have this entry: -> ->set folder=$HOME/Mail -> ->And, I do have a ~/Mail directory. How do I tell Mutt to open this one?
Which is why I have this in my .zshrc :)
export MAIL=$HOME/Mail/Incoming
It matches the entry in the procmailrc that puts all mail unless otherwise specified into ~/Mail/Incoming :)
You can put this in your .bashrc
MAIL=$HOME/Mail/Incoming
Whatever you name your inbox..replace Incoming with that. It doesn't matter what you name it. You could name in "crap-from-the-outside-world" and this method will work :)
Cheers, -----=====-----=====-----=====-----=====----- Ben Rosenberg mailto:ben@whack.org -----=====-----=====-----=====-----=====----- "I've never been quarantined. But the more I look around the more I think it might not be a bad thing." -JC
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
* Jerry Van Brimmer (jerryvb@ispwest.com) [020224 14:43]: ->OK, thanks Ben. I'll do that right now. Do I have to restart Linux after I ->change the .bashrc file? Nope..you only have to restart Linux if it's a kernel upgrade or a hardware upgrade :) You should just logout and log back in. If you have fetchmail running in daemon mode then I would execute 'fetchmail -q' and once you log back in you can do a 'fetchmail -a' and get all your mail. You can mv that file that contains all your mail you downloaded yesterday into ~/Mail and use that as the Incoming file...then move the mail to various directories as you see fit. -----=====-----=====-----=====-----=====----- Ben Rosenberg mailto:ben@whack.org -----=====-----=====-----=====-----=====----- "I've never been quarantined. But the more I look around the more I think it might not be a bad thing." -JC
participants (5)
-
Ben Rosenberg
-
Jerry Van Brimmer
-
Joe & Sesil Morris (NTM)
-
Landy Roman
-
pat