Article View: comp.mail.sendmail
Article #19Re: Wanted: sendmail.cf for Sun <--> Decnet
From: Wilfred Mollenvanger
Date: Thu, 29 Oct 1992 15:59
Date: Thu, 29 Oct 1992 15:59
40 lines
1875 bytes
1875 bytes
dml@bton.ac.uk (Dave Lewney) writes: >Could somebody running Sunlink DNI 7.0 please email the relevant parts of their >sendmail.cf file. It's not that simple... > As it stands, mailing user@vax gets there OK with a From field >of SUNNODE::"sunuser". However, sending (or replying) to the Sun, whilst reaching >the Sun OK, gives a From field of "vaxnode!vaxuser "@sundomainname sendmail can't look inside the "", it's one token... > A further reply to the VAX understandably bounces back. Any ideas? Look at a: strings dnimaild | grep sendmail you'll see something like: /usr/lib/sendmail: -oem -oi -f"%s!%s" I think there's no clean solution to solve it without the source code so what I did was to patch dnimaild and let it a call a shell script I wrote instead of sendmail. In the script you can rewrite the drecnet adresses to anything you want before it calls sendmail... (don't forget to rewrite both From: and the envelope adres (the -f option) >Config: Sun 4/670MP, SunOS 4.1.2, Sunlink 7.0 >(Hint to UK readers: we're running Coloured Book v3.1 as well) >Thanks in advance, >Dave happy hacking... Wilfred Mollenvanger ****** _|_|_ +-+ ***** wilfred@cti.wnc.nedlloyd.nl **** _(_____| |N| ***** Nedlloyd Computer Services ** _(_____) +-+-+ *** P.O. Box 2454 * |_____) C|S| *** 3000 CL Rotterdam (The Netherlands) *** |_| +-+ *** +31 10 - 4005939
Technical Details
Message-ID:
<997@rtmrd1.crd.neddata.nedlloyd.nl>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!rtmrd1!wilfredReferences:
<1992Oct28.165046.532@unix.brighton.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!rtmrd1!wilfred From: wilfred@rtmrd1.crd.neddata.nedlloyd.nl (Wilfred Mollenvanger) Newsgroups: comp.mail.sendmail Subject: Re: Wanted: sendmail.cf for Sun <--> Decnet Message-ID: <997@rtmrd1.crd.neddata.nedlloyd.nl> Date: 29 Oct 92 15:59:52 GMT References: <1992Oct28.165046.532@unix.brighton.ac.uk> Organization: R&D dep. of Neddata / Nedlloyd Lines: 41