Re: [Exim] Can't have the mail delivered

Pàgina inicial
Delete this message
Reply to this message
Autor: Dave C.
Data:  
A: Arlequín
CC: exim-users
Assumpte: Re: [Exim] Can't have the mail delivered
<-- Warning: charset 'X-UNKNOWN' is not supported -->

On Fri, 6 Sep 2002, [iso-8859-1] Arlequ?n wrote:

> On Fri, Sep 06, 2002 a las 10:30:39AM -0400, Dave C. wrote:
> > On Fri, 6 Sep 2002, gm2853@??? wrote:
> >
> > > On Thu, Sep 05, 2002 a las 11:37:37PM -0400, Dave C. wrote:
> > > >
> >
> > > Dave:
> > > This is a piece of the stdout from exim -d -v -qff
> > >
> > > Exim version 3.35 debug level 1 uid=0 gid=0
> > > Berkeley DB: Sleepycat Software: Berkeley DB 2.7.7: (08/20/99)
> > > Single queue run
> > > LOG: 0 MAIN
> > > Start queue run: pid=1077 -qff
> > > delivering message 17nGK8-0004Xu-00 (queue run pid 1077 fd 5)
> > > LOG: 0 MAIN
> > > Unfrozen by forced delivery
> > > LOG: 0 MAIN
> > > ** |IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #myuser
> > > <myuser@???> D=userforward T=address_pipe:
> > > "IFS='" command not found for address_pipe transport
> > >
> > >
> > > ..... so, I have this in my .forward file:
> > >
> > > $ cat /home/myuser/.forward
> > > "|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #myuser"
> > >
> > >
> > > Exim says there's a problem in that line but I can't figure it out....
> >
> > Exim doesnt run pipes from .forwards in a shell, it exec's them
> > directly,
> >
> > Its looking to exec a command 'IFS', and can't find one.
> >
> > If you are the exim admin there, you might want to consider integrating
> > procmail directly into the directors, instead of using .forward pipes.
>
> Thanks, Dave.
> I am the exec admin here and want to know how to integrate procmail
> directly into the directors.
>
> Perhaps having no /home/user/.forward file?


Exactly. Exim can detect the .procmailrc file and run procmail directly.

You want to have this before your normal localuser director, or, you can
remove the require_files check, and run procmail always, which should
put it in system default mailbox if there is no .procmailrc.

Here's our exim3 setup.

# Transport:
procmail_pipe:
driver = pipe
delivery_date_add = true
envelope_to_add = true
return_path_add = true
command = "/usr/bin/procmail"
from_hack
user = "${local_part}"
group = mail


# Director
procmail:
driver = localuser
transport = procmail_pipe
no_verify
require_files = ${local_part}:+${home}/.procmailrc


>
> >
> >
> >
> >
> > --
> >
> > ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
> --
> Arlequ?n
> Linux Registered User #207262
> http://counter.li.org/
>