[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] mail relay a domain



<snip>
> I am using a raq 4 with sendmail 8.10.2.
> 
> All DNS entries (A, MX etc.) point to my cobalt raq. -> 
> Email, Web, FTP
> etc. are working.
> 
> Now I want to change the emailserver to a different mailserver.
> 
> All mails should arrive at my cobalt and should be relayed to a new
> mail.newserver.com.
> 
> On some older Redhat Servers I did it the same way with mailertable.
> Mailertable is not include in the present sendmail configuration.
> Is there any way to relay that domain to a different mailserver except
> reinstalling sendmail?
</snip>

I think the behaviour you're after is done by adding:

.domain.com	smtp:[mail.newserver.com]
domain.com	smtp:[mail.newserver.com]
to the /etc/mail/relay-domains
(dont forget the gap between the domain.com and smtp is a TAB not a space)


Regards,

Andy
andy@xxxxxxxxxxxxxxx
http://www.raqpak.com/ <-- Raq/Qube unofficial PKGs and support advice