sendmail/cyrus deliver not to subdomain

Martin Schweizer schweizer.martin at gmail.com
Thu Nov 5 11:00:27 EST 2009


Hello Andrzej

Thank you for the hint. I did what you suggested (install the new
mailer, clean the mailertable) but I get the same result as before. If
I created a user.abc (without any domain part) the mail was received.
Any ideas?

Regards,

2009/10/30 Andrzej Adam Filip <anfi at onet.eu>:
> Martin Schweizer <schweizer.martin at gmail.com> wrote:
>> Hello
>>
>> My setup is FreeBSD 7.2 amd64 and the newest Cyrus Imapd (.15).
>>
>> My cyrus server as the defaultdomain set to abc.ch and I set virtdomains: userid
>> . All users works a expected. Now I want to receive additionaly mails
>> for sub.abc.ch. In sendmail set all the necessary entries in access. I
>> also set in mailtable
>>
>> sub.abc.ch  cyrusv2:/usr/imap/var/imap/socket/lmtp
>>
>> In maillog I get:
>>
>> Oct 30 17:42:56 acsvfbsd06 sm-mta[11922]: n9UGguri011920: --- 050
>> <abc at sub.abc.ch>... Connecting to /usr/imap/var/imap/socket/lmtp via
>> cyrusv2...
>> Oct 30 17:42:56 acsvfbsd06 sm-mta[11920]: n9UGguri011920: --- 250
>> 2.0.0 n9UGguri011920 Message accepted for delivery
>> Oct 30 17:42:56 acsvfbsd06 sm-mta[11920]: STARTTLS=read, info: fds=8/4, err=2
>> Oct 30 17:42:56 acsvfbsd06 sm-mta[11920]: n9UGgurj011920: <-- QUIT
>> Oct 30 17:42:56 acsvfbsd06 sm-mta[11920]: n9UGgurj011920: --- 221
>> 2.0.0 acsvfbsd06.abc.ch closing connection
>> Oct 30 17:42:56 acsvfbsd06 sm-mta[11920]: STARTTLS=server, SSL_shutdown not done
>> Oct 30 17:42:56 acsvfbsd06 sm-mta[11922]: STARTTLS: CRLFile missing
>> Oct 30 17:42:56 acsvfbsd06 sm-mta[11922]: STARTTLS=client, init=1
>> Oct 30 17:42:56 acsvfbsd06 sm-mta[11922]: AUTH=client,
>> relay=localhost, mech=, bits=0
>> Oct 30 17:42:56 acsvfbsd06 sm-mta[11922]: n9UGguri011920: --- 550
>> 5.1.1 <abc at sub.abc.ch>... User unknown (hold)
>> Oct 30 17:42:56 acsvfbsd06 sm-mta[11922]: n9UGguri011920:
>> to=<abc at sub.abc.ch>, delay=00:00:00, xdelay=00:00:00, mailer=cyrusv2,
>> pri=30344, relay=localhost, dsn=5.1.1, stat=User unknown
>> Oct 30 17:42:56 acsvfbsd06 sm-mta[11922]: n9UGguri011920: --- 050
>> <mschweizer at abc.ch>... aliased to martin at abc.ch
>> Oct 30 17:42:56 acsvfbsd06 sm-mta[11922]: n9UGguri011920: alias
>> <mschweizer at abc.ch> => martin at abc.ch
>> Oct 30 17:42:56 acsvfbsd06 sm-mta[11922]: n9UGguri011920:
>> n9UGgurh011922: DSN: User unknown
>> Oct 30 17:42:56 acsvfbsd06 sm-mta[11922]: n9UGgurh011922: --- 050
>> martin at abc.ch... Using cached LMTP connection to localhost via
>> cyrusv2...
>>
>> Is seems that abc at sub.abc.ch is unknown but if I  lm *@sub.abc.ch I
>> get user.abc at sub.abc.ch (\HasNoChildren).
>>
>> What Do I wrong? Or did I missunderstood something?
>
> *IF* you use unmodified cyrusv2 mailer provided by sendmail.org
> *THEN* be warned that it "strips" domain part of the recipient address.
>
> You may test it by sending test mail in verbose mode as root - it should
> show you trace of LMTP session:
>
> (echo subject: test; echo)|sendmail -Am -v -- abc at sub.abc.ch
>
>
> BTW you can not set "lmtp socket path" via mailertable in the above
> mentioned mailer.
>
> URL(s):
> http://anfi.homeunix.org/sendmail/cyrusv2.html
> http://open-sendmail.sourceforge.net/rtcyrus3/
>
> --
> [pl>en: Andrew] Andrzej Adam Filip : anfi at onet.eu
> Thank goodness modern convenience is a thing of the remote future.
>  -- Pogo, by Walt Kelly
>



-- 
Martin Schweizer
schweizer.martin at gmail.com
Tel.: +41 32 512 48 54 (VoIP)
Fax: +1 619 3300587


More information about the Info-cyrus mailing list