🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.tech.unix
Article #483

Re: Sendmail config help..... (or maybe use Perl??)

#483
From: Tim Franklin
Date: Wed, 12 Jan 2000 00:00
32 lines
1970 bytes
Paul Baker <newsjuly@levante.demon.co.uk> wrote:
>
>>  Try 'DSsmtp:exchangeserver' and all should be well. 
>
>Not convinced it was :(
>
>Can that be an IP address? (It isn't ATM & as I said, the DNS is flaky.)
>There are likely to be references in sendmail.cf to MX records, aren't
>there?  Can I remove these?  All I want to achieve is to send one email
>per day relayed by the exch server!

I believe so.  It should be able to take an IP address and it shouldn't look
up MXs for the smarthost, as smarthost set-ups are often on the inside of a
firewall where 'real' DNS isn't available.  In answer to the second part,
if you've got a smarthost defined ('DS' definition), it should just use
that and ignore the usual MX resolution steps.  (There's a fallback host
option, to be used as a smart-host when MX resolution fails, but that's
a separate sendmail.cf option).

All subject to the usualy vagueries of differing sendmail.cfs, but that's
my understanding of 'normal' operation.

>
>
>....alternatively could my cron job call a Perl script that uses
>Mail::Mailer (or does this use sendmail as well?)

Pass.  I'd imagine it talks SMTP to either localhost or a defined smarthost,
so you mail be able to use it with appropriate invocation.

Regards,
Tim.
Technical Details
Message-ID: <slrn87pj63.6mf.tim@leaphome.pelican.org>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4H2G$JAB6He4Eweh@levante.demon.co.uk> <slrn87hkl4.njr.tim@leaphome.pelican.org> <qCWS+tADhie4Ewt$@levante.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fac57,c8ed3011f459b96f
X-Google-Attributes: gidfac57,public
From: tim@leaphome.pelican.org (Tim Franklin)
Subject: Re: Sendmail config help..... (or maybe use Perl??)
Date: 2000/01/12
Message-ID: <slrn87pj63.6mf.tim@leaphome.pelican.org>
X-Deja-AN: 571965828
References: <4H2G$JAB6He4Eweh@levante.demon.co.uk> <slrn87hkl4.njr.tim@leaphome.pelican.org> <qCWS+tADhie4Ewt$@levante.demon.co.uk>
X-Trace: news.colt.net 947740738 212.74.91.241 (Thu, 13 Jan 2000 05:18:58 GMT)
Organization: The Leap Home
User-Agent: slrn/0.9.5.4 (UNIX)
NNTP-Posting-Date: Thu, 13 Jan 2000 05:18:58 GMT
Newsgroups: demon.tech.unix