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: executed
> May 6 02:52:03 mail lmtpunix: accepted connection
> May 6 02:52:03 mail lmtpunix: lmtp connection preauth'd as postman
> May 6 02:52:03 mail lmtpunix:
> 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: executed
> May 6 02:58:24 mail lmtpunix: accepted connection
> May 6 02:58:24 mail lmtpunix: lmtp connection preauth'd as postman
> May 6 02:58:24 mail lmtpunix: 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,
> 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
More information about the Info-cyrus