🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #2

Shell script to punt email to a smarter host

#2
From: the Maniak
Date: Tue, 27 Oct 1992 11:54
25 lines
1474 bytes
I'm reposting this because, somehow, a NUL got inserted in my Date:
header, which caused INN sites to not distribute my article.

    I want to send off RFC 822 messages via a remote SMTP port
    and bypass the local, broken mailer that has to exist in its
    broken configuration for political reasons.

    Basically, I want to use this script as my MTA in code that
    calls for an MTA.  While I'm fairly sure I could compile smail
    or some other MTA to do this, this seems a bit excessive.

    I'd very much prefer a shell script over a perl script in
    this particular case.  I'd love to find something that will
    reliably let me know if something screwed up (i.e. it can't
    open or complete a dialogue with port 25 for some reason).
    I hope I'm not missing something blindingly obvious, here.
    Code would work as well, but I may be dealing with a
    damaged C implementation as well.

                                       ...Sensei

==
 Internet:  sensei@dojo.mi.org
 UUCP:  ...!wsu-cs!dojo!sensei
Technical Details
Message-ID: <720186898snx@dojo.mi.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!wupost!gumby!destroyer!wsu-cs!dojo!sensei
References: <720093874snx@dojo.mi.org>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!wupost!gumby!destroyer!wsu-cs!dojo!sensei
From: sensei@dojo.mi.org (the Maniak)
Newsgroups: comp.mail.misc
Subject: Shell script to punt email to a smarter host 
Distribution: world
Message-ID: <720186898snx@dojo.mi.org>
References: <720093874snx@dojo.mi.org>
Date: Tue, 27 Oct 92 11:54:58 GMT
Organization: CCCP (Cindy Crawford Come-to-me Project)
Lines: 26