>I run one Linux computer, that acts as a DNS (with named up and running) and
>as a SMTP server (with Sendmail, also up and running).
>All the e-mail adresses (which is the default setting as I understand it)
In /etc/sendmail.cf you should add a line that looks like:
# who I masquerade as (null for no masquerading)
DMdomain.xx
Then, you must have an MX record in DNS so that other mailers
can find out which machine handles mail for "domain.xx". That
machine should have a line like this in it's sendmail.cf:
Cwdomain.xx
This is so it knows to not forward mail to the MX host (itself).
Newer sendmail's can also do this with a sendmail.cw file rather
than changing sendmail.cf directly. In that case, there will be
a line in sendmail.cf that says something like:
# file containing names of hosts for which we receive email
Fw/etc/sendmail.cw
This is handy if you are the mail exchanger for a lot of other
domains (as when doing virtual hosting).
---
Wasatch Communications Group http://www.wasatch.com