mails VIA specific mailhost

Opesh Alkara opeshalkara at gmail.com
Mon Feb 27 13:19:11 UTC 2006


*OS: RHEL 3.0*
*RUNLEVEL: 3 (command line)*

I have secure a system which has permissions to send mails only through a
particular mail host, due to which mail command fails to work.

I would like to know is there any command based tool that I can use to send
logs of my monitoring scripts VIA a specified MailHost...I see there is a
command where I can specify my default mail client, outgoin server et...but
I don't know how to change these values....

Any ideas/pointers are appreciated..thanks even for giving a try...


[root at devel etc]# mailsettings
[Defaults]
Profile=Default
[PROFILE_Default]
EmailAddress=root at devel
*EmailClient=/usr/bin/mutt*
FullName=root
IncomingServer=/var/mail/root
IncomingServerType=localbox
OutgoingCommand=/usr/sbin/sendmail
*OutgoingServerType=local*
TerminalClient=true
[root at devel etc]#



More information about the redhat-list mailing list