in reply to Mail Sent with Test::Reporter Not Getting Delivered

From the mail log, it looks like messages like
Oct 9 14:18:53 localhost postfix/smtp[4393]: A9D2D1BE8D1: to=<cpan-testers@perl.org>, relay=mx.develooper.com[63.251.223.176], delay=6813, status=deferred (host mx.develooper.com[63.251.223.176] said: 450 Could not resolve Macintosh.local (in reply to MAIL FROM command))
is the problem - mx.develooper.com needs to be able to resolve the machine name specified in your FROM header. I'm not that familiar with Macintosh, but is your host name specified as Macintosh.local? If so, if you have a permanent IP address, try changing your host name to that associated with the address.

Replies are listed 'Best First'.
Re^2: Mail Sent with Test::Reporter Not Getting Delivered
by jkeenan1 (Deacon) on Oct 10, 2005 at 12:40 UTC
    I'm on DSL, so (I think) that means I do not have a permanent IP address.

    OTOH, I have manually posted to this and other perl.org lists many times. It should be said, however, that I'm usually posting to the news interface rather than sending mail.

    I subscribed to cpan-testers@perl.org yesterday with my Macintosh Mail program. This was done prior to my sending the undelivered mail in the hope that registering would ease the way.

    So I would guess that Test::Reporter (or, perhaps, Mail::Send underneath it) is sending out the mail with Macintosh.local as the host name. Is there a workaround?

    Thank you very much.

      A similar issue was discussed on the Cpanplus-devel list; one suggestion raised there was to install Net::Domain to attempt to get the domainname. You might try installing that, if it's not already present. Another option, as described in Test::Reporter::Mail::Util, is to set the MAILDOMAIN environment variable.

      All this assumes though that your domainname is valid (ie, is associated with a real IP address). If you don't have a permanent IP address, your ISP will probably have an SMTP server that you can use for outgoing email; you could try using mail_send_args of Test::Reporter to specify the smtp server to pass to Mail::Mailer.

        The mail_send_args approach seems like the easiest to try out. I'll try to get to it tomorrow. Thanks, Randy, for the suggestion.

        jimk