[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Procmail and Zmailer




Hi,


Thank you for your reply.


> or, put this into sm.conf
> 
> #procm   sSPfn   /usr/local/bin/procmail         procmail -a $h -d $u
> procm   sSPfnm   /usr/local/bin/procmail         procmail -a $h -d $u -t
> #               # Procmail example from: Ken Pizzini <ken@spry.com>

I currently have:

procm	sSPfn	/usr/bin/procmail		procmail -t -a $h -d $u

I found my procmail wanted -t before -d, as it appeared to think -t was then
a user to deliver to.


> and this into scheduler.conf:
> 
> # Local delivery: user mail, files, processes
> local/*
>         interval=1m
>         # want 2 channel slots in case of blockage on one
>         maxchannel=2
>         #
>         # Do MIME text/plain; Quoted-Printable -> text/plain; 8BIT
>         # conversion on flight!
>         command="mailbox -8"
>         # Or with CYRUS server the following might do:
>         #command="sm -8c $channel cyrus"
>         # Or with PROCMAIL as the local delivery agent:
>         #command="sm -8c $channel procm"
> 
> iirc, you can uncomment procm if you define standard delivery to 
> local/file
> local/pipe
> 

I have:

# Local delivery: user mail, files, processes
local/file
	interval=60s
	idlemax=90s
	expiry=3h
	# want 20 channel slots, but only one HOST
	maxchannel=10
	maxring=5
	#
	# Do MIME text/plain; Quoted-Printable -> text/plain; 8BIT
	# conversion on flight!
	command="mailbox -8"
#
local/pipe
	interval=60s
	idlemax=90s
	expiry=3h
	# want 20 channel slots, but only one HOST
	maxchannel=10
	maxring=5
	#
	# Do MIME text/plain; Quoted-Printable -> text/plain; 8BIT
	# conversion on flight!
	command="mailbox -8"
#
local/*
	interval=60s
	idlemax=90s
	expiry=3h
	# want 20 channel slots, but only one HOST
	maxchannel=10
	maxring=5
	#
	# Do MIME text/plain; Quoted-Printable -> text/plain; 8BIT
	# conversion on flight!
	command="sm -8c $channel procm"


But local/file and local/pipe don't appear to be used, procmail still ends
up with |/xyz and /tmp/foobar as user names :-(.


-- 
Darryl Miles