sendmail delivery to shared folder problem

Shawn O'Connor soconnor at falconknight.com
Fri May 5 15:14:32 EDT 2006


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)
divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.30 2005/06/14 
02:25:17 gshapiro Exp $')
OSTYPE(freebsd6)
DOMAIN(generic)

FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')

FEATURE(`dnsbl', `relays.ordb.org')dnl
FEATURE(`dnsbl', `bl.spamcop.net')dnl
FEATURE(`dnsbl', `relays.ordb.org', `"Email blocked using ORDB.org - see 
http://ORDB.org/lookup/?host="$&{client_addr}')dnl
FEATURE(dnsbl, `dialups.mail-abuse.org', `Dialup - see 
http://www.mail-abuse.org/dul/')dnl
FEATURE(dnsbl, `relays.mail-abuse.org', `Open spam relay - see 
http://www.mail-abuse.org/rss')dnl
FEATURE(dnsbl, `hisp.habeas.com')dnl   

FEATURE(`preserve_local_plus_detail')

define(`confCW_FILE', `-o /etc/mail/local-host-names')


define(`confBIND_OPTS', `WorkAroundBrokenAAAA')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
define(`confLOCAL_MAILER',`cyrusv2')dnl
define(`CYRUS_MAILER_PATH',`/usr/local/cyrus/bin/deliver')dnl
define(`confAUTH_MECHANISMS',`PLAIN LOGIN')dnl
TRUST_AUTH_MECH(`PLAIN LOGIN')dnl
define(`CERT_DIR', `/etc/mail/certs')dnl
define(`confCACERT_PATH', `CERT_DIR')dnl
define(`confCACERT', `CERT_DIR/mycert.pem')dnl
define(`confSERVER_CERT', `CERT_DIR/mycert.pem')dnl
define(`confSERVER_KEY', `CERT_DIR/mykey.pem')dnl
define(`confCLIENT_CERT', `CERT_DIR/mycert.pem')dnl
define(`confCLIENT_KEY', `CERT_DIR/mykey.pem')dnl
define(`DontBlameSendmail', `GroupReadableSASLDBFile')dnl
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl
INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, 
F=,T=C:15m;S:4m;R:4m;E:10m')
MAILER(`cyrusv2')dnl
MAILER(local)
MAILER(smtp)
LOCAL_RULE_0
Rbb + $+ < @ $=w . >    $#cyrusv2 $: + $1


More information about the Info-cyrus mailing list