vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Email rejections due to DMARC (https://vborg.vbsupport.ru/showthread.php?t=311062)

makaiguy 05-07-2014 12:54 PM

I've found an error in the replacement ContactUs code (point #1 above).

The original code, which used $vbulletin->userinfo['email'] to retrieve the poster's email address for insertion into the Reply-to header, only works for logged-in registered users of the board. If you allow un-logged-in visitors to use the Contact Us form, the email address they enter will not be picked up for the Reply-to header.

Instead, use $vbulletin->GPC['email'], as in the original vB coding. This works both for logged-in users and for visitors.

I've edited the code in the original post.

Terrablade 06-12-2014 09:59 PM

Applied all mentioned here but for some reason every once in a while i get this.

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

kalembo@hotmail.com
SMTP error from remote mail server after end of data:
host mx2.hotmail.com [207.46.8.199]: 550 5.7.0 (BAY004-MC6F11) Message could not be delivered. Please ensure the message is RFC 5322 compliant.

any info?

abuthabit 06-20-2014 07:30 PM

many thanks I always effected with hotmail blocking ???? ???? ????

oldengine 09-11-2014 12:42 PM

Thanks makaiguy, resolved the Yahoo policy rejects.

oldengine 09-25-2014 01:57 PM

And now there's this...

This message has been rejected due to content judged to be spam by the internet community\302\240IB212

Read this sweet information: http://x.co/crbounce

552 This message has been rejected due to content judged to be spam by the Internet community. IB212

The email message contains a link, attachment, or pattern caught by our filters as spam. Please include an option to opt out in your email messages. Then check your sending lists to ensure you are only sending to recipients who have selected to opt in to receiving your mail. If you feel this message has been flagged as spam erroneously, please be sure to obtain a copy of the original message attempting to be sent, and then contact support.

OH, but OPTING OUT is a LINK isn't it?

Contact their support? Their email is do-not-reply.

makaiguy 09-25-2014 03:13 PM

Quote:

Originally Posted by oldengine (Post 2516465)
And now there's this...

This message has been rejected due to content judged to be spam by the internet community\302\240IB212

Read this sweet information: http://x.co/crbounce

552 This message has been rejected due to content judged to be spam by the Internet community. IB212

The email message contains a link, attachment, or pattern caught by our filters as spam. Please include an option to opt out in your email messages. Then check your sending lists to ensure you are only sending to recipients who have selected to opt in to receiving your mail. If you feel this message has been flagged as spam erroneously, please be sure to obtain a copy of the original message attempting to be sent, and then contact support.

OH, but OPTING OUT is a LINK isn't it?

Contact their support? Their email is do-not-reply.

Have run into the same thing here, with the same frustration. They're occurring for me with forum and thread subscription email notices. I guess their software is too dumb to recognize that "unsubscribe" links are the same thing as "opt out" links.

I've just edited the boilerplate phrases that generate these messages so that everywhere they said "unsubscribe" they now say "unsubscribe (opt out)". Too soon to know if this makes any difference.

makaiguy 11-20-2014 01:53 PM

Quote:

Originally Posted by makaiguy (Post 2516473)
I've just edited the boilerplate phrases that generate these messages so that everywhere they said "unsubscribe" they now say "unsubscribe (opt out)". Too soon to know if this makes any difference.

It's been almost two months now and I haven't received any more of those rejection notices, so maybe this worked.

RichieBoy67 11-20-2014 03:15 PM

It is not so much having it in your email but on your site when people register. When you do the request with Google and Microsoft to stop blocking your email you have to submit the opt in/out link along with other stuff.

What gets us hammered as well is if someone marks you as spam.

I went through email a couple months ago and had to do my dns settings over completely including new name servers. it is vital that your sending ip address matches your domain.

At any rate, glad it is working out for you now.

It really ticked me off when this happened to me because we do not spam anyone and were being blocked only because our email server settings were not up to standard.

dougdirac 12-16-2014 06:42 AM

Quote:

Originally Posted by makaiguy (Post 2496459)
Here's my hack to sendmessage.php. This is for vB3.8.7 - don't know if there have been syntax changes in later versions. The keys here are the 5th and 6th parameters passed to vbmail().

5th = the From email address. If not specified, or specified as a null (''), the default address for the bbs will be used.

6th = any additional headers you'd like to define. This is where we'll define the Reply-to header.

In my vB 3.8.7 vbmail() is called three times in sendmessage.php.
  1. First time is for ContactUs mails. I don't currently have any trouble with these, probably because MY server isn't making DMARC/Sender-ID checks on incoming mail. Or maybe it's just that, even though it has the sender's email shown as From, in reality it is going from and to the same server (??).

    Find:
    PHP Code:

    vbmail($destemail$subject$messagefalse$vbulletin->GPC['email'], ''$name); 

    Replace with:
    PHP Code:

    vbmail($destemail$subject$messagefalse''"Reply-to:{$vbulletin->GPC['email']}\n"$name); 

  2. Second is for Send-A-Link-to-Friends mails. These now go thru okay because they show as coming from my admin email address. But would be MUCH better if they also included a Reply-to header so the recipient could reply to the real sender directly, instead of replies coming back to me.

    Find:
    PHP Code:

    vbmail($vbulletin->GPC['sendtoemail'], $vbulletin->GPC['emailsubject'], $message); 

    Replace with:
    PHP Code:

    vbmail($vbulletin->GPC['sendtoemail'], $vbulletin->GPC['emailsubject'], $message,'','',"Reply-to:{$vbulletin->userinfo['email']}\n"); 

  3. Third is for Email-to-another-bbs-user mails. These are the ones currently giving me fits.

    Find:
    PHP Code:

    vbmail($userinfo['email'], fetch_censored_text($vbulletin->GPC['emailsubject']), $message false$vbulletin->userinfo['email'], ''$vbulletin->userinfo['username']); 

    Replace with:
    PHP Code:

    vbmail($userinfo['email'], fetch_censored_text($vbulletin->GPC['emailsubject']), $message false''"Reply-to:{$vbulletin->userinfo['email']}\n"$vbulletin->userinfo['username']); 


Would be great if we could get 1 and 3 added to the core in vB 4.2.3 Beta 4

Avensen 04-29-2016 10:17 AM

I had to change

PHP Code:

Reply-to:{$vbulletin->userinfo['email'

to

PHP Code:

Reply-To: {$vbulletin->userinfo['email'

to make it RFC compliant and get it working with some e-mail provider.

Changes are: the capital T in Reply-To: and added space after Reply-To:


All times are GMT. The time now is 03:12 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01178 seconds
  • Memory Usage 1,768KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete