From: "Alan Cowes" on
Hello Everybody,

I´m having some problem dealing with OPEN Relay Issues,

We have a postfix server 2.5.5 and we have successfully reduced the SPAM
outgoing and incoming, we have sasaulth for smtp authentication, and
everything is ok, but when I try to check my server for open relay, I do the
telnet thing, and I get the following:

220 myserver.es ESMTP

ehlo aol.com

250-myserver.es ESMTP

250-PIPELINING

250-VRFY

250-8BITMIME

250-SIZE 20971520

250-AUTH LOGIN

250 OK

mail from:test(a)aol.com

250 OK

rcpt to:test(a)hotmail.com

250 OK

data.

354 Send it to me, end with <CRLF>.<CRLF>

..

554 5.7.1 <test(a)hotmail.com>: Relay access denied



The Relay Access Denied its working but only when I try to send the message,
and what I really want is to give me a Relay Access Denied when I put the
RCPT TO:, it should only allow a RCPT TO:users(a)myserver.com, because when I
do the checkor.com or mxrecords.com on my server, it shows that we could be
an open relay, because they are able to do the mail from and rcpt to:
different hosts, and that is causing a problem on senderbase.com reputation.



If you need the configs, I will feel free to give it to you guys.



Thanks a lot in advance everyone!!




LOPD: INFORMACION SOBRE PROTECCION Y TRATAMIENTO DE DATOS PERSONALES:

De acuerdo con la Ley de Servicios de la Sociedad de la Informacion y Comercio Electrónico aprobada por el parlamento español y de la vigente Ley Orgánica 15 13/12/1999 de Protección de Datos española, le comunicamos que su dirección de Correo electrónico forma parte de nuestra base de datos, teniendo usted derecho de oposición, acceso, rectificación y cancelación de sus datos. Si desea acceder, rectificar, cancelar u oponerse al tratamiento de sus datos, contacte con nosotros en DATATRONICS, S.A. Avda. Cardenal Herrera Oria,383 - 28034 Madrid, o bien envíenos un e-mail a lopd(a)datatronics.es junto con su nombre y apellidos, indicando en el campo asunto el texto: "Borrar Datos Personales". Si desea seguir recibiendo información, su dirección de correo electrónico seguirá en nuestra base de datos, entendiéndose que acepta los términos y condiciones, expresados en este Aviso Legal. Agradeciendo su colaboración para poder seguir ofreciéndole nuestros servicios y reiterando nuestro firme compromiso de uso responsable de sus datos, aprovechamos la ocasión para saludarle muy cordialmente.


AVISO DE CONFIDENCIALIDAD:

Este mensaje y los archivos adjuntos son confidenciales. Los mismos contienen informaciÿn reservada y que no puede ser difundida. Si usted ha recibido este correo por error, por favor avÿsenos inmediatamente por e-mail o por telÿfono (+34 91 376 92 90) y tenga la amabilidad de eliminarlo de su sistema.


CONFIDENTIALE NOTICE:

This message and its attached files are confidential. They contain information that is privileged and legally exempt from disclosure. If you have received this e-mail by mistake, please let us know immediately by e-mail and by phone (+34 91 376 92 90 ) and delete it from your system.

From: Noel Jones on
On 5/24/2010 8:41 AM, Alan Cowes wrote:
> Hello Everybody,
>
> I´m having some problem dealing with OPEN Relay Issues,
>
> We have a postfix server 2.5.5 and we have successfully reduced the SPAM
> outgoing and incoming, we have sasaulth for smtp authentication, and
> everything is ok, but when I try to check my server for open relay, I do
> the telnet thing, and I get the following:
>
> 220 myserver.es ESMTP
>
> ehlo aol.com
>
> 250-myserver.es ESMTP
>
> 250-PIPELINING
>
> 250-VRFY
>
> 250-8BITMIME
>
> 250-SIZE 20971520
>
> 250-AUTH LOGIN
>
> 250 OK
>
> mail from:test(a)aol.com
>
> 250 OK
>
> rcpt to:test(a)hotmail.com
>
> 250 OK
>
> data.
>
> 354 Send it to me, end with <CRLF>.<CRLF>
>
> .
>
> 554 5.7.1 <test(a)hotmail.com <mailto:test(a)hotmail.com>>: Relay access denied
>
> The Relay Access Denied its working but only when I try to send the
> message, and what I really want is to give me a Relay Access Denied when
> I put the RCPT TO:, it should only allow a RCPT TO:users(a)myserver.com,
> because when I do the checkor.com or mxrecords.com on my server, it
> shows that we could be an open relay, because they are able to do the
> mail from and rcpt to: different hosts, and that is causing a problem on
> senderbase.com reputation.
>
> If you need the configs, I will feel free to give it to you guys.
>
> Thanks a lot in advance everyone!!

You have some other software interfering with the SMTP
transmission. Postfix does not behave in this manner.

If you need further help, please provide full evidence,
including "postconf -n" output, master.cf contents,
non-verbose postfix logging.
http://www.postfix.org/DEBUG_README.html#mail

-- Noel Jones