Hello,
I need to tell sendmail to use defined name while talking to remote servers (while sending 'MAIL FROM:'). I've tried 'Djmydomain.com', but it wasn't doing the right thing. Thanks!
Nope. It isn't what I need... This machine is in DMZ and all I want is to send cron outputs etc from it. The problem is that there is mail server in this DMZ that only accepts mail from existing domains. I don't want to add these machines into DNS; they don't have public IPs and shouldn't be accessible from outside DMZ. So, I need that these servers will send 'MAIL FROM: <root@domain.com>' instead of 'MAIL FROM: <root@machine.domain.com>'. Masquerade changes only headers...
What do you mean "Masquerade changes only headers..."?? What else do you want to change??
You can fool sendmail into thinking you're on a different network than you really are...
Cheers Henrik Morsing
IBM Certified AIX 4.3 Systems Administration
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.