Delivering to user@domain versus user@host.domain

Christian Schulte cs at schulte.it
Fri May 23 00:50:43 EDT 2003


Don Doumakes wrote:

>
> On 2003.05.21 21:30:00 -0500 Christian Schulte wrote:
>
>> checkcompat(to=testuser at cannibals.org, from=root)
>> openmailer: TCP [localhost]
>> makeconnection (localhost.cannibals.org. [192.168.1.100].25 (2))
>> makeconnection: fd=6
>> Connect failed (Connection refused by localhost.cannibals.org.)
>> openmailer: makeconnection => stat=75, errno=111
>>
>>
>> I think this is your problem! I know recent versions of sendmail have 
>> better handling of resolving the local host. For me this disappeared 
>> after appending
>>
>> FEATURE(`allways_add_domain`)
>>
>> to my sendmail.mc but updating your sendmail version should also 
>> change that behaviour to something different, I think! Had problems 
>> with this also but do not know exactly how I got rid of. Maybe 
>> because I do sendmail updates regularly and this dissappeared 
>> somewhere after 8.12.7, I think.
>
>
> I think I'm getting closer to it.  Upgraded sendmail to 8.12.8-5.80, 
> found and fixed a mistake with reverse DNS, and added post permission 
> to the test mailbox ACL.  Now I can use deliver to put mail in 
> user.testuser at cannibals.org, which is forward progress, but sendmail 
> still won't do it.  The imapd log says:
>
> May 22 21:57:16 donner master[4989]: about to exec /usr/cyrus/bin/lmtpd
> May 22 21:57:16 donner lmtpunix[4989]: executed
> May 22 21:57:16 donner lmtpunix[4989]: accepted connection
> May 22 21:57:16 donner lmtpunix[4989]: lmtp connection preauth'd as 
> postman
> May 22 21:57:16 donner lmtpunix[4989]: append_check() of 
> 'donner.cannibals.org!user.testuser' failed

> May 22 21:57:16 donner lmtpunix[4989]: append_check() of 
> 'donner.cannibals.org!user.root' failed 

> May 22 21:57:16 donner lmtpunix[4989]: append_check() of 
> 'donner.cannibals.org!user.root' failed
> A previous post from Ken suggests recompiling cyrus-imapd 2.2 with 
> fulldirhash disabled, but I checked and I don't have fulldirhash 
> enabled.  He also suggested putting the domain in the mailertable, 
> which I also did without success.
>
> I'll be tinkering with my sendmail config, and listening for more 
> clues.  :)
>

How does sendmail get its local name ? What happens if you put

LOCAL_CONFIG
Cwcannibals.org

in your sendmail.mc file ? Does that change anything ?

--Christian





More information about the Info-cyrus mailing list