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

[cobalt-users] Emailing one domain from multiple domain names (raq3)



I would like to be able to send mail to user@xxxxxxxxxxx and have it arrive
for user@xxxxxxxxxx .. how do I configure a raq3 to recieve mail for
multiple domain names?

After looking through the list I came up with this -

>you need to set up A and MX records for all the domains.
>then you need to edit the /etc/virtusertable like so (add these at >the
bottom):
>@domain2.com  %1@xxxxxxxxxxxxxx
>
>and the you need to:
>/usr/bin/makemap hash /etc/virtusertable < /etc/virtusertable
>
>and then restart sendmail.


I have done these things (and added the domain name to
/etc/mail/relay-domains) but I get 'too many hops' mail undeliverable when I
try to send to user@xxxxxxxxxxx even though I have a user@xxxxxxxxxx

DNS -
domain2.com.            IN              MX      5         mail.domain.com.
domain2.com.            IN              MX      10
validrelay.domain.com.