[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim + Procmail + Mutt



~ Exim is kind of like a MTA+MDA in one; to a degree, it does what
~ smail+procmail does.

I fear that the "to a degree" bit will be meaningful here.

~ That in mind, you can uninstall procmail, and have exim do all of your
~ mail sorting.  (You'll need take your procmail recipies, convert them
~ to exim's language, and stick them in your ~/.forward.)

Just a bit lost here... all I have to do is create an empty ~/.forward
file, and rewrite my procmail recipes into it?  is that all, or do I
have to tell exim to look for (and where is) .forward?

~ For example, here is what I have in my ~/.forward to filter this
~ mailing lists' posts:

~ # Exim filter
~ #  take care of mailing list debian-user
~ if
~    $header_X-Mailing-List: contains debian-user@lists.debian.org
~ then
~    save <my_mail_directory>/debian-user
~ finish
~ endif
~ # enf of debian-user filter

~ This works, although I think I liked smail+procmail better,
~ personally.  <shrug>

Agreed... well, sort of;  may be exim works better than smail, and I'll
probably be glad I changed the MTA, but somehow I feel uncomfortable
with droping procmail as my MDA.  Ummh, I think I'll try to get by with
Exim for a while until I learn how to install and configure Qmail, which
I think it interacts well with Procmail.

Meanwhile, I used to have this in my ~/.procmailrc:

PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:.
MAILDIR=~/Mail
LOGDIR=/var/log
DEFAULT=$MAILDIR/mbox
LOGFILE=$LOGDIR/procmail.log
LOCKFILE=$HOME/.lockmail

which would make mail go to ~/Mail/ instead of /var/spool/mail/user, and
then the tipical procmail recipes to process mail to the different
mailboxes within ~/Mail/;  and ~/Mail/mbox as the default mailbox where
non rule processed mail would go to... I see this bit in /etc/exim.conf:

local_delivery:
  driver = appendfile
  group = mail
  mode = 0660
  mode_fail_narrower = false
  file = /var/spool/mail/${local_part}

I hope changing it to:

file = ~/Mail/mbox

will work... not sure... I'll give it a try... NO!  it didn't work:

1999-05-08 16:36:39 Exim configuration error for local_delivery
transport:
  the file option must specify an absolute path
  Error al mandar mensaje, 1 ().
  Presione una tecla para continuar...
(Error to send message, 1 ()
Press a key to continue...)

Let's see with the full /home/horacio/Mail/mbox path

Thanks

Horacio


Reply to: