Re: sendmail/cyrus deliver not to subdomain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martin Schweizer <schweizer.martin@xxxxxxxxx> wrote:
> 2009/10/30 Andrzej Adam Filip <anfi@xxxxxxx>:
>> Martin Schweizer <schweizer.martin@xxxxxxxxx> 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@xxxxxxxxxx>... 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@xxxxxxxxxx>... User unknown (hold)
>>> Oct 30 17:42:56 acsvfbsd06 sm-mta[11922]: n9UGguri011920:
>>> to=<abc@xxxxxxxxxx>, 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@xxxxxx>... aliased to martin@xxxxxx
>>> Oct 30 17:42:56 acsvfbsd06 sm-mta[11922]: n9UGguri011920: alias
>>> <mschweizer@xxxxxx> => martin@xxxxxx
>>> 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@xxxxxxxxx Using cached LMTP connection to localhost via
>>> cyrusv2...
>>>
>>> Is seems that abc@xxxxxxxxxx is unknown but if I  lm *@sub.abc.ch I
>>> get user.abc@xxxxxxxxxx (\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@xxxxxxxxxx
>>
>>
>> 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/
>
> 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?

How have you integrated cyrus mailer and sendmail?

Do you you use cyruvv2 as "local mailer"?
  define(confLOCAL_MAILER,...)
YES => sendmail.cf  strips recipients domain anyway before selecting
  local mailer or its substitute.

-- 
[pl>en: Andrew] Andrzej Adam Filip : anfi@xxxxxxx
When there are two conflicting versions of the story, the wise course
is to believe the one in which people appear at their worst.
  -- H. Allen Smith, "Let the Crabgrass Grow"
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux