Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jul 2005 08:30:30 +0100
From:      Alexandre Vieira <nullpt@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Sendmail help needed
Message-ID:  <755cb9fc050729003050edf7ef@mail.gmail.com>
In-Reply-To: <6.1.0.6.2.20050728153729.156ff2d0@cobalt.antimatter.net>
References:  <755cb9fc05072815171ac8003@mail.gmail.com> <6.1.0.6.2.20050728153729.156ff2d0@cobalt.antimatter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

Thanks for the help.

The thing is that our main mailserver is not able to work with reports
from only one address. It has a db with some "names" that match
name@ourinternaldomain.tld and then send the reports to the respective
persons/mailing lists.
So the basics of the question is: Is it possible to get every mail
(including local mail) redirected to one domain with MX lookup? I've
been reading about LUSER_RELAY, LOCAL_RELAY, stickyhost, but I don't
know if this will solve the problem.

On 7/28/05, Glenn Dawson <glenn@antimatter.net> wrote:
> At 03:17 PM 7/28/2005, Alexandre Vieira wrote:
> >Hello folks,
> >
> >I'm trying to get past a standard in sendmail which is very simple.
> >
> >I have several machines reporting mails trough local MTA's (sendmail)
> >in each one of the boxes to our main mailserver. The thing is, I did
> >not developed the scripts and they are using "mailx -s <subj> user"
> >which normally would try to deliver it to a local account in the
> >machine. So the question is: Can I, in any way, define that every
> >"user" passed on the mailx in every script gets resolved to
> >user@somedomain.tld and not to a local system account? We have
> >hundreds of "names" in the scripts, so aliasing doesn't work for me.
>=20
> If you don't _ever_ want things to be delivered locally, you can create
> what sendmail calls a null client.  That will send all mail to the addres=
s
> you specify.  You can get more details from /usr/share/sendmail/cf/README
>=20
> -Glenn
>=20
>=20
> >My current hack is defining DR and DS in the sendmail.cf to a static
> >hostname but that takes redundancy to our mail system since if the
> >main mailserver is down the backup mail server (higher MX) won't take
> >any effect.
> >
> >Any help apreciated
> >Cheers
> >_______________________________________________
> >freebsd-questions@freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.=
org"
>=20
>=20

Thanks



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?755cb9fc050729003050edf7ef>