Sending from ${author}@cpan.org to gmail (among others) fails because cpan.org has no SPF record.

From a bounce:

... while talking to gmail-smtp-in.l.google.com.:
DATA
<<< 550-5.7.26 Your email has been blocked because the sender is 
unauthenticated.
<<< 550-5.7.26 Gmail requires all senders to authenticate with either SPF or 
DKIM.
<<< 550-5.7.26
<<< 550-5.7.26  Authentication results:
<<< 550-5.7.26  DKIM = did not pass
<<< 550-5.7.26  SPF [cpan.org] with ip: [2001:470:8f95:941::27] = did not pass

Since (as far as I know) cpan.org doesn't provide SMTP servers for ${author}@cpan.org (the best solution), sending via other servers is the only option.  Could the admins add a permissive SPF (TXT) record to cpan.org?

e.g. one of

# Accept all

cpan.org TXT v=spf1 +all

or

# Soft fail (if you include the cpan.org servers)

cpan.org TXT v=spf1 +mx ~all

or

# Neutral (accept)

cpan.org TXT v=spf1 ?all

(Details in RFC7208 <https://datatracker.ietf.org/doc/html/rfc7208>)

Alternatively, setting up authenticated access to cpan.org's SMTP servers (mx{1,2}.mailchannels.net) using PAUSE credentials would allow a more restrictive SPF record and DKIM... This is the better solution from the point of view of  minimizing SPAM, but has costs.

Thanks.



Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to