Fwd: Problem with cyrus and "virtdomains" option

Hank Beatty hbeatty.lists at earthlink.net
Mon Jun 16 09:09:20 EDT 2003


On Mon, 2003-06-16 at 06:44, Marco Pizzi wrote:
> Hello again,
> 
> It looks like that sendmail strips away the domain of the receiver when it is
> recognized as local.
> Have you ever encountered this problem?

Here is a portion of my sendmail.mc file that will leave the domain
portion attached for local delivery:

OSTYPE(linux)dnl
define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')dnl
define(`confLOCAL_MAILER', `cyrusv2')dnl
FEATURE(`nocanonify')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`use_cw_file')dnl
MAILER(`local')dnl
MAILER(`smtp')dnl
MAILER(`cyrusv2')dnl
                                                                                
LOCAL_RULE_0
R$=L < @ $=w . >        $: @ $1`@'$2            special local names
R$+ < @ $j . >          $: $1                   leave untouched if @$j
R$+ < @ $=w . >         $: $1`@'$2              regular local name')
Rbb + $+ < @ $=w . >    $#cyrusbb $: $1

-------------------

Please note that this server is not an Internet facing mail server.
Which means that any mail that makes it to this server should be for a
mailbox that is actually on this server.

Regards,
-- 
Hank Beatty <hbeatty.lists at earthlink.net>





More information about the Info-cyrus mailing list