irene@buzzard.bt.co.uk (02/01/91)
Can anyone help me with a sendmail headers problem please? I thought sendmail would assume that the headers finished after the first blank line, but it is not doing so in one implementation I am running. This is a pain because I am using sendmail to carry Uniplex (proprietory office automation system) mail, and FORWARDED uniplex mail has some extra lines - which should be just part of the text - which just happen to include: From : host>user - wierd Uniplex address style which should never be allowed near a normal message transfer system! Sendmail is trying to parse what it thinks is an extra RFC822 header line, even though the blank line between this and the REAL headers still remains, and is making a terrible mess! Any ideas? Is it possible to configure Sendmail to only accept one From: line? Or to insist the blank line precedes text? Or to somehow get it to do something sensible with ">" - could be a problem with <comments> though.... thanks, Irene Hassell British Telecom irene@uk.co.bt.buzzard
pwickman@carroll1.cc.edu (Paul J Wickman) (05/14/91)
I have a problem with my mail headers. We currently have two From lines at the top off all the headers, one that looks like 'From' and another that looks like 'From>'. The second one looks fine, but for some reason all mail that comes in from off campus has my logname appended to the first From line. I am not quite sure where this is happening. Has anyone else had this experience, and if so, how did you go about fixing it? Any help would be appreciated. "Reality is the only word in the language that should always be used in quotes" -- Paul J. Wickman - Head Assistant, Computer Science Dept. Carroll College Waukesha, WI 53186 Internet: pwickman@carroll1.cc.edu Phone: 414-524-7343
rickert@mp.cs.niu.edu (Neil Rickert) (05/14/91)
In article <2356@carroll1.cc.edu> pwickman@carroll1.cc.edu (Paul J Wickman) writes: > I have a problem with my mail headers. We currently have two >From lines at the top off all the headers, one that looks like 'From' >and another that looks like 'From>'. The second one looks fine, but >for some reason all mail that comes in from off campus has my logname The first 'From ' is being put their by your delivery agent, traditionally /bin/mail. The second one is being put their by 'sendmail', and the '>' escape is being added by /bin/mail. You may have problems with your mailer flags (the F= operand to the line beginning 'Mlocal' in sendmail.cf). If you add 'n' to the flags, you will eliminate the second 'From'. The fact that your logname is on the first 'From ' suggests that you are the one who last started sendmail. It sounds as if you have a SysV system. It is quite possible that your version of /bin/mail will not accept the operands needed to tell it the true sender. If this is the case you will either need a different delivery agent, or you will have to put up with the problem. Note that the 'From:' header, which is normally used for automatic replies, should still be correct. -- =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= Neil W. Rickert, Computer Science <rickert@cs.niu.edu> Northern Illinois Univ. DeKalb, IL 60115 +1-815-753-6940
msirota@ee.rochester.edu (Mark Sirota) (05/14/91)
In article <2356@carroll1.cc.edu> pwickman@carroll1.cc.edu (Paul J Wickman) writes: > I have a problem with my mail headers. We currently have two > From lines at the top off all the headers, one that looks like 'From' > and another that looks like 'From>'. The second one looks fine, but > for some reason all mail that comes in from off campus has my logname The reason for this is that the last time you either started the sendmail daemon (sendmail -bd) or froze the configuration (sendmail -bz), you did it as yourself rather than as root. Kill the daemon, freeze it as root, and then restart it as root. In article <1991May13.211644.8746@mp.cs.niu.edu> rickert@mp.cs.niu.edu (Neil Rickert) writes: > The fact that your logname is on the first 'From ' suggests that you are > the one who last started sendmail. It sounds as if you have a SysV system. > It is quite possible that your version of /bin/mail will not accept the > operands needed to tell it the true sender. If this is the case you will > either need a different delivery agent, or you will have to put up with the > problem. This happens on BSD and BSD-derived systems as well, not just on System V. I've made this mistake plenty of times... I don't know if it's the freezing stage or the daemon-starting stage that's important; I never bothered to figure it out. -- Mark Sirota - Department of Electrical Engineering Systems Staff University of Rochester, Rochester NY Internet: msirota@ee.rochester.edu UUCP: {decvax,garp,harvard,hombre,rutgers}!rochester!ur-valhalla!msirota