sendmail from address is root@localhost.localdomain
Hi
I am using redhat es3 and its acting as a database serever. I was able to configure sendmail to redirect root's mails to my email account. This part is working perfectly. Problem may server name is dbsrv. the maile generated are read as root@localhost.localdomain, how can I change localhost.localdomain ro read dbsrv (If I send a mail as root its from address is root$localhost.localdomain how can I chang this to look like root@dbsrv.com) Thank you Regards Asanka |
can we masquerade the originating mail account
mail is generated by root@localhost.localdomain to appear as root@dbserv.something |
yes go to your /etc/aliases
and modify there as root: username it will redirect mails of root accounts to specified user name... In order to remove localhost.localdomain... go to /etc/hosts there add your_system_ip stationip.dbserv.something |
Hi rhce_ds
How can I change localhost.localdomain to drsrv.tpng in root@localhost.localdomain Thank you Regards Asanka |
all the mails that generated by the system are localhost.localdomain even though server name is dbsrv. haw am I to change this.
all the generated mail ftom address looks like root@localhost.localdomain how can I chang this to be root@dbsrv.tpng I've changed MASQUERADE_AS(`dbsrv.com')dnl but no change. Regards Asanka |
ok guys I found the answer in one of the forms all you have to do is
1. vi sendmail.cf 2. find #Dj$w.Foo.COM 3. and change that to reflect as Djmydomain.com 4. service sendmail restart Regards Asanka |
even you can change it while making the certificate to dovecot.pem
If you edit in /etc/hosts it will reflect your domain name from your next login. |
Hay rhce_ds
I dont know how to set the certificate, but I tried this /etc/hosts and it did not work, so thats when I found in a form saying to chang Dj in sendmail.cf and it worked Thanks Best regards Asanka |
When we make certificate using dovecot then.. it will work..
|
ok rhce_ds thank you
best regards Asnka |
All times are GMT -5. The time now is 06:38 PM. |