Re: Setting up sendmail to use external smtp server

From: Bill Vermillion (bv_at_wjv.comREMOVE)
Date: 04/28/04


Date: Wed, 28 Apr 2004 00:35:17 GMT

In article <c6mmlb$30j8$1@nyheter.ipsec.se>, <phn@icke-reklam.ipsec.nu> wrote:
>In comp.unix.misc Bill <fred_barney@bigmailbox.net> wrote:
>> Nope, nothing like that in the sendmail.cf file. Any more ideas?

>Get "the original sendmail distribution, unpack and identify
>the .mc repository. See if your m4 will build .cf from one
>of the .mc files, if not, sh Build to build your own modern sendmail.
>( it's not that complicated and you will have a full version in the
>process)

>You might not need to change your sendmail binary, you _could_
>use the sendmail distribution just to "create" your sendmail.cf.

>Given enough interest, i show an example of how FreeBSD
>organized their sendmail :

The FreeBSD has one of the nicest ways of handling this of any I've
seen.

[deleted ...]

>And we are done, the bottom line of maillog shows :
>Apr 28 00:19:18 nyheter sm-mta[95]: restarting /usr/sbin/sendmail due to signal
>Apr 28 00:19:18 nyheter sm-msp-queue[98]: restarting /usr/sbin/sendmail due to signal
>Apr 28 00:19:18 nyheter sm-mta[98730]: starting daemon (8.12.10): SMTP+queueing@00:30:00
>Apr 28 00:19:18 nyheter sm-msp-queue[98732]: starting daemon (8.12.10): queueing@00:30:00

Such an old version :-)

Apr 27 20:25:59 bilver sm-mta[10945]: restarting /usr/sbin/sendmail due to signal
Apr 27 20:25:59 bilver sm-msp-queue[10948]: restarting /usr/sbin/sendmail due to signal
Apr 27 20:26:04 bilver sm-msp-queue[31614]: starting daemon (8.12.11): queueing@00:30:00
Apr 27 20:26:04 bilver sm-mta[31615]: starting daemon (8.12.11): SMTP+queueing@00:30:00

...

>You could use a FreeBSD system to generate sendmail.cf for your
>current system ( while porting the above Makefile)

And the only caveat would be that if he's going to use a FreeBSD
version to generate the .cf file, he should get the version
for BSD that matches his current running version in SCO.

I've used older .cfs with newer versions, and I think I remember
using a newer .cf with an older version and while nothing broke it
complained loudly. Well maybe not loudly, but spewed some error
messages.

Bill

-- 
Bill Vermillion - bv @ wjv . com


Relevant Pages