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 [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 (padrão) de um deles <pre> dnl FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl dnl EXPOSED_USER(`root')dnl dnl #FEATURE(`accept_unresolvable_domains')dnl FEATURE(`nullclient',`[192.168.1.150]')dnl MASQUERADE_AS(`sprace.org.br')dnl MASQUERADE_AS(sprace.org.br)dnl FEATURE(masquerade_envelope)dnl LOCAL_DOMAIN(`sprace.org.br')dnl dnl MAILER(smtp)dnl dnl MAILER(procmail)dnl [root@node21:~]# vim /etc/mail/access 192.168.1 RELAY [root@node21:~]#vim /etc/mail/local-host-names sprace.org.br [root@node21:~]# yum install sendmail-cf -y;makemap hash /etc/mail/local-host-names < /etc/mail/local-host-names; makemap hash /etc/mail/access < /etc/mail/access [root@node21:~]# make -C /etc/mail; /etc/init.d/sendmail restart [root@node21:~]# cp -pr /etc/mail /home/mdias/mailnode </pre> e da ce <pre> [root@osg-ce ~]# clcmd 'mv /etc/mail /etc/mail.old; cp -pr /home/mdias/mailnode /etc/mail;/etc/init.d/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: r2 - 2008-06-20
-
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
antalya escort
bursa escort
eskisehir escort
istanbul escort
izmir escort