Tengo que elevar la seguridad de mi servidor de correo de cara a
internet y me recomendaron que hiciera lo del SPS. Me guie por una ayuda
que encontre y al final lo que pasa es que salen mis correos pero no
entra ninguno y en los log veo lo siguiente:
warning: problem talking to server private/policy: Connection reset by
peer
Tambien me dice lo siguiente:
451 4.3.5 Server configuration problem
La guia que use fue la siguiente (Centos6):
1.
|[root@mx1 ~]# rpm -Uvh
http://mirror.as24220.net/pub/epel/6/i386/epel-release-6-8.noarch.rpm|
2. Install the required Perl modules
1
2
|[root@fs1 ~]# yum install perl-Mail-SPF -y|
|[root@mx1 ~]# yum install perl-Sys-Hostname-Long -y|
3. Change to the tmp directory and download the latest version of
policyd-spf-perl from https://launchpad.net/postfix-policyd-spf-perl/
1
2
|[root@mx1 ~]# cd /tmp/|
|[root@mx1 tmp]# wget
https://launchpad.net/postfix-policyd-spf-perl/trunk/release2.010/+download/postfix-policyd-spf-perl-2.010.tar.gz|
4. Extract the downloaded tar
1
2
3
4
5
6
7
|[root@mx1 tmp]# tar -zxvf postfix-policyd-spf-perl-2.010.tar.gz|
|postfix-policyd-spf-perl-2.010/|
|postfix-policyd-spf-perl-2.010/CHANGES|
|postfix-policyd-spf-perl-2.010/INSTALL|
|postfix-policyd-spf-perl-2.010/postfix-policyd-spf-perl|
|postfix-policyd-spf-perl-2.010/README|
|postfix-policyd-spf-perl-2.010/LICENSE|
5. Create a new directory in /usr/lib/ and copy the
postfix-policyd-spf-perl file across
1
2
|[root@mx1 tmp]# mkdir /usr/lib/postfix|
|[root@mx1 tmp]# cp
postfix-policyd-spf-perl-2.010/postfix-policyd-spf-perl
/usr/lib/postfix/|
6. Now test the module works ok. By running the following commmand you
should be taken to a blank prompt, if not an error will be displayed
that you will need to deal with
1
|[root@fs1 tmp]# perl /usr/lib/postfix/postfix-policyd-spf-perl|
7. Open the Postfix main.cf file in your text editor
1
|[root@mx1 ~]# vim /etc/postfix/main.cf|
8. You need to modify your smtpd_recipient_restrictions to include
"check_policy_service unix:private/policy" as well as add the
policy_time_limit option
1
2
|smtpd_recipient_restrictions =
permit_mynetworks,reject_unauth_destination,check_policy_service
unix:private/policy|
|policy_time_limit = 3600s|
9. Open the Postfix master.cf file in your text editor
1
|[root@mx1 ~]# vim /etc/postfix/master.cf|
10. Add the following line
1
|policy unix - n n - 0 spawn user=nobody
argv=/usr/bin/perl /usr/lib/postfix/postfix-policyd-spf-perl|
11. Restart Postfix for the changes to take effect
Que puedo hacer?
Saludos.
--
Julio Zamora
Administrador de Red
Acuario Nacional Cuba
--
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL:
<http://listas.jovenclub.cu/pipermail/gutl-l/attachments/20141111/284afcdb/attachment.html>
______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l
--
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l