Never mind, I've attached the one I created.
Include it in sendmail.mc with:
MAILER('dbmail-lmtp')
and mailertable:
mydomain dbmail-lmtp:[my_lmtp_host]
default port is 24, if it should differ you must edit the m4 file.
Kind regards,
Marc Dirix
On Wed, Jan 25, 2006 at 02:21:55PM +0100, Marc Dirix wrote:
> Can someone help me out creating a dbmail.m4 file
> which provides dbmail-lmtp to sendmail?
>
> As descibed here:
> http://www.dbmail.org/dokuwiki/doku.php?id=sendmail_howto
>
> I want to use a different server running dbmail as sendmail, and have
> sendmail communicate directly to its lmtp socket.
>
> Kind regards,
>
> Marc
> _______________________________________________
> Dbmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
PUSHDIVERT(-1)
# 2003 Chrysalink Systems
# Send feedback to [EMAIL PROTECTED]
# 2006 Marc Dirix (dbmail-lmtp)
# Send feedback to [EMAIL PROTECTED]
ifdef(`DBMAIL_MAILER_PATH',,
`ifdef(`DBMAIL_PATH',
`define(`DBMAIL_MAILER_PATH', DBMAIL_PATH)',
`define(`DBMAIL_MAILER_PATH', [IPC])')')
_DEFIFNOT(`DBMAIL_MAILER_FLAGS', `AhmXz5@/:|')
ifdef(`DBMAIL_MAILER_ARGS',,
`define(`DBMAIL_MAILER_ARGS', `TCP $h 24')')
POPDIVERT
######################*****##############
### DBMAIL Mailer specification ###
##################*****##################
VERSIONID(`$Id: dbmail.m4,v 8.23 2005/01/25 14:48:51 dirix Exp $')
Mdbmail-lmtp, P=DBMAIL_MAILER_PATH, F=_MODMF_(CONCAT(`DFM',
DBMAIL_MAILER_FLAGS), `DBMAIL'), S=EnvFromSMTP/HdrFromSMTP,
R=EnvToSMTP/HdrFromSMTP,
ifdef(`DBMAIL_MAILER_MAX', `M=DBMAIL_MAILER_MAX,
')T=DNS/RFC822/X-Unix,
A=DBMAIL_MAILER_ARGS