Re: [sendmail,cyrus,LUSER_RELAY] Mail sorting question

This is a discussion on Re: [sendmail,cyrus,LUSER_RELAY] Mail sorting question within the IMAP forums in Other Technologies category; "J.J. Day" <NOSPAM..Day.j...@gmail.com> wrote: > 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. The documentation > and postings specify the use of: > define(`LUSER_RELAY',`local:someu...@your.domain') > for this purpose. I added > define(`LUSER_RELAY',`local:catch...@mail.domain.i nt') > but I have not been able to get it to work. (I also remade the cf file > and restarted sendmail of course.) ...

Go Back   Application Development Forum > Other Technologies > IMAP

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 03-23-2008, 08:18 PM
Andrzej Adam Filip
Guest
 
Default Re: [sendmail,cyrus,LUSER_RELAY] Mail sorting question

"J.J. Day" <NOSPAM..Day.j...@gmail.com> wrote:
> 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. The documentation
> and postings specify the use of:
> define(`LUSER_RELAY',`local:someu...@your.domain')
> for this purpose. I added
> define(`LUSER_RELAY',`local:catch...@mail.domain.i nt')
> but I have not been able to get it to work. (I also remade the cf file
> and restarted sendmail of course.)
>
> I don't know if any of features implemented have any effect on the
> LUSER_RELAY behaviour, but the following may be relavent:
> - All accounts are in cyrus SASL
> - No mail users have logon accounts on the server.
> - The catchall user and mailbox have been created with cyrus and can
> receive mail when addressed to it
> - The mail server is in an internal domain behind a firewall
> - masquerade_as is specified as the public domain with
> allmasquerade and masquerade_envelope features specified
> - relay_domain clauses are specified for both the internal and public
> domains
> - local-host-names lists the internal and public domain names with and
> without the hosts specified
>
> This will obviously let a lot of trash into the system. So, as part of
> the project, I would also like to redirect all messages marked as spam by
> SpamAssassin to a separate mailbox and anything identified by MIMEDefang
> as containing a virus to a third mailbox.
>
> But first,
>
> From this, can anyone tell me what I have done wrong and how to make the
> LUSER_RELAY function?


Which method of cyrus & sendmail integration do you use in sendmail.cf?

Standard implementation of LUSER_RELAY in sendmail.cf has been designed
for "OS accounts based local mailer" - achieving similar functionality
for "OS account less" mailbox system requires some "tweaking".

You can easily modify RTCyrus available at
http://open-sendmail.sourceforge.net/ to get
LUSER_RELAY functionality - in FEATURE(`anfi/vcyrus') replace error
mailer for "user unknown" with selecting specific cyrus mailbox.

--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/
Business is a good game -- lots of competition and minimum of rules.
You keep score with money.
-- Nolan Bushnell, founder of Atari
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 01:49 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.