In article <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] (David Stern) writes:
> What format are the /usr/doc/smail/guide/*.gz docs in?  The formatting 
> is hard to read--lots of ".AE", ".NH", ".B", ".PP", .. at the beginning 
> of lines.
Uncompress the contents of /usr/doc/smail/guide to another directory
and: make | less


> 
> Here's a (editted) snip from /var/log/smail:
> ----------------------------------------------
> Received FROM:<+> HOST:localhost PROTOCOL:bsmtp PROGRAM:smail SIZE:1291
> Failed TO:'&&exec DIRECTOR:dotforward ERROR:(ERR100) unknown user
            ^^^^^^^
                here's one problem: no spaces between the elements

> Failed TO:-f-||exit DIRECTOR:dotforward ERROR:(ERR100) unknown user
            ^^^^^^^^^
                more of the same...

> Failed TFailed TO:/usr/bin/procmail DIRECTOR:dotforward TRANSPORT:file 
> ERROR:(ERR133) transport file: failed to open output file: No such file
>      or directory O:75 DIRECTOR:dotforward ERROR:(ERR100) unknown user
> Failed TO:|IFS=' DIRECTOR:dotforward TRANSPORT:pipe ERROR:(ERR144) 
>      transport pipe: child returned status EX_2 (2)
> mail moved to /var/spool/smail/error/0xhjrI-0001y3C
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                    where the mail ended up...

> ----------------------------------------------
That would be smail choking on ~/.forward and leaving the incoming mail
in /var/spool/smail/error/xxx-xxx


> My $HOME/.forward looks like:
> -------------------------------
>|IFS=' '&&exec /usr/bin/procmail -f-||exit 75 #kotsya
> -------------------------------
> 
Try this (note the spaces)

"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #kotsya"


FWIW here's how I hook procmail in /etc/smail/transports

local:  return_path, local, from, driver=pipe; user=root,
        cmd="/usr/bin/procmail -d $($user$)"

This eliminates the need for a ~/.forward.  But it does result in
the /var/spool/mail/user system of delivery.
-- 
                                       _ _                  
Steve Kostecke                        | (_)_ __  _   ___  __
[EMAIL PROTECTED]                    | | | '_ \| | | \ \/ /
http://kostecke.home.ml.org           | | | | | | |_| |>  < 
                                      |_|_|_| |_|\__,_/_/\_\


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to