sendmail+cyrus: checking users during receiving mail for unexisted users

Leonid mailing-lists at parusbc.ru
Thu Mar 20 01:45:30 EST 2003


DID anybody try?


add strings sendmail.cf.

MAILER(cyrus)dnldivert(0)
HACK(cyrususers)dnl

hack:

VERSIONID(`$Id$')
LOCAL_CONFIG
F{cyrususers}-o |/usr/local/bin/sasldblistusers user: %[^ ]
divert(-1)
# Add rule to the end of ruleset 98 ( local hack for ruleset 0 )  
divert(0)
LOCAL_RULE_0
# Deliver mails through cyrus mailer for imap users.
R$={cyrususers} < @ $=w . >$#cyrus $: $1
R$={cyrususers}                         $#cyrus $: $1





More information about the Info-cyrus mailing list