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

Some mailbox tricks: hashes, CYRUS, PROCMAIL




> > btw: anybody tried to configure procmail as mail delivery program ?
> > I need to put something in sm.conf but what ? :)
...
	I combined several suggestions I have seen lately
	sent to me, or to the list at large.  These entries
	are from the  proto/ -directory files (of my current
	sources, not on 2.99.42):

	... and if you can manage to accept the way the
	qpopper et.al. do "directory hashes" per default,
	the default "mailbox" is usable too to make the
	subdirs when you use "-D" -option (dirhashes).
	With one (-D) you get  MAILBOX/u/user, and with
	two (-DD) you will get:  MAILBOX/u/s/user

---------- for scheduler.conf --------
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="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"
---------- for  sm.conf --------------
#
# the following entries are included to illustrate other possibilities
#
#local	mS	/usr/lib/mail/localm		localm -r $g $u
cyrus	Pn	/usr/cyrus/bin/deliver		deliver $u
#		# CYRUS example from: Tom Samplonius <tom@sdf.com>
procm	sSPfn	/usr/local/bin/procmail		procmail -a $h -d $u
#		# Procmail example from: Ken Pizzini <ken@spry.com>
#
--------------------------------------

	/Matti Aarnio -- currently wondering, why the SMTP-server's
			 VRFY keeps giving mixed answers... Gearing
			 to use heavy-duty debuggers at nic.funet.fi ...