Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Same here on Amazon S3. It creates bucket, but when you generate the files, they aren’t in it!

    Agreed. took me a while to work out what was failing too. A shame really, because this one would be dead easy to fix.

    astorg

    (@astorg)

    I’m having this issue as well: have to update the cache manually, otherwise it doesn’t show the latest posts.

    Not life-threatening, obviously, but somewhat puzzling.

    Because I was intrigued by the issues mentioned in this post, I took a while to test a fresh WordPress 2.2 installation’s reliability for sending email. I set up a new site on a (gs) Media Temple server with a brand new 2.2 WP install and made the following modifications:

    (1) First I installed the ShiftThis.net | Swift SMTP plugin (http://www.shiftthis.net/wordpress-swift-smtp-plugin/) and set it up to send mail via the Media temple SMTP server that goes with the domain. Don’t forget this is used, in principle, only TO SEND mail, so it is in no way inconvenient if I don’t use my hosted Gmail. Using the latter, however will work but will result in any outgoing mail being logged in the “Sent” folder in the Hosted Gmail account, which may or may not be desired: choose accordingly. I configured my Gmail hosted Premier account to fetch any mail from this account using SMTP, just in case someone replies to an email sent using the actual address designated for accessing the SMTP server. I tested the plugin with Gmail Hosted also, and it worked too.

    (2) Second, I configured the SPF records for the Media Temple domain used as an SMTP server (just to make sure this is important, I tried sending an email from the domain using the SMTP server without having set a SPF record : it was sent safely but ended up in my spam folder and in Gmail or Hotmail would have been vanished without trace) I used the Media Temple default for this (v=spf1 a:yourdomain.com/20 ~all) but this can be refined if that mail server is used in other contexts.

    (3) I altered the pluggable.php file (found in the wp-includes folder) to replace “wordpress@mydomain.com” by “user@mydomain.com”. This had best match the administration default set in the WordPress admin under >Options >General. This ensures that any admin-related mail sent via the SMTP server to myself arrives safely. It is important that this admin address is NOT the same as the address used to author posts, as WordPress does not seem to like that combination.

    (4) The last step, obviously, was installing a contact form (I used the WP-ContactForm: Akismet Edition [http://www.bloggingexpertise.com/plugins/wp-contactform-akismet/], basically because I liked the Askimet antispam feature and because it is fairly recent and works, but actually any contact form will do) and set it up to send any INCOMING messages to my Hosted Gmail Premier account. These arrived safely because Gmail established that the SPF record for the domain from which they had been sent specified that server as a legitimate author for that email.

    (6) With some plugins other than the Askimet Contact Form I mentioned (which will work with the ShiftThis plugin out of the box), it can be necessary to make the following change (detailed in the documentation for the ShiftThis.net | Swift SMTP plugin [http://docs.shiftthis.net/wordpress_swift_smtp_plugin]; if you’ve installed a plugin that sends email and does not seem to be working correctly with the Swift SMTP Plugin, do the following:

    i. Open the problem Plugin in a text editor.
    ii. Do a search for the function mail( and replace it with wp_mail(.
    iii. Upload the revised plugin and it should now use the SMTP setting for sending mail. (depending on which subscription plugin you’re using, it might be necessary to edit it in this way; I needed to edit mine).

    Basically the key point is that if you set up your WordPress to send mail using a mail server that Gmail, with its strict anti-spam policies, regards as suspicious because the server it was sent through cannot be authenticated, the chances are the email will not arrive. This applies to both INCOMING mail (sent to you via the contact form) or OUTGOING mail (sent by the WordPress admin to you or to your readers or yourself regarding subscriptions, comments and registrations and the like) and anyone whose email provider has a strict spam policy will either not receive it at all or find it ends up in his spam folder.

    Because I was intrigued by the issues mentioned in this post, I took a while to test a fresh WordPress 2.2 installation’s reliability for sending email. I set up a new site on a (gs) Media Temple server with a brand new 2.2 WP install and made the following modifications:

    (1) First I installed the ShiftThis.net | Swift SMTP plugin (http://www.shiftthis.net/wordpress-swift-smtp-plugin/) and set it up to send mail via the Media temple SMTP server that goes with the domain. Don’t forget this is used, in principle, only TO SEND mail, so it is in no way inconvenient if I don’t use my hosted Gmail. Using the latter, however will work but will result in any outgoing mail being logged in the “Sent” folder in the Hosted Gmail account, which may or may not be desired: choose accordingly. I configured my Gmail hosted Premier account to fetch any mail from this account using SMTP, just in case someone replies to an email sent using the actual address designated for accessing the SMTP server. I tested the plugin with Gmail Hosted also, and it worked too.

    (2) Second, I configured the SPF records for the Media Temple domain used as an SMTP server (just to make sure this is important, I tried sending an email from the domain using the SMTP server without having set a SPF record : it was sent safely but ended up in my spam folder and in Gmail or Hotmail would have been vanished without trace) I used the Media Temple default for this (v=spf1 a:yourdomain.com/20 ~all) but this can be refined if that mail server is used in other contexts.

    (3) I altered the pluggable.php file (found in the wp-includes folder) to replace “wordpress@mydomain.com” by “user@mydomain.com”. This had best match the administration default set in the WordPress admin under >Options >General. This ensures that any admin-related mail sent via the SMTP server to myself arrives safely. It is important that this admin address is NOT the same as the address used to author posts, as WordPress does not seem to like that combination.

    (4) The last step, obviously, was installing a contact form (I used the WP-ContactForm: Akismet Edition [http://www.bloggingexpertise.com/plugins/wp-contactform-akismet/], basically because I liked the Askimet antispam feature and because it is fairly recent and works, but actually any contact form will do) and set it up to send any INCOMING messages to my Hosted Gmail Premier account. These arrived safely because Gmail established that the SPF record for the domain from which they had been sent specified that server as a legitimate author for that email.

    (6) With some plugins other than the Askimet Contact Form I mentioned (which will work with the ShiftThis plugin out of the box), it can be necessary to make the following change (detailed in the documentation for the ShiftThis.net | Swift SMTP plugin [http://docs.shiftthis.net/wordpress_swift_smtp_plugin]; if you’ve installed a plugin that sends email and does not seem to be working correctly with the Swift SMTP Plugin, do the following:

    i. Open the problem Plugin in a text editor.
    ii. Do a search for the function mail( and replace it with wp_mail(.
    iii. Upload the revised plugin and it should now use the SMTP setting for sending mail. (depending on which subscription plugin you’re using, it might be necessary to edit it in this way; I needed to edit mine).

    Basically the key point is that if you set up your WordPress to send mail using a mail server that Gmail, with its strict anti-spam policies, regards as suspicious because the server it was sent through cannot be authenticated, the chances are the email will not arrive. This applies to both INCOMING mail (sent to you via the contact form) or OUTGOING mail (sent by the WordPress admin to you or to your readers or yourself regarding subscriptions, comments and registrations and the like) and anyone whose email provider has a strict spam policy will either not receive it at all or find it ends up in his spam folder.

    @===> engtech:

    What it amounts to is that wordpress.com has enabled the same functionality as can be achieved by taking all the steps I described above, viz.:

    – pointing MX records to Google Apps;

    – configuring SPF record to cover mail sent from both Google Apps and blog;

    – enabling an SMTP plugin that is Google-apps compatible.

    – disabling any mail functionality within one’s own server to avoid any internally generated mail staying trapped there.

    Providing all these steps are taken, the WordPress/Google Apps combination will work and all mail, whether internal or external, will flow smoothly in both directions. I haven’t tested ths under WP 2.2 yet, but I suspect that further changes in the way that mail and wp-mail operate will require further tweaking.

    I had this problem too ever since I switched to Google Apps Hosted Gmail a few months ago (this was before 2.2). For a long time I wasn’t receiving any mail notifications and/or contact form mail.

    I finally solved it with a combination of several steps to completely revamp the way WordPress handles email.

    The first measure was installing the http://www.shiftthis.net/wordpress-swift-smtp-plugin/ plugin wish allows you to manage all your email using a secure connection via your Gmail SMTP server. This will work with Google Apps, but you need to tweak several of your PHP files and plugins that use email to make the switch functional (all explained on the plugin site). This got my contact form email back through.

    A second, apparently unrelated problem was that WordPress doesn’t seem to like it if you post articles using the same email address as the one used for admin and the one used for the plugin. I solved this one by using one address for my profile (the one my posts are signed under) and another for (1) blog admin and (2) the SMTP plugin email address (the one that any incoming email to me from the contact form or the WordPress admin gets sent to.

    I also got rid of the <wordpress@mydomain.com> default address that the standard install will set up and replaced it with my admin address.

    With these two additional steps, my comment and subscription notices started coming back through. It looks as if WordPress doesn’t like sending them to you if you are the author of the articles in your blog.

    The final touch was to disable email on my Media Temple (DV) 3.0 server. Although my DNS isn’t managed by Media Temple, I noticed that this final step (which I had overlooked when I switched my email to Google Apps) finally got me receiving notifications about 404 Errors (which had previously got swallowed up by the system despite all the above fixes).

    If I were you, I would avoid using your own server and use Gmail as an SMTP server. You can do this withe the Shift SMTP plugin, which as far as I know is the only WordPress mailing plugin that supports this:

    http://www.shiftthis.net/wordpress-swift-smtp-plugin/

Viewing 8 replies - 1 through 8 (of 8 total)