Article View: aus.computers.linux
Article #56748Changing mail headers
From: Peter Kostouros
Date: Sun, 12 Jan 1997 00:00
Date: Sun, 12 Jan 1997 00:00
34 lines
1508 bytes
1508 bytes
Hi I have a situation where I wish to change the From: header in my mail messages, depending if I am sending mail locally on my machine, or whether over the 'net through my ISP. For example, my hostname is good old darkstar.frop.org. If a user, say peter, sends a message, the 'From' header is marked with peter@darkstar.frop.org (or some part of it). What happens is that no one can reply - I know some may be thinking that is intentional. I have modified /etc/sendmail.cf to include Reply-To and Organization lines in messages, but that may not be enough. So, basically I am after something like: 1) if a user on darkstar sends a message to another darkstar user, the >From line should read user@darkstar.frop.org 2) if a user on darkstar sends a message to a valid address, the From line should read kpeter@melbpc.org.au Can someone point me in the right direction? I am running Slackware 3. -- He's your friend and mine, Peter Kostouros kpeter@melbpc.org.au
Technical Details
Message-ID:
<32D8D0B3.3E093430@melbpc.org.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,989844176d436aed,start X-Google-Attributes: gid102983,public From: Peter Kostouros <kpeter@melbpc.org.au> Subject: Changing mail headers Date: 1997/01/12 Message-ID: <32D8D0B3.3E093430@melbpc.org.au> X-Deja-AN: 209622580 content-type: text/plain; charset=us-ascii organization: Melbourne PC User Group Incorporated mime-version: 1.0 newsgroups: aus.computers.linux x-mailer: Mozilla 3.0Gold (X11; I; Linux 1.3.99 i486)