From owner-freebsd-questions Fri Feb 13 07:05:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA05429 for freebsd-questions-outgoing; Fri, 13 Feb 1998 07:05:56 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from reillyplating.com (det-mi24-25.ix.netcom.com [207.220.155.121]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id HAA05411 for ; Fri, 13 Feb 1998 07:05:39 -0800 (PST) (envelope-from bell@reillyplating.com) Received: from [10.0.0.2] (sysv88 [10.0.0.2]) by reillyplating.com (8.8.8/8.8.5) with SMTP id PAA18843; Fri, 13 Feb 1998 15:04:32 GMT Received: by [10.0.0.2] (5.61/MCDMAIL IR05 [05/05/92 11:19]/1.34) id AA03040; Fri, 13 Feb 98 15:09:44 CST Date: Fri, 13 Feb 98 15:09:44 CST From: bell@reillyplating.com (Jerry Bell) Message-Id: <9802131509.AA03040@[10.0.0.2]> To: questions@FreeBSD.ORG, relyod@indigo.ie Subject: Re: POP/Sendmail configuration Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG %UNIPLEX %TO relyod@indigo.ie %CC questions@freebsd.org %FROM bell %SYSTEM sysV88 %SUBJECT Re: POP/Sendmail configuration %VERIFY y %REGISTERED y %DATE 13/02/98 10:09 %REFERENCE 9645 I have hacked a copy of fetchmail to re-distibute mail to users correctly. The problem is that utilities like fetchmail will do what you want, but also have some adverse effects, particularly with messages sent to more than one user at your domain. The problem is that if a message is sent to, say 3 users at your domain, each user will get three copies of the messages, since the other end's smtp server sends a copy to each of the recipients, and your local sendmail wants to do the same thing. Whai I did is create a linked list of message ids with an entry for each incoming message. Every new message's id is checked against the list, and if a duplicate is found it is dumped, otherwise it is sent on to sendmail. My changes are done to a pretty old version of fetchmail, and has a small memory leak, but is very effective. If you (or others express interest in the code, I may be motivated to clean it up and make it work on later versions of fetchmail. (on version 4.1.0 now) I have been using this in a setup very simial to yours (with about 70 users) for almost 8 months now, and it is very effective. If you are interested in the code changes, let me know, and I'll help you out. Also, if you need any assistance with configuration, I'd be glad to help. (I fought with it for quite a while) I did offer the changes to Eric Raymond (author of Fetchmail, but haven't had the time or creativity to justifiy my changes inclusion in the fetchmail distribution.) Jerry Bell. Sys Admin Reilly Plating Company and M-Lok, Inc. jerry@reillyplating.com jerrybell@computer.org jerrybell@ili.net %UEND To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message