I took the yesterday's cyrus 2.2 cvs branch to test virtual hosting
ability with sendmail.
I configure imapd.conf with virtdomains: yes and defaultdomain.
I defined one defaultdomain which is the local domain of the machine and
2 test domains using the host as mx.

domain: test.testdomain.com
domain: test1.testdomain.com
every virtual domain has it's own mx privided by dns and pointed to the
same ip address. (fqdn of mx mail.<vdomain>.testdomain.com).
So i am using one IP for different domains.
For authentication purposes, i use sasldb with users defined in the
specified domain.like:
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The authentication works properly and even though the mailock is ready.
That means for me that the setup should be right to go on.
I use sendmail 8.12.7 with the cyrusv2.m4 provided by Kenneth Murchison.
My sendmail.mc is provided on the end of the mail.
Delivering to the defaultdomain works properly.
But deliviering to the virtual domains fails.
Lmtp says: (sendmail -v [EMAIL PROTECTED])

Feb 25 13:52:35 testserver sm-mta[7229]: h1PCqZuj007227:
to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00,
mailer=cyrusv2, pri=120325, relay=localhost, dsn=5.1.1, stat=User
unknown
Feb 25 13:52:35 testserver sm-mta[7229]: h1PCqZuj007227: h1PCqZuj007229:
DSN: User unknown
Feb 25 13:52:35 testserver master[7230]: about to exec
/usr/cyrus/bin/lmtpd


Imapd.log show that:
Feb 25 13:52:35 testserver lmtpunix[6680]: append_check() of
'user.test1' failed

Why the lmtpunix doesn't show the fqdn of the user ?
([EMAIL PROTECTED])

My question now is: How can i tell ltmp to use the fqdn provided by
sendmail ?

I read the info archiv that i have to change the sendmail.mc file but
with no success.


Any help will be appreciated.

Thx.

Franz



sendmail.mc strip:

define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')
define(`confTO_IDENT',`0')
define(`confTRUSTED_USER', `cyrus')
define(`confLOCAL_MAILER', `cyrusv2')
define(`CYRUSV2_MAILER_ARGS', `FILE /var/imap/socket/lmtp')dnl
LOCAL_CONFIG
FEATURE(`masquerade_envelope')dnl
LOCAL_CONFIG
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
FEATURE(`smrsh')dnl
FEATURE(`preserve_local_plus_detail')dnl
FEATURE(`nocanonify')dnl
FEATURE(`always_add_domain')dnl
include(`/etc/mail/dialup.m4')dnl
include(`/etc/mail/provider.m4')dnl
MAILER_DEFINITIONS
MAILER(cyrusv2)dnl
MAILER(smtp)dnl





-- 
--
Franz Skale
Systems Engineer 
Cubit IT Solutions GmbH.
Albertgasse 43
A-1080 Wien
Tel.: ++43 1 718 98 80 - 0
Fax.: ++43 1 718 98 80 - 11
email: [EMAIL PROTECTED]

Reply via email to