Mailing List Archive

please help with correct SPF configuration
Hello,

I have problems sending to Gmail, I have configured this morning a txt record in DNS with:

v=spf1 ip4:78.4.124.132 mx ptr a:platone.archi.lan mx:mail.archinet.it

It worked just for a second: my gmail account has received a test message, then on a second try always from my office it fails "refused from mx.google.com"

I have added the record in the zone that contains the mx and mail records.

Im waiting for reply

Thanks for your time

Andrea Di Lello
Sistemista
Microsoft Certified Professional(MCP)

Cell. 335 8486514
Dir. 0755152253
Fax 0755152299

Email: andrea.dilello@archinet.it


________________________________

Archimede S.r.l.
Sede Legale:
Via Manzoni, 82
Ponte S. Giovanni

P.IVA: 01992020543

Tel. 075 515 22 11
Fax. 075 515 22 99
www.archinet.it

**********************************************************************************************************************************************************************************************************************
La presente comunicazione, con le informazioni in essa contenute e ogni documento o file allegato, e' rivolta unicamente alla/e persona/e cui e' indirizzata ed alle altre da questa autorizzata/e a riceverla. Se non siete i destinatari/autorizzati siete avvisati che qualsiasi azione, copia, comunicazione, divulgazione o simili basate sul contenuto di tali informazioni e' vietata e potrebbe essere contro la legge (art. 616 C.P., D.Lgs n. 196/2003 Codice in materia di protezione dei dati personali). Se avete ricevuto questa comunicazione per errore, vi preghiamo di darne immediata notizia al mittente e di distruggere il messaggio originale e ogni file allegato senza farne copia alcuna o riprodurne in alcun modo il contenuto.

This e-mail and its attachments are intended for the addressee(s) only and are confidential and/or may contain legally privileged information. If you have received this message by mistake or are not one of the addressees above, you may take no action based on it, and you may not copy or show it to anyone; please reply to this e-mail and point out the error which has occurred.
**********************************************************************************************************************************************************************************************************************



-------------------------------------------
Sender Policy Framework: http://www.openspf.org [http://www.openspf.org]
Modify Your Subscription: http://www.listbox.com/member/ [http://www.listbox.com/member/]

Archives: https://www.listbox.com/member/archive/1020/=now
RSS Feed: https://www.listbox.com/member/archive/rss/1020/1311530-08394398
Modify Your Subscription: https://www.listbox.com/member/?member_id=1311530&id_secret=1311530-644bccd5
Unsubscribe Now: https://www.listbox.com/unsubscribe/?member_id=1311530&id_secret=1311530-512c0f9e&post_id=20101124071907:0ADDF9A2-F7C5-11DF-B866-866FDDD1E4B8
Powered by Listbox: http://www.listbox.com
Re: please help with correct SPF configuration [ In reply to ]
i guess you are behind nat seeing platone.archi.lan and if so you should
try:

v=spf1 ip4:78.4.124.132/32 a mx a:archinet.it mx:archinet.it -all

does this solve the problem ? if not could you post here part of logs
from mail server regarding sending to gmail ?

On 24.11.2010 14:18, Andrea Di Lello wrote:
>
> Hello,
>
> I have problems sending to Gmail, I have configured this morning a txt
> record in DNS with:
>
> v=spf1 ip4:78.4.124.132 mx ptr a:platone.archi.lan mx:mail.archinet.it
>
> It worked just for a second: my gmail account has received a test
> message, then on a second try always from my office it fails "refused
> from mx.google.com"
>
> I have added the record in the zone that contains the mx and mail records.
>
> Im waiting for reply
>
> Thanks for your time
>
> *Andrea Di Lello*
>
> *Sistemista*
>
> *Microsoft Certified Professional(MCP)*
>
> **
>
> Cell. 335 8486514
>
> Dir. 0755152253
>
> Fax 0755152299
>
> Email: andrea.dilello@archinet.it
>
>
> ------------------------------------------------------------------------
>
> Archimede S.r.l.
> Sede Legale:
> Via Manzoni, 82
> Ponte S. Giovanni
>
> P.IVA: 01992020543
>
> Tel. 075 515 22 11
> Fax. 075 515 22 99
> www.archinet.it
>
> **********************************************************************************************************************************************************************************************************************
> La presente comunicazione, con le informazioni in essa contenute e
> ogni documento o file allegato, e' rivolta unicamente alla/e persona/e
> cui e' indirizzata ed alle altre da questa autorizzata/e a riceverla.
> Se non siete i destinatari/autorizzati siete avvisati che qualsiasi
> azione, copia, comunicazione, divulgazione o simili basate sul
> contenuto di tali informazioni e' vietata e potrebbe essere contro la
> legge (art. 616 C.P., D.Lgs n. 196/2003 Codice in materia di
> protezione dei dati personali). Se avete ricevuto questa comunicazione
> per errore, vi preghiamo di darne immediata notizia al mittente e di
> distruggere il messaggio originale e ogni file allegato senza farne
> copia alcuna o riprodurne in alcun modo il contenuto.
>
> This e-mail and its attachments are intended for the addressee(s) only
> and are confidential and/or may contain legally privileged
> information. If you have received this message by mistake or are not
> one of the addressees above, you may take no action based on it, and
> you may not copy or show it to anyone; please reply to this e-mail and
> point out the error which has occurred.
> **********************************************************************************************************************************************************************************************************************
>
> Sender Policy Framework: http://www.openspf.org
> Modify Your Subscription: http://www.listbox.com/member/
>
> Archives <https://www.listbox.com/member/archive/1020/=now>
> <https://www.listbox.com/member/archive/rss/1020/14116247-d5ad32e9> |
> Modify
> <https://www.listbox.com/member/?&>
> Your Subscription | Unsubscribe Now
> <https://www.listbox.com/unsubscribe/?&&post_id=20101124071907:0ADDF9A2-F7C5-11DF-B866-866FDDD1E4B8>
> [Powered by Listbox] <http://www.listbox.com>
>




-------------------------------------------
Sender Policy Framework: http://www.openspf.org [http://www.openspf.org]
Modify Your Subscription: http://www.listbox.com/member/ [http://www.listbox.com/member/]

Archives: https://www.listbox.com/member/archive/1020/=now
RSS Feed: https://www.listbox.com/member/archive/rss/1020/1311530-08394398
Modify Your Subscription: https://www.listbox.com/member/?member_id=1311530&id_secret=1311530-644bccd5
Unsubscribe Now: https://www.listbox.com/unsubscribe/?member_id=1311530&id_secret=1311530-512c0f9e&post_id=20101124090954:82A1C6A8-F7D4-11DF-9564-9979F559ED1D
Powered by Listbox: http://www.listbox.com
Re: please help with correct SPF configuration [ In reply to ]
> v=spf1 ip4:78.4.124.132 mx ptr a:platone.archi.lan mx:mail.archinet.it

This won't work.

You start well - an IP4 address.

"mx" is inappropriate here - it (eventually) maps to the same address as
in your ip4: clause. You should remove the "mx" bit.

"ptr" is almost always a mistake in an SPF record. It won't help.

platone.archi.lan is not a resolvable FQDN - you need to remove it from
this record.

mx:mail.archinet.it cannot possibly work; that "zone" (it is not a zone)
has no MX record. If you were trying to use "a:mail.archinet.it", that's
exactly the same as both the ip4: and the mx clauses above.

You've also terminated the record with "?all", which is generally pointless.

Your record should probably be (for the moment)

v=spf1 ip4:78.4.124.132 ~all

Vic.



-------------------------------------------
Sender Policy Framework: http://www.openspf.org [http://www.openspf.org]
Modify Your Subscription: http://www.listbox.com/member/ [http://www.listbox.com/member/]

Archives: https://www.listbox.com/member/archive/1020/=now
RSS Feed: https://www.listbox.com/member/archive/rss/1020/1311530-08394398
Modify Your Subscription: https://www.listbox.com/member/?member_id=1311530&id_secret=1311530-644bccd5
Unsubscribe Now: https://www.listbox.com/unsubscribe/?member_id=1311530&id_secret=1311530-512c0f9e&post_id=20101124095415:B38C97CE-F7DA-11DF-93E5-FA1605907742
Powered by Listbox: http://www.listbox.com