In article <Xns9A6AAC6BA1032dayjayjgmailcom@38.119.100.119> ,
"J.J. Day" <NOSPAM..Day.jayJ@gmail.com> wrote:
> Subject: Re: Mail sorting question
> From: "J.J. Day" <NOSPAM..Day.jayJ@gmail.com>
> Newsgroups: comp.mail.sendmail
>
> Bill Cole <bill@scconsult.com> wrote in news:bill-E297F6.11462123032008
> @news.det.sbcglobal.net:
>
> > In article <Xns9A698A7CC1125dayjayjgmailcom@38.119.100.119> ,
> > "J.J. Day" <NOSPAM..Day.jayJ@gmail.com> wrote:
> >
> >> Hi all,
> >>
> >> I am new to sendmail and have a mailserver using sendmail 8.14.2
> >> with cyrus 2.3. Due to the number of valid mail messages that are
> >> received mis-addressed, I would like to receive all mail for bad
> >> addresses to a catchall mailbox for review rather than bounce them.
> >
> > Is that a reality-based motivation?
>
> Yes
>
> >
> >> The documentation and postings specify the use of:
> >> define(`LUSER_RELAY',`local:someuser@your.domain')
> >> for this purpose. I added
> >> define(`LUSER_RELAY',`local:catchall@mail.domain.i nt')
> >> but I have not been able to get it to work. (
> >>
> >> I don't know if any of features implemented have any effect on the
> >> LUSER_RELAY behaviour, but the following may be relavent:
> >
> >> - No mail users have logon accounts on the server.
> >
> > That's a critical clue.
> >
> > If you use Cyrus and strictly 'virtual' users, Sendmail does not know
> > which user addresses exist and which do not. There are ways to make
> > that information known to Sendmail,
>
> How can I do that?
There are multiple options:
1. Sendmail can use a mailertable with full addresses as keys, and you
could build that table from a list of valid users, routing them to
Cyrus, with a default entry routed to the 'error' mailer.
2. Sendmail has an access map. You could use it to allow relay to Cyrus
for all valid addresses and default the rest of the domain to reject.
3. There is a set of sendmail.cf rules packaged as
'RTCyrus' available via
http://open-sendmail.sourceforge.net/ which is
supposed to check with Cyrus directly.
I have not worked with Cyrus recently so I can't vouch for #1 or #3 and
know that #2 was a pain to maintain many years ago.
--
Now where did I hide that website...