dan@asihub.AUTOSYS.COM (Dan O'Neill) (12/15/89)
To bring things up to date, I was trying to have my domain name tacked on to the end of the Unix "From " line in outgoing mail messages. It now appears that I didn't understand a couple of things. Messages leaving our site have a line like: From dan Thu Dec 14 13:36:22 1989 remote from asitor When they are delivered, the From line get changed to: From asitor!dan Thu Dec 14 13:40:14 1989 What I really wanted to do was have the outgoing line look like: From dan Thu Dec 14 13:36:22 1989 remote from asitor.AUTOSYS.COM and on the receipt end From asitor.AUTOSYS.COM!dan Thu Dec 14 13:40:14 1989 To do this I was looking into the sendmail.cf and smail (v2.5). It appears that the solution is within smail, but I would like to run it by the people on the net for comments. In the file defs.h, change the RFROM macro. Original: #define RFROM(frm,now,host) \ "From %s %.24s remote from %s\n",frm,now,host Suggested improvement: #define RFROM(frm,now,host) \ "From %s %.24s remote from %s%s\n",frm,now,host,MYDOM This will accomplish what I am seeking, however, I do not have the experience to say "Yes, this is the correct solution". Comments will be appreciated. Thanks. -- Dan O'Neill dan@asihub.AUTOSYS.COM {uunet|ncr-sd}!asihub!dan Automated Systems, Inc. San Diego R&D