sendmail delivery to shared folder problem

Andrzej Adam Filip anfi at xl.wp.pl
Sat May 6 18:52:28 EDT 2006


Shawn O'Connor wrote:
> [...] 
> Hi Andrzej,
> 
> Thank you for your reply.  Below is the output of the debug commands. 
> Hopefully, the output makes more sense to you :).
> 
> mail# echo '$=w' | sendmail -nt
> No recipient addresses found in header
> 
> Strange, because the domain in question is in local host names.

Sorry, it was *my* typing mistake:
echo '$=w' | sendmail -bt

> mail# sendmail -bv "bb+consulting/ownit at somedomain.biz"
> bb+consulting/ownit at somedomain.biz... deliverable: mailer cyrusv2, user
> +consulting/ownit
> mail# echo '3,0 bb+consulting/ownit at somedomain.biz' | sendmail -bt
> ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
> Enter <ruleset> <address>
>> canonify           input: bb + consulting / ownit @ somedomain . biz
> Canonify2          input: bb + consulting / ownit < @ somedomain . biz >
> Canonify2        returns: bb + consulting / ownit < @ somedomain . biz . >
> canonify         returns: bb + consulting / ownit < @ somedomain . biz . >
> parse              input: bb + consulting / ownit < @ somedomain . biz . >
> Parse0             input: bb + consulting / ownit < @ somedomain . biz . >
> Parse0           returns: bb + consulting / ownit < @ somedomain . biz . >
> ParseLocal         input: bb + consulting / ownit < @ somedomain . biz . >
> ParseLocal       returns: $# cyrusv2 $: + consulting / ownit
> parse            returns: $# cyrusv2 $: + consulting / ownit

Both tests look OK.

> mail#
> ( echo "subject: test"; echo)| sendmail -v -oi
> "bb+consulting/ownit at somedomain.biz"
> bb+consulting/ownit at somedomain.biz... Connecting to [127.0.0.1] via
> relay...
> 220 mail.somedomain.biz ESMTP Sendmail 8.13.4/8.13.4; Sun, 7 May 2006
> 00:17:26 +0800 (SGT)
>>>> EHLO mail.somedomain.biz
> 250-mail.somedomain.biz Hello [192.168.1.252], pleased to meet you
> 250-ENHANCEDSTATUSCODES
> 250-PIPELINING
> 250-8BITMIME
> 250-SIZE
> 250-DSN
> 250-ETRN
> 250-AUTH PLAIN LOGIN
> 250-STARTTLS
> 250-DELIVERBY
> 250 HELP
>>>> STARTTLS
> 220 2.0.0 Ready to start TLS
>>>> EHLO mail.somedomain.biz
> 250-mail.somedomain.biz Hello [192.168.1.252], pleased to meet you
> 250-ENHANCEDSTATUSCODES
> 250-PIPELINING
> 250-8BITMIME
> 250-SIZE
> 250-DSN
> 250-ETRN
> 250-AUTH PLAIN LOGIN
> 250-DELIVERBY
> 250 HELP
>>>> MAIL From:<soconnor at mail.somedomain.biz> SIZE=15
> AUTH=soconnor at mail.somedomain.biz
> 250 2.1.0 <soconnor at mail.somedomain.biz>... Sender ok
>>>> RCPT To:<bb+consulting/ownit at somedomain.biz>
>>>> DATA
> 250 2.1.5 <bb+consulting/ownit at somedomain.biz>... Recipient ok
> 354 Enter mail, end with "." on a line by itself
>>>> .
> 250 2.0.0 k46GHQPS090562 Message accepted for delivery
> bb+consulting/ownit at somedomain.biz... Sent (k46GHQPS090562 Message
> accepted for delivery)
> Closing connection to [127.0.0.1]
>>>> QUIT
> 221 2.0.0 mail.somedomain.biz closing connection                
> Of course, this is followed by the following in the log file:
> 
> May  7 00:17:27 mail master[90566]: about to exec
> /usr/local/cyrus/bin/lmtpd
> May  7 00:17:27 mail lmtpunix[90566]: executed
> May  7 00:17:27 mail lmtpunix[90566]: accepted connection
> May  7 00:17:27 mail lmtpunix[90566]: lmtp connection preauth'd as postman
> May  7 00:17:27 mail lmtpunix[90566]: verify_user(user.) failed: Mailbox
> does not exist   
> And it then sends a bounce message.
> 
> Thanks!
> 
>    -Shawn

Repeat the last test as root with -Am option added.
It should provide exact transcript of LMTP session between sendmail and
cyrus. I think sendmail behaves "as configured" but the test will
provide "the final proof":

( echo "subject: test"; echo)| sendmail -v -Am -oi

-- 
[pl2en Andrew] Andrzej Adam Filip : anfi at priv.onet.pl : anfi at xl.wp.pl
http://anfi.homeunix.net/           http://www.linkedin.com/in/andfil


More information about the Info-cyrus mailing list