hmmm ... maybe I read his email wrong. it looked like he was wanting
hard-relay all email (i.e. all internet-bound email) from his
internal mail server to his external server before it got sent to
its real destination.
if that was a correct read, the smart relay directive would be
the correct way to do this.
DSrelayto.domain.com
if he was wanting to forward a single domain, then your instructions
would be the correct methodology.
jeff
> Well, assuming sendmail: you can set up a MAILERTABLE to do this.
>
> _mailertable____________________________
> domain.com <tab> smtp: relayto.domain.com
> _____________________________________
>
> (the <tab> is a real tab... it is important that you use a tab between them)
> I'm using HASH, so make sure you hash your mailertable before usign it.
>
> Then in my sendmail.cf I modify the K variable to use the mailertable.
>
> ______________________________________
> # Database for special routing
> Kmailertable hash /etc/mail/mailertable
> ______________________________________
>
> And that will take all mail and forward it to another mail host. This
> assumes a lot, so use at your own risk.
>
> Hope that helps.
> Will
>
>
> _________________________
> William Schwartz
> Network Integrator
> [EMAIL PROTECTED]
>
>
> ----- Original Message -----
> From: "Mathco Tech. Dep" <[EMAIL PROTECTED]>
> To: "Redhat request" <[EMAIL PROTECTED]>
> Sent: Thursday, February 24, 2000 3:04 PM
> Subject: Relaying Mail Question
>
>
> > Hi
> >
> > Is there any way i can re-relay e-mails from
> > my internal mailserver to a external smtp
> > server?
> >
> > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > | Mathias Björkman |
> > | Head technician |
> > | Mathco Computer |
> > | e-mail: [EMAIL PROTECTED] |
> > | e-mail: [EMAIL PROTECTED] |
> > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> >
> >
> > --
> > To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> > as the Subject.
> >
> >
> >
>
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
>
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.