Quoting Sam V : > Feb 6 13:13:15 beeker courieresmtpd: started,ip=[::ffff:10.143.255.254] > Feb 6 13:13:21 beeker courierd: newmsg,id=00067226.3E42A5C0.00000418 > Feb 6 13:13:21 beeker courierd: > started,id=00067226.3E42A5C0.00000418,from=<[EMAIL PROTECTED]>,module=local,ho > [EMAIL PROTECTED]!!502!502!/home/vmail/domains!techblackboard.com/t > ^^^^^^^^^^^^^^^^^^^^ > est/!,addr=<[EMAIL PROTECTED]> > ^^^^
Where did that come from?
> The only things I can think of are including my locals, hosteddomains, and
> esmtpacceptmailfor, so here they are.
There's also a slew of configuration settings related to your authentication
module. Looks like you're trying to set up some weird virtual account
structure, where all your mail accounts have the same home directories, but
a different maildir.
I don't recall what authentication module you're using. It must be either
authuserdb, authldap, authmysql, or authpgsql.
However you're setting your maildir location, replace
"techblackboard.com/test/" with "./techblackboard.com/test".
I don't even recommend that. The maildir location is meant to only be used
as an exception case, and not in every account. Each home directory field
in every account record should point to something that looks exactly like a
home directory; and within it the Maildir subdirectory is where the mail is
going to go.
END Quoting Sam V
I am using LDAP Authentication. As per your recommendation I first removed
the trailing slash, and it didn't work. Your assumption was correct, I was
trying to use /home/vmail/domains for the homeDirectory of all users and set
the maildir to techblackboard.com/username. When removing the trailing slash
didn't work, I changed the homedirectory to
/home/vmail/domains/techblackboard.com/test and created a Maildir with
maildirmake called Maildir. I set that as the Maildir in LDAP. It still is
re-writing the message. I am following everyone's suggestions as best I know
how. I know courier is finding the maildir correct, because I can login with
OE and create a folder in the maildir with IMAP. Authentication is working
good for both SMTP and IMAP. I have attached my authldaprc, and a sample
user from my LDAP directory.
LDAP Entry
[EMAIL PROTECTED],jvd=techblackboard.com,o=hosting,dc=techfortify
,dc=com
objectClass: top
mail: [EMAIL PROTECTED]
userPassword: {SSHA}O1KhU0/oRoIJy9cysTAg12vo5+2USk5P
homeDirectory: /home/vmail/domains/techblackboard.com/test
mailbox: Maildir
creatorsName: cn=xsee,dc=techfortify,dc=com
createTimestamp: 20030205220649Z
modifiersName: cn=xsee,dc=techfortify,dc=com
modifyTimestamp: 20030207001926Z
subschemaSubentry: cn=Subschema
authldaprc
Description: Binary data
