On Tue, Jul 19, 2005 at 03:02:35PM +0200 or thereabouts, Csanyi Pal wrote:
> Hello!
>
> On Tue, Jul 19, 2005 at 08:51:16AM -0400, Steve ? wrote:
> > >
> > I have almost an identical setup with exim4/procmail/fetchmail on Sarge. I
> > don't use a '.forward' file. I simply have a '.fetchmailrc' in my ~/home and a
> > '.procmailrc' in my home. I would suggest you try a similar setup.
>
> Have you in your fetchmailrc this setup: mda 'procmail' ?
>
> I have this one:
> smtp localhost
>
> and I want that that fetchmail give the mails to exim4.
> And then, I want that that exim4 forwards the mails to procmail, but I
> don't know how to do this?
You shouldn't need any reference to SMTP in your procmailrc. All you have to do
is simple. Have a procmailrc and a fetchmailrc in your local user directory. Use
fetchmail via the same user that reads the e-mail.
Here is the start of my '~/home/.procmailrc' file, remember NO .forward file is
needed, you should test it without any rules other than the one shown;
MAILDIR=$HOME/Mail
DEFAULT=$MAILDIR/
LOGFILE=$HOME/Mail/procmaillog
FORMAIL=/usr/bin/formail
SENDMAIL=/usr/sbin/sendmail
:0:
IN.inbox
Fetchmail should automatically hand e-mail off to Exim4. I didn't set up
anything for that to work. If one has a .prcomailrc in their ~/home then, Exim4
should automatically hand it off to procmail.
I'm assuming you're wanting a single drop ? This wouldn't work for a multi-user
setup.
--
Steve A.
-----------------------------------------------
Tuesday Jul 19 2005 09:25:02 EDT
-----------------------------------------------
I never met a man I didn't want to fight.
-- Lyle Alzado, professional football lineman
Attachment:
signature.asc
Description: Digital signature