[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[Solved] RE: Sendmail - smart_host not working?
- From: "Christopher Thorjussen" <christopher thorjussen secode com>
- To: "Discussion of Red Hat Enterprise Linux 3 (Taroon)" <taroon-list redhat com>
- Subject: [Solved] RE: Sendmail - smart_host not working?
- Date: Mon, 18 Apr 2005 11:05:39 +0200
Ok. I've solved my main problem for now.
I've stopped sendmail daemon. I've edited submit.mc and it looks like
this now:
include(`/usr/share/sendmail-cf/m4/cf.m4')
VERSIONID(`linux setup for Red Hat Linux')dnl
define(`confCF_VERSION', `Submit')
define(`__OSTYPE__', `')
define(`confTIME_ZONE', `USE_TZ')
define(`confDONT_INIT_GROUPS', `True')
MASQUERADE_AS(`mydomain.com')
FEATURE(`allmasquerade')
FEATURE(`masquerade_envelope')
FEATURE(`always_add_domain')
FEATURE(`msp', `[ip.of.mailgateway]')
What I just found out is that IP addresses needs to be in brackets. No
one told me :(
I will experiment with the nullclient feature too, but this works for
now.
What I can't do now is send email to local users. For that I think I
need to have sendmail run binded to localhost and some other nifty
settings...
/Christopher
-----Original Message-----
From: taroon-list-bounces redhat com
[mailto:taroon-list-bounces redhat com] On Behalf Of Christopher McCrory
Sent: Friday, April 15, 2005 9:16 PM
To: Discussion of Red Hat Enterprise Linux 3 (Taroon)
Subject: RE: Sendmail - smart_host not working?
Hello...
On Fri, 2005-04-15 at 16:33 +0200, Christopher Thorjussen wrote:
> I hate to ask, but where in sendmail.mc? I've tried a few places but
> 'make' complained.
>
> Should I remove stuff from my sendmail.mc too? I've included my
> sendmail.mc just in case.
>
You might try:
$cat /etc/mail/sendmail.mc
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for Red Hat Linux')dnl
OSTYPE(`linux')dnl
define(`SMART_HOST',`mail.example.com.')
FEATURE(`nullclient',`$m')
dnl that's all there is
> /Christopher
>
> -----Original Message-----
> From: dave umiacs umd edu [mailto:dave umiacs umd edu]
> Sent: Friday, April 15, 2005 4:23 PM
> To: Christopher Thorjussen
> Cc: Discussion of Red Hat Enterprise Linux 3 (Taroon)
> Subject: RE: Sendmail - smart_host not working?
>
> On Fri, 15 Apr 2005, Christopher Thorjussen wrote:
>
> > JUST what I want! :)
> >
> > Should the FEATURE og into submit.mc or sendmail.mc?
>
> sendmail.mc
>
> > $m = what?
>
> $m is sendmail shorthand for your domain (rather than having to
> hardcode it for all nodes). Do a
>
> mailq -v -d
>
> for a list of how your sendmail is configured plus a list of some
> sendmail variable like $w, $m, $j...
>
>
> =-=-=-=-=-=-=-=-=-=- generated by /dev/dave
-=-=-=-=-=-=-=-=-=-=-=-=
> David Stern University of
Maryland
> Institute for Advanced Computer Studies
> --
> Taroon-list mailing list
> Taroon-list redhat com
> http://www.redhat.com/mailman/listinfo/taroon-list
--
Christopher McCrory
"The^W One of the guys that keeps the servers running"
chrismcc pricegrabber com
http://www.pricegrabber.com
Let's face it, there's no Hollow Earth, no robots, and no 'mute rays.'
And even if there were, waxed paper is no defense. I tried it. Only
tinfoil works.
--
Taroon-list mailing list
Taroon-list redhat com
http://www.redhat.com/mailman/listinfo/taroon-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]