sendmail delivery to shared folder problem

Andrzej Adam Filip anfi at xl.wp.pl
Fri May 5 16:51:39 EDT 2006


"Shawn O'Connor" <soconnor at falconknight.com> writes:

> I am having trouble getting sendmail to properly deliver mail to a
> shared folder that is named "consulting/ownit."
>
> Sending to mail to consulting/ownit at somedomain.biz  shows:
>
> May  6 02:52:03 mail lmtpunix[82369]: executed
> May  6 02:52:03 mail lmtpunix[82369]: accepted connection
> May  6 02:52:03 mail lmtpunix[82369]: lmtp connection preauth'd as postman
> May  6 02:52:03 mail lmtpunix[82369]:
> verify_user(user.consulting.ownit) failed: Mailbox does not exist
>
> Whereas sending mail to:
>
> bb+consulting/ownit at somedomain.biz shows:
>
> May  6 02:58:24 mail lmtpunix[82455]: executed
> May  6 02:58:24 mail lmtpunix[82455]: accepted connection
> May  6 02:58:24 mail lmtpunix[82455]: lmtp connection preauth'd as postman
> May  6 02:58:24 mail lmtpunix[82455]: verify_user(user.) failed:
> Mailbox does not exist
>
> The problem, I'm thinking is that we are trying to use unix hierarchy
> and alternate namespace.  Perhaps the sendmail m4 isn't properly
> matching it?  I can deliver the message with the deliver program via:
>
> cat somemessage | /usr/local/cyrus/bin/deliver -m consulting/deliver
>
> Below is my .mc file, if anyone could help it would be greatly appreciated.
>
> Kind regards,
>
>    -Shawn
>
> divert(-1)
> [...]
> FEATURE(local_lmtp)
> [...]
>
> FEATURE(`preserve_local_plus_detail')
> [...]
> MAILER(`cyrusv2')dnl
> MAILER(local)
> MAILER(smtp)
> LOCAL_RULE_0
> Rbb + $+ < @ $=w . >    $#cyrusv2 $: + $1

What is reported by tests command given below [executed as root]:
# show list of local email domains ($=w). Your bb hack works only for
# $=w domains. Is somedomain.biz listed?
echo '$=w' | sendmail -nt
# show which mailer/host/user are se;ected by sendmail for delivery
sendmail -bv "bb+consulting/ownit at somedomain.biz"
# show sendmail.cf processing (matching rules)
echo '3,0 bb+consulting/ownit at somedomain.biz" | sendmail -bt
# send test message in verbose mode
( echo "subject: test"; echo)| sendmail -v -oi "bb+consulting/ownit at somedomain.biz"


-- 
[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