🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #47647

Re: SLRN: Building the program without default MTA on Linux

#47647
From: Michael Fleming
Date: Tue, 30 Mar 1999 00:00
99 lines
4405 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm glad David Efflandt <efflandt@xnet.com> said this and not me..
> On Wed, 17 Mar 1999 05:37:23 GMT, Keith <kew@-nospam-teleport.com> wrote:
> >On Wed, 17 Mar 1999 00:17:58 +0059, Kai Nielsen <K.Nielsen@gmx.de> wrote:

<snip>

> >> 1) Best solution: Go configure your sendmail (qmail, exim, whatever...)
> >> correctly to build a proper adress when sending mail.
> >
> >I can't do this because my ISP rejects the message. 
> >> 
> >> 2) Easy solution: Next time when rebuilding slrn, set # define
> >> SLRN_GEN_FROM_EMAIL_HEADER 1 in slrnfeat.h (it's set to 0 when not
> >> IBMPC_SYSTEM. change that)
> >
> >I did do this and it still sends out the @localhost.localdomain.
> >
> >Keith
> >
> >Keith Wyatt,  PGP key via finger http://www.teleport.com/~kew
> >http://www.teleport.com/~kew/linux
> 
> I tried:

<snip extra header hacking>

> But that does not seem to do anything (at least not in /usr/lib/slrn.rc).
> So I resort to the replyto:
> 
> hostname "xnet.com"
> set username "efflandt"
> set realname "David Efflandt"
> set replyto  "efflandt@xnet.com"

Try the above and adding

/usr/lib/sendmail -fefflandt@xnet.com -t

to the relevant part of .slrnrc

(This is for sendmail, and assumes that "efflandt" is "trusted" ie. that name
is in /etc/sendmail.ct. qmail is even easier - set MAILHOST="xnet.com" and
QMAILINJECT=-f in your profile usually does the trick there.)

(you can also use the masquerading features of your sendmail (or variant)
version but I'll leave that to the sendmail experts - I'm an "intermediate"
user at best.) 

> That works except for dummys that reply to the From: instead of the
> Reply-To: (or reply to all).  That still works, but can bounce a "Could
> not deliver msg in 4 hours" message until I get online.
> 
> Pine and Netscape have no trouble using a set From: (in pine I use a
> correct username and just change the domain setting).

Have you got Pine using a set "smtp server name"? if this is set it talks to
the server via SMTP, whereas if it isn't set it usually invokes sendmail -t
(as slrn would)

> Actually I found
> that my local SMTP (sendmail) bypasses my ISP's SMTP altogether and sends
> directly to the receivers mail server.

You should probably set your mailserver to "smart host" via your ISP, as it
takes the pressure off your mailer a bit and some services bounce mail from
dialup pools and the like.

> Maybe that is an advantage of
> having a static IP and real hostname.

Well, a resolvable hostname - contrapuntal.ddns.org is on a dynamic IP and I
do get the odd incoming mail OK (but as you've noted it may take a little
while..)

> -- 
> David Efflandt    efflandt@xnet.com
> http://www.xnet.com/~efflandt/

Michael Fleming.

- -- 
Michael Fleming -=(UDIC)=- Despam the Planet
WWW: http://www.eisa.net.au/~mfleming/ | PGP: OEF8E582
Bill Gates isn't the Devil - Satan made sure Hell worked
before he opened it to the damned...

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQA/AwUBNwBn0H66PsYO+OWCEQL8FQCggc9pHe/Wwitr3lP4HJLNr7CdAyYAoJsy
zciB/S+V17uff5Ywn5ouH7Yv
=+QdL
-----END PGP SIGNATURE-----

Technical Details
Message-ID: <slrn7g0pun.10k.mfleming+usenet@cartman.contrapuntal.ddns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn7eth2n.2s7.kew@localhost.localdomain> <slrn7etpl6.e4.K.Nielsen@mortal.knhome.de> <slrn7eu5fg.av.kew@localhost.localdomain> <slrn7fsdv5.1cp.efflandt@efflandt.xnet.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7g0pun.10k.mfleming+usenet@cartman.contrapuntal.ddns.org>
Subject: Re: SLRN: Building the program without default MTA on Linux
Date: Tue, 30 Mar 1999 00:00:00 +0000
From: mfleming+usenet@contrapuntal.ddns.org (Michael Fleming)
References: <slrn7eth2n.2s7.kew@localhost.localdomain> <slrn7etpl6.e4.K.Nielsen@mortal.knhome.de> <slrn7eu5fg.av.kew@localhost.localdomain> <slrn7fsdv5.1cp.efflandt@efflandt.xnet.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 460653471
X-Complaints-To: news@news.eisa.net.au
X-Trace: news.eisa.net.au 922771337 25907 203.166.247.32 (30 Mar 1999 05:22:17 GMT)
Organization: UDIC / Hell's Despammers
X-Spambait: <dan@deaa.org>,<boots@kickass.com>,<admin@harris-marketing.com>,<jedl@real.com>
User-Agent: slrn/0.9.5.4 (UNIX)
NNTP-Posting-Date: 30 Mar 1999 05:22:17 GMT
Newsgroups: news.software.readers
X-Idiot: <romath@usa.net>,<romath@bigfoot.com>,<DrWatson@TheOffice.net>