Does any one out there know how to configure sendmail so that it will pass
 the entire email address [EMAIL PROTECTED] to dbmail when dbmail is configured
 as the local mailer using lmtp?

My current setup works if the username is not a full email address.  Although
the aliases don't work.

My goal is to replace all the unix user accounts on our systems at work with
dbmail accounts.  I want to use the full email address as the username for a
few reasons.
1. When we make the switch over there won't be any overlapping usernames.
 e.g. [EMAIL PROTECTED] and [EMAIL PROTECTED] would both have the same 
usernames but
 on different servers.  Hence the need to have [EMAIL PROTECTED] and
 [EMAIL PROTECTED] be seperate usernames.
2. I want to be able to standardize the way email accounts are set up for all
of our users.  with the email address as the username the customer will
always know what their username is whereas now there are some overlapping
namespaces.  If joe is in use on the server we may have to use joe1 or some
other in elegant solution.
3. Counting up the email accounts associated with a particular domain would
 be easier if the username was an email address.

I have the following configuration for my mailer set up
in /usr/share/sendmail/cf/mailer/dblocal.m4

Mdblocal, P=[IPC], F=lsDFMmnqSXzA5@:|,
                 S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
                 T=DNS/RFC822/SMTP, A=TCP localhost 24

In my mc file for generating my config file /etc/mail/sendmail.mc  I have the
following added with the local mailer definition removed.

define(`confLOCAL_MAILER',`dblocal')dnl
 MAILER(dblocal)

From all my googling and searching through the sendmail book by oreilly I
believe the solution lies in configuring sendmail to pass the full email
address to the local mailer in the lmtp mailto command, so far I haven't had
any luck in getting it to do that.

Any help would be greatly appreciated.  Once I get this figured out I plan to
make a detailed installation How-To for sendmail and dbmail.

Thanks

Steven Fletcher
[EMAIL PROTECTED]

Reply via email to