Email nos nodes

Description

Colocar para funcionar o sendmail em todos os nodes de processamento e fazer com que eles deem o forward do email de root para o spgrid.

Updates

Agora com a spgrid como servidora DNS, colocamos a seguinte entrada no /var/named/grid.hosts

         IN      MX  0  spg00.grid.
Editamos o /etc/mail/access
192.168.1                       RELAY
e o /etc/mail/local-host-names
# local-host-names - include all aliases for your machine here.
spg00.grid

E agora a spgrid aceita e-mail vindos para root@spg00.grid.

Para configurar os nůs para enviar o logwatch, iremos fazer o seguinte:

  • editar o /etc/aliases adicionando
root:   root@spg00.grid
e depois rodar o comando
#newaliases
j'a fizemos para os nos de 01 ate 19.

Updates

Ainda para que os e-mails dos nodes sejam aceitos eh pela maquina servidora eh necessario comentar a linha , usando um dnl na frente de DAEMON_OPTIONS:

[root@osg-ce ~]# vim /etc/mail/sendmail.mc
dnl # The following causes sendmail to only listen on the IPv4 loopback address
dnl # 127.0.0.1 and not on any other network devices. Remove the loopback
dnl # address restriction to accept email from the internet or intranet.
dnl #
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
[root@osg-ce ~]# make -C /etc/mail
[root@osg-ce ~]# service sendmail restart
Topic revision: r6 - 2009-10-02 - MarcoAndreFerreiraDias
 

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback

antalya escort bursa escort eskisehir escort istanbul escort izmir escort