Re: sendmail delivery to shared folder problem

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

 



"Shawn O'Connor" <soconnor@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx  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@xxxxxxxxxxxxxx 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@xxxxxxxxxxxxxx"
# show sendmail.cf processing (matching rules)
echo '3,0 bb+consulting/ownit@xxxxxxxxxxxxxx" | sendmail -bt
# send test message in verbose mode
( echo "subject: test"; echo)| sendmail -v -oi "bb+consulting/ownit@xxxxxxxxxxxxxx"


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