Re: sendmail delivery to shared folder problem

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

 



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@xxxxxxxxxxxxxx"
> bb+consulting/ownit@xxxxxxxxxxxxxxxxx deliverable: mailer cyrusv2, user
> +consulting/ownit
> mail# echo '3,0 bb+consulting/ownit@xxxxxxxxxxxxxx' | 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@xxxxxxxxxxxxxx"
> bb+consulting/ownit@xxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxx> SIZE=15
> AUTH=soconnor@xxxxxxxxxxxxxxxxxxx
> 250 2.1.0 <soconnor@xxxxxxxxxxxxxxxxxxx>... Sender ok
>>>> RCPT To:<bb+consulting/ownit@xxxxxxxxxxxxxx>
>>>> DATA
> 250 2.1.5 <bb+consulting/ownit@xxxxxxxxxxxxxx>... Recipient ok
> 354 Enter mail, end with "." on a line by itself
>>>> .
> 250 2.0.0 k46GHQPS090562 Message accepted for delivery
> bb+consulting/ownit@xxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxx : anfi@xxxxxxxx
http://anfi.homeunix.net/           http://www.linkedin.com/in/andfil
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
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