mails VIA specific mailhost

John O'Loughlin j.oloughlin at qmul.ac.uk
Mon Feb 27 13:19:22 UTC 2006


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 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]#
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>




More information about the redhat-list mailing list