From rick Mon Nov 18 09:51:04 2002
Date: Mon, 18 Nov 2002 09:51:04 -0800
To: luv@luv.asn.au
Subject: Re: Relaying
User-Agent: Mutt/1.4i
X-Mas: Bah humbug.

Quoting sola omosebi (solaomosebi@hotmail.com):

> "The message could not be sent because one of the recipients was rejected
> by the server. The rejected e-mail address was 'demola@hotmail.com'.
> Subject 'Fw: Cisco CertManager Login information', Account:
> 'mail.kaktos.com', Server: 'mail.kaktos.com', Protocol: SMTP, Server
> Response: '551 we do not relay', Port: 25, Secure(SSL): No, Server Error:
> 551, Error Number: 0x800CCC79."

So, turn on relaying.

http://www.europe.redhat.com/documentation/rhl8.0/rhl-rg-en-8.0/s1-email-sendmail.php3#S2-EMAIL-SENDMAIL-CHANGES

--
Cheers, "All power is delightful, but absolute power
Rick Moen is absolutely delightful." - Kenneth Tynan
rick@linuxmafia.com


From: Leif Harcke lharcke@stanford.edu
Subject: Re: ipchains rules for Apache in SULinux 7.3
Date: Fri, 3 Jan 2003 21:20:16 +0000 (UTC)
To: sulug-discuss@lists.Stanford.EDU

In article m2n20030103204711$1fa7@news.stanford.edu, Joe Little wrote:
> furthermore, beware that the default sendmail.cf file supplied by
> RedHat has sendmail listening on the loopback interface only.
> Look for 127.0.0.1 in that file, and replace it with 0.0.0.0
> (DaemonOptions should be in the config line)

Yeah, I did this back in June when upgrading from Redhat 6.0 to 7.3 so
we could have group mail lists accessible from on-campus machines. I
think RedHat recommends editing /etc/mail/sendmail.mc to add a "dnl"
at the beginning of the DAEMON_OPTIONS macro line. This procedure is
surely baffling to anyone not familiar with m4 :-)

--
Leif Harcke
lharcke@stanford.edu

From: miles@cs.stanford.edu (Miles Davis)
Newsgroups: su.computers.linux
Subject: Re: [SULinux] how to turn on sendmail in 7.3?
Date: 22 May 2002 21:56:37 GMT
Organization: Stanford University
Distribution: su
User-Agent: slrn/0.9.6.0 (Linux)
To: sulug-discuss@lists.Stanford.EDU

On 22 May 2002 21:39:36 GMT, Leif Harcke lharcke@stanford.edu wrote:

>sendmail only accepts connections from localhost. How do you enable
>it to accept connections from any machine?

Comment out the following line in /etc/mail/sendmail.mc:

dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

or change it to this:

DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA')

and rebuild the cf file: m4 sendmail.mc >/etc/sendmail.cf

--
// Miles Davis - miles@cs.stanford.edu -
// http://www.cs.stanford.edu/~miles
// Computer Science Department - Computer Facilities
// Stanford University


[The following two posts answer a very similar but slightly different
question.]


From: Richard Keech rkeech@keech.cx
Subject: Re: Chaining Mail Servers
To: megan woods meganwoods@datafast.net.au
Cc: Linux Users of Victoria luv@luv.asn.au
X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10)

On Thu, 2002-12-05 at 20:32, megan woods wrote:

> Is it possible to configure Sendmail or some other mail server
> software to relay all outgoing mail via another mail server regardless
> of destination..
> Eg.
>
> Client --> MTA1 -->MTA2 --> Internet -> final destination.

for sendmail on mta1, in /etc/mail/sendmail.mc add the line

define(`SMART_HOST',`mta2.wherever.com')

then rebuild sendmail.cf

m4 sendmail.mc > sendmail.cf

From: megan woods meganwoods@datafast.net.au
Subject: Chaining Mail Servers- Follow up..
To: luv@luv.asn.au

Or add directly to sendmail.cf:

DSfoo.domain.com