livio
asked on
Another sendmail problem
On Linux RedHat 5.1 I would like to masquerade the real email address (like me@machine_real_name.local ) with my the official name of my organization (First_Last@my_organizatio n.com).
Is this possible using linuxconf?
I can change the real hostname with the official domain name, but not the user name.
Thanks in advance.
Livio
Is this possible using linuxconf?
I can change the real hostname with the official domain name, but not the user name.
Thanks in advance.
Livio
ASKER
DMmy_organization.com is right, but it is only for the domain. With /etc/aliases I can create an incoming alias but not an outcoming alias.
Using the mailconf module of the linuxconf, I succed in changing the account name and domain name of the mails posted by other programs (like Eudora from windows) to the 25 port but not the user name of the localhost becouse it does not fully qualify when it send mails.
Livio
Using the mailconf module of the linuxconf, I succed in changing the account name and domain name of the mails posted by other programs (like Eudora from windows) to the 25 port but not the user name of the localhost becouse it does not fully qualify when it send mails.
Livio
Well... Take a look at:
sendmail
By Bryan Costales , with Eric Allman & Neil Rickert
1st edition NOvember 1993
830 pages, ISBN 1-56592-056-2
O'Reilly & Associates, Inc.
http://www.ora.com/
sendmail
By Bryan Costales , with Eric Allman & Neil Rickert
1st edition NOvember 1993
830 pages, ISBN 1-56592-056-2
O'Reilly & Associates, Inc.
http://www.ora.com/
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok, the feature genericstable is the right one. On RedHat distribution it is a bit difficult to make changes in sendmail configuration without using LinuxConf.
Thank you.
Thank you.
DMmy_organization.com
After that, restart your sendmail in order to changes take effect.
--
The only way i know to masquerade the first part of e-mail address is through aliases. Edit the file /etc/aliases
and insert one line per user:
user: First_Last
Or, if all users in your /etc/passwd have at least two names (first, last) you can generate this file using the commandline:
cut -f1,5 -d':' /etc/passwd | sed s,":\(.*\) .* \(.*\)$",": \1_\2", >> /etc/aliases
After that, execute the commandline:
# newaliases
You'll have also to reconfigure all your e-mail client software to the new masquerade e-mail adressesses :-/