and add MAILER(dbmail-lmtp)dnl to your sendmail.mc Also add to your mailertable:
host.tld dbmail-lmtp:[127.0.0.1]
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 willpassthe entire email address [EMAIL PROTECTED] to dbmail when dbmail isconfiguredas the local mailer using lmtp? My current setup works if the username is not a full email address.Althoughthe aliases don't work.My goal is to replace all the unix user accounts on our systems at workwithdbmail accounts. I want to use the full email address as the usernamefor afew 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 usernamesbuton 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 forallof 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 orsomeother in elegant solution.3. Counting up the email accounts associated with a particular domainwouldbe 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 24In my mc file for generating my config file /etc/mail/ sendmail.mc I havethefollowing 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'thadany luck in getting it to do that.Any help would be greatly appreciated. Once I get this figured out Iplan tomake 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/dbmailDemi,Thanks for the input, however the problem is getting dbmail to work as theexclusive 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
