Apologies, forgot to attach the .m4 file.

-fr.
 
> Feargal Reilly <[EMAIL PROTECTED]> wrote:
> 
> > On Tue, 17 Jun 2003 16:15:04 +0700
> > "dbmail" <[EMAIL PROTECTED]> wrote:
> > 
> > > According to INSTALL file located in dbmail-1.1
> > > distribution, we should configure our MTA.
> > > I dont know how to configure Sendmail, 
> > > because I do not use Postfix. (My sendmail is now working well)
> > 
> > I'm going to assume you know where your sendmail sources are, and you know
> how
> > to rebuild it for your platform.
> > 
> > To use dbmail as a mailer, you have to include it in your sendmail.mc by
> adding
> > the line
> > MAILER(dbmail)
> > at the bottom after the other MAILER definitions.
> > Also, you need to tell sendmail when to use dbmail, this can be done using
> the
> > mailertable feature - insert the following into sendmail.mc where the
> other
> > features are:
> > FEATURE(mailertable, `hash -o /etc/mail/mailertable')
> > 
> > That path may vary depending on your distribution, it may in fact be
> included by
> > default.
> > 
> > sendmail then needs a .m4 file to describe the new mailer - I've attached
> > dbmail.m4, you should place it in your cf/mailer directory.
> > 
> > Then rebuild sendmail.
> > 
> > Finally, to enable dbmail for a particular domain add the following to 
> > /etc/mail/mailertable 
> > example.com dbmail:example.com
> > 
> > and run
> > # makemap hash mailertable.db < mailertable
> > 
> > One thing to note about using the mailertable, sendmail will not check the
> > mailertable if the domain part of an address matches the perceived local
> > hostname. i.e. if your hostname is 'mail.example.com' and the email is to
> > [EMAIL PROTECTED], it will use the local mailer instead of dbmail.
> > 
> > This is how I like things, it means I'm not reliant on the db to be around
> for
> > mails to postmaster and other 'critical' addresses to work.
> > 
> > The other method would be to use it in place of the local mailer - copy the
> .m4
> > to cf/mailer/local.m4, rebuild sendmail, and now all local mail will be
> > delivered to dbmail.
> > 
> > *** Make sure you setup the postmaster account, otherwise bounced mail will
> fail
> > completely. ***
> > 
> > Whatever doesn't make sense, query me on it.
> > 
> > -fr.
> 
> 
> _________________________________________________________
> This mail sent using V-webmail - http://www.v-webmail.org
> 
> 


-- 
Feargal Reilly,
Codeshifter,
Chrysalink Systems.

Attachment: dbmail.m4
Description: Binary data

Reply via email to