Tags:
,
view all tags
---+ Configuração de e-mails ---++ Descrição Complementando o http://www.sprace.org.br/Twiki/bin/view/Main/EntryDescriptionNo3, modificamos na osg-ce<br /><br /> o sendmail.mc <pre> [root@osg-ce ~]# vim /etc/mail/sendmail.mc DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl DAEMON_OPTIONS(`Port=smtp,Addr=192.168.1.150, Name=MTA')dnl DAEMON_OPTIONS(`Port=smtp,Addr=200.136.80.4, Name=MTA')dnl MASQUERADE_AS(`sprace.org.br') FEATURE(`allmasquerade') FEATURE(`masquerade_envelope') FEATURE(`always_add_domain') [root@osg-ce ~]# make -C /etc/mail; /etc/init.d/sendmail restart </pre> a linha em <pre> [root@osg-ce ~]# more /etc/mail/local-host-names osgce.grid </pre> é essencial para que ele receba e-mail dos nodes com o aliases apropriado A mesma modificação é feita nos nodes. Primeiro modificamos o sendmail.mc de um deles <pre> define(`confDOMAIN_NAME', `sprace.org.br') define(`SMART_HOST',`osg-ce.sprace.org.br') MASQUERADE_AS(`sprace.org.br') FEATURE(masquerade_envelope, `sprace.org.br') [root@node21:~]# yum install sendmail-cf -y [root@node21:~]# make -C /etc/mail; /etc/init.d/sendmail restart [root@node21:~]# cp /etc/mail/sendmail.cf /home/mdias/. </pre> e da ce <pre> [root@osg-ce ~]# clcmd 'cp /home/mdias/sendmail.cf /etc/mail/sendmail.cf; service sendmail restart' </pre> Agora, *usuários comuns* , enviando e-mail dos nodes terão o domínio sprace.org.br incluido. -- Main.MarcoAndreFerreiraDias - 19 Jun 2008
Edit
|
Attach
|
P
rint version
|
H
istory
:
r5
|
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r1 - 2008-06-19
-
MarcoAndreFerreiraDias
Home
Site map
Main web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback