From 8983114bab665d39c49f1c48187b3c1a0fbd9fe3 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 8 Jul 1997 20:36:18 +0000 Subject: Added Michael's recipe. svn path=/trunk/; revision=1158 --- fetchmail-FAQ.html | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 57 insertions(+), 4 deletions(-) diff --git a/fetchmail-FAQ.html b/fetchmail-FAQ.html index 4d94087d..0988429c 100644 --- a/fetchmail-FAQ.html +++ b/fetchmail-FAQ.html @@ -85,6 +85,7 @@ when I may have multiple login sessions going?
M3. I tried to run a mailing list using multidrop, and I have a mail loop!
M4. My multidrop fetchmail seems to be having DNS problems.
M5. I'm seeing long DNS delays before each message is processed.
+M6. How do I get multidrop mode to work with majordomo?

Mangled mail:

@@ -948,9 +949,9 @@ things:

1. You've actually set up your .fetchmailrc entry to invoke multidrop mode.

-Many people set a `localdomains' list and then forget that fetchmail -wants to see more than one name (or the wildcard `*') in a `here' list -before it will do multidrop routing.

+Many people set a `localdomains' list and then forget +that fetchmail wants to see more than one name (or the wildcard `*') +in a `here' list before it will do multidrop routing.

2. You may have to set `no envelope'.

@@ -1001,6 +1002,58 @@ parts from being looked up at all.

Sometimes delays are unavoidable. Some SMTP listeners try to call DNS on the From-address hostname as a way of checking that the address is valid.

+


+

M6. How do I get multidrop mode to work with majordomo?

+ +In order for sendmail to execute the command strings in the majordomo +alias file, it is necessary for sendmail to think that the mail it +receives via SMTP really is destined for a local user name. A normal +virtual-domain setup results in delivery to the default mailbox, +rather than expansion through majordomo.

+ +Michael <michael@bizsystems.com> gave us a recipe for dealing +with this case that pairs a run control file like this:

+ +

+poll your.pop3.server proto pop3:
+    no envelope no dns
+    localdomains virtual.localdomain1.com virtual.localdomain2.com ...
+    user yourISPusername is root * here,
+    password yourISPpassword fetchall
+
+ +with a hack on your local sendmail.cf like this:

+ +

+#############################################
+#  virtual info, local hack for ruleset 98  #
+#############################################
+
+# domains to treat as direct mapped local domain
+
+CVvirtual.localdomain1.com virtual.localdomain2.com ...
+---------------------------
+in ruleset 98 add
+-------------------------
+# handle virtual users
+
+R$+ <@ $=V . >          $: $1 < @ $j . >
+R< @ > $+ < @ $=V . >   $: $1 < @ $j . >
+R< @ > $+               $: $1
+R< error : $- $+ > $*   $#error $@ $1 $: $2
+R< $+ > $+ < @ $+ >     $: $>97 $1
+
+ +This ruleset just strips virtual domain names off the addresses of incoming +mail. Your sendmail must be 8.8 or newer for this to work. Michael +says:

+ +

+I use this scheme with 2 virtual domains and the default ISP +user+domain and service about 30 mail accounts + majordomo on my +inside pop3 server with fetchmail and sendmail 8.83

+

+

X1. Why is fetched mail being logged with my name, not the real From address?

@@ -1135,7 +1188,7 @@ biff n to solve the problem system-wide.

-$Id: fetchmail-FAQ.html,v 1.44 1997/07/08 03:23:25 esr Exp $

+$Id: fetchmail-FAQ.html,v 1.45 1997/07/08 20:36:18 esr Exp $


Eric S. Raymond <esr@snark.thyrsus.com>
-- cgit v1.2.3