LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-07-2008, 03:35 PM   #1
philosophia
Member
 
Registered: Jun 2006
Posts: 54

Rep: Reputation: 15
mutt procmail fetchmail help


I'm having trouble adding a second pop3 account to my mutt/fetchmail/procmail configuration. I have it receiving mail and sending mail to the second pop3 account, but I just have a couple of questions.

-my .muttrc looks like
Code:
set spoolfile = $HOME/mail/inbox        
set folder = $HOME/mail
-my .fetchmailrc looks like
Code:
poll "pop3.first.mailserver.com" # tell fetchmail where to look 
protocol pop3 # we use the POP-protocol 
username "name" ssl # who am i ? 
password " " # passwords are always secret ;-) 
mimedecode # automaticaly deal with mime (attachements) 
mda "/usr/bin/procmail -d %s" # tell fetchmail which MDA to use
poll "pop3.second.mailserver.com" # tell fetchmail where to look
Code:
protocol pop3 # we use the POP-protocol 
username "name" ssl # who am i ? 
password " " # passwords are always secret ;-) 
mimedecode # automaticaly deal with mime (attachements) 
mda "/usr/bin/procmail /home/user/.procmailrc.secondmailserver.com" # tell fetchmail which MDA to use
-my .procmailrc.secondmailserver.com looks like
Code:
LINEBUF=4096
VERBOSE=no
PMDIR=$HOME/.procmail
INCLUDERC=$PMDIR/rc.maillists
HOME=/home/rjm # where is our homedir
MAILDIR=$HOME/mail/
SENDMAIL=/usr/sbin/sendmail
DEFAULT=/var/spool/mail/inbox.secondmailserver.com # what is the default place to store mail
LOGFILE=$PMDIR/.procmaillog.secondmailserver.com # keep a log

-my .procmail/rc.maillists looks like
Code:
:0:
* ^To:.*user@second.mailserver.com
/home/user/mail/user@second.mailserver.com
I'm able to send and receive mail for my user@second.mailserver.com account. But the second.mailserver.com mail is being spooled to $HOME/mail/user@second.mailserver.com instead of what I have configured in my .procmailrc.secondmailserver.com file (DEFAULT=/var/spool/mail/inbox.secondmailserver.com). It looks like procmail is not logging to $PMDIR/.procmaillog.secondmailserver.com. Any ideas on why this is going on?

Last edited by philosophia; 04-08-2008 at 02:24 PM.
 
Old 04-08-2008, 02:24 PM   #2
philosophia
Member
 
Registered: Jun 2006
Posts: 54

Original Poster
Rep: Reputation: 15
Any ideas?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
procmail, mutt, evolution, fetchmail fakie_flip Linux - Software 3 10-15-2007 01:12 PM
Help with mutt/procmail/fetchmail configs evilchild Linux - Newbie 1 08-30-2007 09:09 AM
config fetchmail,mutt,procmail,sendmail Tim Johnson Slackware 2 09-15-2006 03:20 PM
(xserver-xfree86 and xdm) (exim4, fetchmail, procmail & mutt) leamassiot Debian 5 12-18-2005 02:59 PM
email from the console (fetchmail/procmail/mutt/postfix) TedMaul Linux - Software 0 03-04-2004 01:07 PM


All times are GMT -5. The time now is 11:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration