Article View: comp.mail.sendmail
Article #2607Re: Using "/" .forward override with external email?
From: Neil Rickert
Date: Thu, 27 Jun 1991 13:58
Date: Thu, 27 Jun 1991 13:58
41 lines
1919 bytes
1919 bytes
In article <16498.2869e514@levels.sait.edu.au> ccdps@levels.sait.edu.au writes: >We are looking for a way of stopping a .forward file forwarding with a >switch in the username. Under VMS we can mail to _username, and the >message gets put into that person's mailbox regardless of what forwarding >has been set up. Sendmail has a "/" for a similar purpose, but it only I believe you meant "\". >works for mail from the same system. If I want all mail to dan@kersnazzle Most users don't want their .forward overridden. Presumably an outside user could mail to \\dan@kersnazzle, although I haven't verified this. If only one or two users want this arrangement, try adding something like: _.dan: \dan to your aliases database. If you wish to do this automatically for everybody, make an exact copy of your local mailer definition in 'sendmail.cf', except change the name of the mailer to say 'binmail'. Then in ruleset 0, find the line selecting the local mailer, which probably looks like: R$+ $#local$:$1 Just before this insert the rule: R_.$+ $#binmail$:$1 and you will bypass all the aliases and .forward lookup for an address beginning with _. -- =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= Neil W. Rickert, Computer Science <rickert@cs.niu.edu> Northern Illinois Univ. DeKalb, IL 60115 +1-815-753-6940
Technical Details
Message-ID:
<1991Jun27.135818.8731@mp.cs.niu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uwm.edu!linac!mp.cs.niu.edu!rickertReferences:
<16498.2869e514@levels.sait.edu.au>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uwm.edu!linac!mp.cs.niu.edu!rickert From: rickert@mp.cs.niu.edu (Neil Rickert) Newsgroups: comp.mail.sendmail,comp.unix.admin Subject: Re: Using "/" .forward override with external email? Message-ID: <1991Jun27.135818.8731@mp.cs.niu.edu> Date: 27 Jun 91 13:58:18 GMT References: <16498.2869e514@levels.sait.edu.au> Organization: Northern Illinois University Lines: 41