sendmail & Suse 8.0 & outgoing adress rewrite
hi,
i have 2 servers running. now one server should send its status-messages by mail to the other. problem is: i need to rewrite the adresse from hostname.domain.tld to domain.tld i already tried MASQUERADE_AS, entries in genericstabe, entries in the etc/sysconfig/mail...but nothing help i could easily resolve this taking out the line, saying my MTA not to accept mails from non-fqdn-senders. But it's not my goal. Does anybody have any other solution? Cheer-io |
well, i don't know about Suse 8, (i have rh9) but i assume you have the latest version of sendmail. On rh9, the default folder for most of the configs is /etc/mail, yours might be different. Mine also has a file with an extension of *.mc. You need to edit this file, either editing out the comments for MASQUERADE_AS, or adding your own. These are the lines that appear as comments in my sendmail.mc file:
Code:
After you have a new .cf file, (making sure it is the same name as the one you had before) and restart sendmail. Have fun |
:-) thanks a lot, helped!!!
|
All times are GMT -5. The time now is 07:46 PM. |