Hello!

Before implementing Mr. Lai's dbmail.m4, I have a question.

Mr. Lai said:

> - insert virtual user "foo:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>" into 
aliases file.
> - add dbmail user by "dbmail-adduser a foo passwd 0 0 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>".

Does that mean for every user I added, I must add him/her to /etc/aliases AND do the dbmail-adduser... ? For example, if I were to add 10 users, I would have to do the above 10 times? Morever, what advantage(s) would the above have as compared to the following steps without using the dbmail.m4:

  1) dbmail-adduser a foo passwd 0 0 [EMAIL PROTECTED]
  2) add 'foo: "|/usr/local/sbin/dbmail-smtp -d [EMAIL PROTECTED]'

Apologies in advance for these newbie question(s).

Many Thanks.

R.

eddy dbmail@dbmail.org <mailto:dbmail%40dbmail.org>
Sat, 13 Apr 2002 19:04:23 +0800 (HKT)

    * Previous message: [Dbmail] dbmail and sendmail <000346.html>
    * Next message: [Dbmail] DB-Mail installation for an ISP (40K
      messages a week) <000341.html>
    * Messages sorted by: [ date ] <date.html#350> [ thread ]
      <thread.html#350> [ subject ] <subject.html#350> [ author ]
      <author.html#350>

------------------------------------------------------------------------

The basic concept was come from FAX installation in sendmail. I create
a function call DBM. And then redirect the incoming messages to call
dbmail-smtp.

To config the dbmail with sendmail :

- copy my 'dbmail.m4' from http://dbmail.5687.net/dbmail.m4 file into
  <cf home>/mailer/ directory.

- insert the follow line into <cf home>/m4/proto.m4 :
  **** Please notice the space should be tab ******
Quoted
ifdef(`_MAILER_dbmail_',
`R$+ < @ $* DBM. >      $#DBM $@ $j $: $1 < @ ${DOM} >',
        `dnl')
Unquoted
                or
get my proto.m4 from http://dbmail.5687.net/proto.m4. It was sendmail-8.12.2 version.

- insert a line "MAILER(dbmail)dnl" into sendmail.mc file.

- rebuild sendmail.cf i.e.
    m4 sendmail.mc > sendmail.cf

- insert virtual user "foo:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>" into 
aliases file.
- add dbmail user by "dbmail-adduser a foo passwd 0 0 [EMAIL PROTECTED] <mailto:[EMAIL 
PROTECTED]>".

On Sat, 13 Apr 2002, mihnea wrote:

Hi,

does anybody have any documentation for integrating dbmail with
sendmail? or a dbmail.m5 maybe?

regards,
Mihnea



_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org <mailto:Dbmail@dbmail.org>
https://mailman.fastxs.nl/mailman/listinfo/dbmail


--
Eddy Lai
http://www.5687.net/


------------------------------------------------------------------------

    * Previous message: [Dbmail] dbmail and sendmail <000346.html>
    * Next message: [Dbmail] DB-Mail installation for an ISP (40K
      messages a week) <000341.html>
    * Messages sorted by: [ date ] <date.html#350> [ thread ]
      <thread.html#350> [ subject ] <subject.html#350> [ author ]
      <author.html#350>



Reply via email to