[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] sendmail



Richard Badua wrote:

Thats what i don't want.  I need to find a way to remove the host from the
email address.  Do i need to edit the virtudertable?

No. Just comment out the line mentioned all together, and then
sendmail will default to whatever is in your "from" field defined
in your mail client.

PS: if you could be kind enough to respond below the paragraphs
in the messages, it would allow a person who searches the archives
to understand easily the tread.


Wim Aarts wrote:


find your sendmail.cf file in /etc or /etc/mail
find the lines below, and add the last one where domain is your

domain...etc

# my official domain name
# ... define this only if sendmail cannot automatically determine your
domain
#Dj$w.Foo.COM
Djdomain.com


Be careful with this, as all users sending from the raq might
start showing up as
	user@xxxxxxxxxx
overriding
	user@xxxxxxxxxxxxxxxxxx


restart sendmail.

/etc/rc.d/init.d/sendmail stop
/etc/rc.d/init.d/sendmail start

That does the trick. Keep a copy of the original sendmail.cf file just in
case... Good practice before upgrading with cobalt packages is to restore
the original file before you do an upgrade.

Cheers Wim.



When sending mail, how do i make it to only display my domain address

intead


of host.domain.com, i.e joe@xxxxxxxxxxxxxxx  I really want it to look

like

joe@xxxxxxxxxx