Re: mails VIA specific mailhost

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

 




You probably want some sort of sendmail null client configuration. This will not deliver mail locally and only relay through the 'smarthost'.

On postfix you can also specify a relay host and also disable local delivery if you wish.

John

On Mon, 27 Feb 2006, Opesh Alkara wrote:

*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@devel etc]# mailsettings
[Defaults]
Profile=Default
[PROFILE_Default]
EmailAddress=root@devel
*EmailClient=/usr/bin/mutt*
FullName=root
IncomingServer=/var/mail/root
IncomingServerType=localbox
OutgoingCommand=/usr/sbin/sendmail
*OutgoingServerType=local*
TerminalClient=true
[root@devel etc]#
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux