--- INSTALL 2001/08/20 14:36:29 1.4
+++ INSTALL 2001/09/13 12:57:49 1.5
@@ -6,15 +6,18 @@
______________________________________________________________________
PUSHDIVERT(-1)
-
_DEFIFNOT(`LMTP2NNTP_MAILER_PATH', `/usr/local/bin/lmtp2nntp')
_DEFIFNOT(`LMTP2NNTP_MAILER_FLAGS', `mDFMuXz')
-_DEFIFNOT(`LMTP2NNTP_MAILER_MAX', `800000')
+_DEFIFNOT(`LMTP2NNTP_MAILER_ARGS', `')
+_DEFIFNOT(`LMTP2NNTP_MAILER_BINDADDR', '0.0.0.0')
_DEFIFNOT(`LMTP2NNTP_MAILER_DELIVERYMODE', `post')
_DEFIFNOT(`LMTP2NNTP_MAILER_GROUPMODE', `envelope')
-_DEFIFNOT(`LMTP2NNTP_MAILER_ARGS', `')
-_DEFIFNOT(`LMTP2NNTP_MAILER_GROUPS', `\*')
-
+_DEFIFNOT(`LMTP2NNTP_MAILER_MAILFROM', `.+@(?:[^.]+\.)+\.[^.]+')
+_DEFIFNOT(`LMTP2NNTP_MAILER_NODENAME', `confDOMAIN_NAME')
+_DEFIFNOT(`LMTP2NNTP_MAILER_SIZE', `800000')
+_DEFIFNOT(`LMTP2NNTP_MAILER_LOGLEVEL', `notice:/var/log/lmtp2nntp')
+_DEFIFNOT(`LMTP2NNTP_MAILER_WAITTIME', `60')
+_DEFIFNOT(`LMTP2NNTP_MAILER_NEWSGROUP', `\*')
POPDIVERT
#########################################
@@ -25,11 +28,16 @@
S=EnvFromSMTP/HdrFromSMTP, R=MasqSMTP, E=\r\n,
L=990, T=DNS/RFC822/SMTP, M=LMTP2NNTP_MAILER_MAX,
A=lmtp2nntp LMTP2NNTP_MAILER_ARGS dnl
+ -b LMTP2NNTP_MAILER_BINDADDR dnl
-d LMTP2NNTP_MAILER_DELIVERYMODE dnl
- -h $h dnl
-g LMTP2NNTP_MAILER_GROUPMODE dnl
- LMTP2NNTP_MAILER_GROUPS
-
+ -h $h dnl
+ -m LMTP2NNTP_MAILER_MAILFROM dnl
+ -n LMTP2NNTP_MAILER_NODENAME dnl
+ -s LMTP2NNTP_MAILER_SIZE dnl
+ -l LMTP2NNTP_MAILER_LOGLEVEL dnl
+ -w LMTP2NNTP_MAILER_WAITTIME dnl
+ LMTP2NNTP_MAILER_NEWSGROUP
______________________________________________________________________
Add to your sendmail.m4 (or sendmail.mc) the following entry:
@@ -45,15 +53,15 @@
Add to your virtualusertable:
______________________________________________________________________
-posting@dev12.dev.de.cw.net posting@news-posting
-posting+*@dev12.dev.de.cw.net %2@news-posting
-@news.dev.de.cw.net %1@news-posting
+posting@gateway.example.com posting@lmtp2nntp.invalid
+posting+*@gateway.example.com %2@lmtp2nntp.invalid
+@news.example.com %1@lmtp2nntp.invalid
______________________________________________________________________
Add to your mailertable:
______________________________________________________________________
-news-posting lmtp2nntp:news.de.cw.net
+lmtp2nntp.invalid lmtp2nntp:news.example.com
______________________________________________________________________
|