Adding w to the mailer flags tells sendmail to check for users in
/etc/passwd before accepting a message. Is there a way to make it check
/etc/sasldb or the imap server for existence of the user instead?

I found some instructions (search for "OT: sendmail.cf and cyrus" from "Dave
Caplinger") in the archives which suggested adding:

> FI/etc/mail/imapusers
>
> LOCAL_RULE_0
> R$=I < @ $=w . >  $#cyrus $: @ $1       imap users at mail go cyrus
> R$=I < @ $=F . $m . >  $#cyrus $: @ $1  imap users at stgt go cyrus
> R$=I     $#cyrus $: @ $1                imap users go cyrus

but this requires keeping the file /etc/mail/imapusers as a complete list,
which seems a waste as this information is already stored elsewhere.

If there is already something that will list existing users one name per
line (as the first whitespace-delimited word, if there is more data then
just the username), I could use FI |/usr/bin/thatprogram to get an up to
date list. (Or would that only be accurate from the time I load sendmail and
miss all updates?)

-
Josh

Reply via email to