Here is my localmailer m4 file, place it in /usr/share/sendmail/cf/ mailer/
and add MAILER(dbmail-lmtp)dnl to your sendmail.mc

Also add to your mailertable:

host.tld        dbmail-lmtp:[127.0.0.1]

Attachment: dbmail-lmtp.m4
Description: Binary data

/Marc

Op 20-jul-2006, om 21:20 heeft fletch het volgende geschreven:

--- DK <[EMAIL PROTECTED]> wrote:
On 7/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

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]

I didn't read you whole mail but here is how I had to config sendmail
in php.ini to get it to work.

sendmail_path = /usr/sbin/sendmail -t -i -f [EMAIL PROTECTED]

--

Demi
_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Demi,

Thanks for the input, however the problem is getting dbmail to work as the
exclusive local mailer for sendmail.  I don't have any php problems.

Thanks

Fletch

_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail


Reply via email to