opensmtpd: procmail: not found
Herbert J. Skuhra
herbert at oslo.ath.cx
Tue Jan 27 08:32:28 UTC 2015
On Mon, Jan 26, 2015 at 11:54:09PM +0000, opendaddy at hushmail.com wrote:
> Hello,
>
> On 26. januar 2015 at 8:18 PM, "Herbert J. Skuhra" <herbert at oslo.ath.cx> wrote:
> >
> >To understand why you get this error run:
> >
> >% whereis procmail | xargs -t ls -l
>
> Indeed, similar to the command parv gave me earlier:
>
> # whereis procmail | xargs -t -n1 ls -l
> ls -l procmail:
> ls: procmail:: No such file or directory
Got it?
> ls -l /usr/local/bin/procmail
> -rwsr-sr-x 1 root mail 98224 Oct 3 04:19 /usr/local/bin/procmail
> ls -l /usr/local/man/man1/procmail.1.gz
> -rw-r--r-- 1 root wheel 10793 Oct 3 04:19 /usr/local/man/man1/procmail.1 .gz
>
> >Do you have a .forward file in $HOME with the content "|procmail"?
>
> No, I do not. I just copied my smtpd.conf from OpenBSD where it was all working fine.
>
> I have no idea what's going on here. Why is procmail acting up?
>
> Thanks.
I guess the error does not come from your smtpd.conf, otherwise the log
would show:
Jan 26 14:05:20 mybox smtpd[23304]: delivery: TempFail for
cf077883a36bcae2: from=<od at mybox>, to=<od at mybox>, user=od,
method=mda, delay=1h5m20s, stat=Error ("/usr/local/bin/procmail: not found")
and not:
Jan 26 14:05:20 mybox smtpd[23304]: delivery: TempFail for
cf077883a36bcae2: from=<od at mybox>, to=<od at mybox>, user=od,
method=mda, delay=1h5m20s, stat=Error ("procmail: not found")
At least that's what's happening on my system (FreeBSD 10.1-STABLE).
So obviously something else is calling 'procmail' and /usr/local/bin missing in $PATH!
Maybe 'smtpd -dv' shows more information?
--
Herbert
More information about the freebsd-questions
mailing list