*** /dev/null Sat Nov 23 01:24:32 2024
--- - Sat Nov 23 01:24:37 2024
***************
*** 0 ****
--- 1,39 ----
+
+ Sendmail Integration
+ ====================
+
+ Create an cf/mailer/lmtp2nntp.m4 files with the following contents:
+ ______________________________________________________________________
+
+ PUSHDIVERT(-1)
+
+ _DEFIFNOT(`LMTP2NNTP_MAILER_PATH', `/usr/local/bin/lmtp2nntp')
+ _DEFIFNOT(`LMTP2NNTP_MAILER_FLAGS', `mDFMuXz')
+ _DEFIFNOT(`LMTP2NNTP_MAILER_MAX', `800000')
+ _DEFIFNOT(`LMTP2NNTP_MAILER_NNTPSERVER', `news')
+ _DEFIFNOT(`LMTP2NNTP_MAILER_DELIVERYMODE', `post')
+ _DEFIFNOT(`LMTP2NNTP_MAILER_GROUPMODE', `envelope')
+ _DEFIFNOT(`LMTP2NNTP_MAILER_ARGS', `')
+ _DEFIFNOT(`LMTP2NNTP_MAILER_NEWSGROUPS', `\*')
+
+ POPDIVERT
+
+ #########################################
+ ### LMTP2NNTP Mailer specification ###
+ #########################################
+
+ Mlmtp2nntp, P=LMTP2NNTP_MAILER_PATH, F=LMTP2NNTP_MAILER_FLAGS,
+ S=EnvFromSMTP/HdrFromSMTP, R=MasqSMTP, E=\r\n,
+ L=990, T=DNS/RFC822/SMTP, M=LMTP2NNTP_MAILER_MAX,
+ A=lmtp2nntp -d LMTP2NNTP_MAILER_DELIVERYMODE dnl
+ -g LMTP2NNTP_MAILER_GROUPMODE dnl
+ -h LMTP2NNTP_MAILER_NNTPSERVER dnl
+ LMTP2NNTP_MAILER_NEWSGROUPS
+ ______________________________________________________________________
+
+ Add to your sendmail.m4 (or sendmail.mc) the following entry:
+
+ dnl # Mailer: LMTP2NNTP (mail to news gateway)
+ dnl define(`LMTP2NNTP_MAILER_PATH', `/path/to/your/lmtp2nntp')
+ dnl MAILER(lmtp2nntp)
+
|