Fw: Re: Virtual domains, user@domain.com: Mailbox unknown

Christopher Paluch cpaluch at mindspring.com
Fri Feb 20 17:14:52 EST 2004


After installing a version of Cyrus that actually supports Virtual Domains (doh!) and getting the sendmail.mc setup properly, it looks like I got it working.  

I still would like to be able to get root mail accepted and sent to the old fashioned /var/spool/mail files, but still haven't figured that one out yet. I will keep on plugging away at it.  I tried sending it to a Cyrus account,which I was able to do, but I couldn't get the IMAP client configured right to login and get the mail. 

Thanks everyone for your help.

-----Original Message-----
From: Christopher Paluch <cpaluch at mindspring.com>
Sent: Feb 19, 2004 2:47 PM
To: Andrzej Filip <anfi at priv.onet.pl>, info-cyrus at lists.andrew.cmu.edu
Cc: Christopher Paluch <cpaluch at mindspring.com>
Subject: Re: Fw: Re: Virtual domains, user at domain.com: Mailbox unknown

echo "=M"|sendmail -bt|grep cyrus
mailer 3 (cyrusv2): P=[IPC] S=EnvFromSMTP/HdrFromL R=EnvToL/HdrToL M=0 U=0:0 F=/:@ADFMXlmnqsz| L=0 E=\r\n T=DNS/RFC822/SMTP r=100 A=FILE /var/imap/socket/lmtp

It looks like my overrides for S= and R= aren't working, which is causing this problem.  Along with upgrading Cyrus, I will try to figure out why this isn't happening eventhough it seems to be in my sendmail.mc and sendmail.cf files.

-----Original Message-----
From: Andrzej Filip <anfi at priv.onet.pl>
Sent: Feb 19, 2004 12:54 PM
To: info-cyrus at lists.andrew.cmu.edu
Cc: Christopher Paluch <cpaluch at mindspring.com>
Subject: Re: Fw: Re: Virtual domains, user at domain.com: Mailbox unknown

Christopher Paluch wrote:
> It looks like from the output of the "sendmail -X", that the problem is sendmail is sending Cyrus, test.one as the mailbox, not test.one at test.com.  I've modified the sendmail.cf file so it will send the full domain, but it doesn't seem to be doing that.  So am I reading this log incorrectly or is there something else I'm supposed to do to get the domain sent?
> 
> 05420 <<< EHLO ecnmail.posnetservices.com
> 05420 >>> 250-server.adomain.com Hello [68.248.99.56], pleased to meet you
> 05420 >>> 250-ENHANCEDSTATUSCODES
> 05420 >>> 250-PIPELINING
> 05420 >>> 250-8BITMIME
> 05420 >>> 250-SIZE
> 05420 >>> 250-DSN
> 05420 >>> 250-ETRN
> 05420 >>> 250-AUTH DIGEST-MD5 CRAM-MD5
> 05420 >>> 250-DELIVERBY
> 05420 >>> 250 HELP
> 05420 <<< MAIL From:<chris_paluch at yahoo.com> SIZE=500
> 05420 >>> 250 2.1.0 <chris_paluch at yahoo.com>... Sender ok
> 05420 <<< RCPT To:<test.one at test.com>
> 05420 >>> 250 2.1.5 <test.one at test.com>... Recipient ok
> 05420 <<< DATA
> 05420 >>> 354 Enter mail, end with "." on a line by itself
> 05420 <<< Received: from web40405.mail.yahoo.com (web40405.mail.yahoo.com [66.21
> 05420 <<<       by ecnmail.posnetservices.com (8.12.8/8.12.8) with SMTP id i1JHK
> 05420 <<<       for <test.one at test.com>; Thu, 19 Feb 2004 11:20:02 -0600
> 05420 <<< Message-ID: <20040219172001.84976.qmail at web40405.mail.yahoo.com>
> 05420 <<< Received: from [68.248.99.41] by web40405.mail.yahoo.com via HTTP; Thu
> 05420 <<< Date: Thu, 19 Feb 2004 09:20:01 -0800 (PST)
> 05420 <<< From: <chris_paluch at yahoo.com>
> 05420 <<< Subject: Kill me now
> 05420 <<< To: test.one at test.com
> 05420 <<< MIME-Version: 1.0
> 05420 <<< Content-Type: text/plain; charset=us-ascii
> 05420 <<<
> 05420 <<< Kill me now.
> 05420 <<<
> 05420 <<< __________________________________
> 05420 <<< Do you Yahoo!?
> 05420 <<< Yahoo! Mail SpamGuard - Read only the mail you want.
> 05420 <<< http://antispam.yahoo.com/tools
> 05420 <<< .
> 05420 >>> 250 2.0.0 i1JHK3jk005420 Message accepted for delivery
> 05422 === CONNECT localhost
> 05420 <<< QUIT
> 05420 >>> 221 2.0.0 server.adomain.com closing connection
> 05422 <<< 220 server.adomain.com LMTP Cyrus v2.1.16 ready
> 05422 >>> LHLO server.adomain.com
> 05422 <<< 250-server.adomain.com
> 05422 <<< 250-8BITMIME
> 05422 <<< 250-ENHANCEDSTATUSCODES
> 05422 <<< 250-PIPELINING
> 05422 <<< 250-SIZE
> 05422 <<< 250-AUTH EXTERNAL
> 05422 <<< 250 IGNOREQUOTA
> 05422 >>> MAIL From:<chris_paluch at yahoo.com> SIZE=723
> 05422 <<< 250 2.1.0 ok
> 05422 >>> RCPT To:<test.one>
> 05422 >>> DATA
> 05422 <<< 550-Mailbox unknown.  Either there is no mailbox associated with this
> 05422 <<< 550-name or you do not have authorization to see it.
> 05422 <<< 550 5.1.1 User unknown
> 05422 <<< 503 5.5.1 No recipients
> 05422 >>> RSET
> 05422 <<< 250 2.0.0 ok
> 05422 >>> This is a MIME-encapsulated message
> 05422 >>>
> 05422 >>> --i1JHK3jk005422.1077211203/server.adomain.com
> 05422 >>>
> 05422 >>> The original message was received at Thu, 19 Feb 2004 11:20:03 -0600
> 05422 >>> from [68.248.99.56]
> 05422 >>>
> 05422 >>>    ----- The following addresses had permanent fatal errors -----
> 05422 >>> <test.one at test.com>
> 05422 >>>     (reason: 550-Mailbox unknown.  Either there is no mailbox associat
> 05422 >>>
> 05422 >>>    ----- Transcript of session follows -----
> 05422 >>> ... while talking to localhost:
> 05422 >>> >>> DATA
> 05422 >>> <<< 550-Mailbox unknown.  Either there is no mailbox associated with t
> 05422 >>> <<< 550-name or you do not have authorization to see it.
> 05422 >>> <<< 550 5.1.1 User unknown
> 05422 >>> 550 5.1.1 <test.one at test.com>... User unknown
> 05422 >>> <<< 503 5.5.1 No recipients
> 05422 >>>
> 05422 >>> --i1JHK3jk005422.1077211203/server.adomain.com
> 05422 >>> Content-Type: message/delivery-status
> 05422 >>>
> 05422 >>> Reporting-MTA: dns; server.adomain.com
> 05422 >>> Received-From-MTA: DNS; [68.248.99.56]
> 05422 >>> Arrival-Date: Thu, 19 Feb 2004 11:20:03 -0600
> 05422 >>>
> 05422 >>> Final-Recipient: RFC822; test.one at test.com
> 05422 >>> X-Actual-Recipient: RFC822; test.one at server.adomain.com
> 05422 >>> Action: failed
> 05422 >>> Status: 5.1.1
> 05422 >>> Diagnostic-Code: SMTP; 550-Mailbox unknown.  Either there is no mailbox
> 05422 >>> Last-Attempt-Date: Thu, 19 Feb 2004 11:20:03 -0600
> 
> Thanks,
>     Chris Paluch
> 
> -----Original Message-----
> From: Christian Schulte <cs at schulte.it>
> Sent: Feb 19, 2004 10:54 AM
> To: Christopher Paluch <cpaluch at mindspring.com>
> Cc: info-cyrus at lists.andrew.cmu.edu
> Subject: Re: Fw: Re: Virtual domains, user at domain.com: Mailbox unknown
> 
> Am Donnerstag, 19. Februar 2004 17:00 schrieb Christopher Paluch:
> 
>>This is the output from the maillog:
>>
>>Feb 19 09:22:54 ecnsrc01 sendmail[4856]: i1JFMsuJ004856:
>>to=<root at ecnsrc01.rm.posnetservices.com>, delay=00:00:00, xdelay=00:00:00,
>>mailer=cyrusv2, pri=31408, relay=localhost [[UNIX: /var/imap/socket/lmtp]],
>>dsn=5.1.1, stat=User unknown Feb 19 09:22:54 ecnsrc01 sendmail[4856]:
>>i1JFMsuJ004856: i1JFMsuK004856: return to sender: User unknown
>>
>>From this I assumed it was getting to Cyrus and he was rejecting it, but I
>>will try your suggestions and see what else I can find.  Thanks.
> 
> 
> /etc/mail/mailertable:
> test.com � � � �cyrusv2:/var/imap/socket/lmtp
> 
> Maybe you want to also put your servers name in there as well ? Like
> 
> ecnsrc01.rm.posnetservices.com	cyrusv2:/var/imap/socket/lmtp
> 
> After
> 
> "cm user/root at ecnsrc01.rm.posnetservices.com"
> 
> root should be able to receive mail. Of course this depends on other things 
> and is more a guess than a solution but may work. Do you also get "User 
> unknown" for a mail delivery for test.one at test.com ? Does delivery in 
> test.com domain work ?

Please send results of the commands given below:
# sendmail version
sendmail -d0.1 -bv root
# run it as root if you use sendmail 8.12
echo "3,0 test.one at test.com" | sendmail -d60.1 -bt
# -Am is required only for sendmail 8.12
sendmail -Am -bv test.one at test.com
echo '=M' | sendmail -bt | grep cyrus

-- 
Andrzej [en:Andrew] Adam Filip http://anfi.webhop.net backup: anfi at xl.wp.pl






---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list