Article View: comp.mail.sendmail
Article #128Re: How to forward mail for "unknown user" to another host?
From: Per Hedeland
Date: Tue, 11 Aug 1992 09:48
Date: Tue, 11 Aug 1992 09:48
36 lines
2154 bytes
2154 bytes
In article <1992Aug9.152529.17477@mp.cs.niu.edu>, rickert@mp.cs.niu.edu (Neil Rickert) writes: |> Train your users to create their '.forward' as: |> |> user |> |"/usr/ucb/vacation user" |> |> The training shouldn't be too hard. Your users are motivated by the |> need to not have their mail bounce :-( . I think most sendmails |> allow forwarding to oneself (unquoted) provided that the self address |> is on the first line of '.forward'. Thank you, that's good news (and I guess the temporary failure for local delivery that Eric Wassenaar warns about should be fairly unlikely). Some experimentation with SunOS's sendmail (a typical "stupid" one:-) reveals that with the particular form above, 'user' is silently *ignored* - however user, |"/usr/ucb/vacation user" works fine, and I believe that's the common organization anyway (don't know where I picked up the one-address-per-line style). Of course, this requires that the users disobey both aliases(5) and vacation(1) (but they never read such things anyway, right?:-), and I would still be interested in a more "general" solution. It occurs to me that (at least in our case) it would be sufficient to be able to detect that the address is quoted (where the definition of 'quoted' could be just "begins with backslash or is enclosed in double quotes"), and if so send it to the local mailer regardless of what is "inside the quotes" - but I don't suppose that would be possible...? --Per Hedeland per@erix.ericsson.se or per%erix.ericsson.se@sunic.sunet.se or ...uunet!erix.ericsson.se!per
Technical Details
Message-ID:
<1992Aug11.094826.19416@eua.ericsson.se>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!sics.se!eua.ericsson.se!erix.ericsson.se!perReferences:
<1992Aug9.125252.3335@eua.ericsson.se> <1992Aug9.152529.17477@mp.cs.niu.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.sendmail Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!sics.se!eua.ericsson.se!erix.ericsson.se!per From: per@erix.ericsson.se (Per Hedeland) Subject: Re: How to forward mail for "unknown user" to another host? Message-ID: <1992Aug11.094826.19416@eua.ericsson.se> Sender: news@eua.ericsson.se Nntp-Posting-Host: aalborg.eua.ericsson.se Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden References: <1992Aug9.125252.3335@eua.ericsson.se> <1992Aug9.152529.17477@mp.cs.niu.edu> Date: Tue, 11 Aug 1992 09:48:26 GMT Lines: 36