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.
More precisely: 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>'.
Thanks!
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.
More precisely: 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>'.
Thanks!