Hi,
>>"mfrattola" == mfrattola  <[EMAIL PROTECTED]> writes:

mfrattola> Maybe I'm wrong, but doesn't this rewrite 'From' for every
mfrattola> message, and not only for those 'going out' of his LAN?
mfrattola> Also, doesn't confDELIVERY_MODE=queue queue all messages
mfrattola> and wait for runq to make the delivery?

        Umm, I think not. let me see. 
______________________________________________________________________
>From root  Sun Mar  8 02:19:33 1998
Received: (from [EMAIL PROTECTED])
        by tiamat.datasync.com (8.8.8/8.8.8/Debian/GNU) id CAA09080
        for root; Sun, 8 Mar 1998 02:16:07 -0600
Date: Sun, 8 Mar 1998 02:16:07 -0600
From: root <root>
Message-Id: <[EMAIL PROTECTED]>
To: root
Subject: mirror update of Debian
X-Filter: mailagent [version 3.0 PL58] for [EMAIL PROTECTED]
______________________________________________________________________

        See? No rewrite for local mail.

        As to the other question, yes, the confDELIVERY_MODE=queue
 queues  all messages. My bad.

        The solution is to make all mailers except the local one
 expensive. 

----------------------------------------------------------------------
__> egrep ^M /etc/sendmail.cf
Mlocal,         P=/usr/sbin/sensible-mda, F=lsDFMAw5:/|@qh90, S=10/30, R=20/40,
Mprog,          P=/bin/sh, F=lsDFMoqu9, S=10/30, R=20/40, D=$z:/,
Msmtp,          P=[IPC], F=emDFMuX, S=11/31, R=21, E=\r\n, L=990,
Mesmtp,         P=[IPC], F=emDFMuXa, S=11/31, R=21, E=\r\n, L=990,
Msmtp8,         P=[IPC], F=emDFMuX8, S=11/31, R=21, E=\r\n, L=990,
Mrelay,         P=[IPC], F=emDFMuXa8, S=11/31, R=61, E=\r\n, L=2040,
----------------------------------------------------------------------
        Notice the flag (F) e? it is not there for local or prog
 mailers, but is there for all smtp or esmtp mailers, and hence the
 non-local mail should wait for the queue run, but the local mail is
 delivered immediately.

        This is untried; but it should work.

        manoj
-- 
 In general, if you think something isn't in Perl, try it out, because
 it usually is.  :-) --Larry Wall in
 <[EMAIL PROTECTED]>
Manoj Srivastava  <[EMAIL PROTECTED]> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E


--
E-mail the word "unsubscribe" to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .

Reply via email to