Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-04-19 10:14:13

giampablo
Member
From: Italy
Registered: 2008-07-17
Posts: 86
Website

Undelivered Mail Returned to Sender

Using com_connect plugin the mail message is not delivered to recipient, because SPAM is detected.
The Mail delivery System sends back this notice: host [...IP address...] said: 552 5.2.0 c9BJ1x00C3uqbu1019BJEL spam content detected (in reply to end of DATA command).

Is it possible that the textpack translation in Italian leads the mail system to interprete the message as SPAM?
Or should I just ask the postmaster at host to be less restrictive?

Offline

#2 2018-04-19 12:34:37

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,093
Website GitHub Mastodon Twitter

Re: Undelivered Mail Returned to Sender

Hi giampablo

In gmail most mails from such forms end up in the spam as the “from” address is not real. I had to create a filter to allow them to the inbox.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2018-04-19 14:24:28

giampablo
Member
From: Italy
Registered: 2008-07-17
Posts: 86
Website

Re: Undelivered Mail Returned to Sender

Hi Yiannis,

no gmail is involved, either sender or recipient. Maybe the problem is the host (too strict) that confuses legitimate email and spam email.

Offline

#4 2018-04-19 22:26:01

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,222
Website

Re: Undelivered Mail Returned to Sender

Do you have the SMTP field in Preferences > Admin filled in? And do you use the same email address for the contact form?

In the contact form, this is what I use:

<txp:com_connect to="me@example.com" from="me@example.com" …

And the address is the same email address used in the SMPT field mentioned.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#5 2018-04-30 08:04:24

giampablo
Member
From: Italy
Registered: 2008-07-17
Posts: 86
Website

Re: Undelivered Mail Returned to Sender

It was a Server problem.

Seems that header’s X-PHP-Originating-Script: field has
"19316157:txplib_misc.php(1803) : eval()'d code"

The culprit is eval()'d code that could be used to inject malicious code.

Aruba (hosting), by the way, solved my problem and now all messages go through as expected.

Thanks everybody

Offline

#6 2018-04-30 08:07:25

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,222
Website

Re: Undelivered Mail Returned to Sender

giampablo wrote #311516:

It was a Server problem.

Seems that header’s X-PHP-Originating-Script: field has
"19316157:txplib_misc.php(1803) : eval()'d code"

The culprit is eval()'d code that could be used to inject malicious code.

oh indeed that is asking for problems…

Edit: I opened issue 64 on the GitHub repo

Last edited by phiw13 (2018-04-30 08:12:32)


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#7 2018-04-30 11:15:00

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,468
Website GitHub

Re: Undelivered Mail Returned to Sender

The deep irony here is that X-PHP-Originating-Script itself appears to be an anti-spam measure employed to (somehow) help recipients track down scripts that are bothering them.

I’ve tried a few hacky methdos to trick the server into using something else, but so far to no avail. Looks like we’re stuck with it, since that line of txplib_misc.php is indeed the “originating script” where Txp hands off control to the plugin.

Perhaps if we one day find a better way to load plugins without the use of eval() then at least the message may become less verbose. Until then, not sure what we can do. If anyone has any ideas, please let us know.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#8 2018-04-30 11:31:05

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,093
Website GitHub Mastodon Twitter

Re: Undelivered Mail Returned to Sender

Would it be good to hear how Aruba solved the problem then?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#9 2018-04-30 11:56:13

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,468
Website GitHub

Re: Undelivered Mail Returned to Sender

Probably either turned off that directive in php.ini or tweaked their spam filters to permit this specific case through.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#10 2018-05-21 12:00:53

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

Re: Undelivered Mail Returned to Sender

phiw13 wrote #311235:

Do you have the SMTP field in Preferences > Admin filled in? And do you use the same email address for the contact form?

In the contact form, this is what I use:

<txp:com_connect to="meexample.com” from=“me@example.com” ……@

And the address is the same email address used in the SMPT field mentioned.

i put my gmail address into both fields, also into SMPT.

the email arrives, but with a warning from google:

Be careful with this message
This may be a spoofed message. The message claims to have been sent from your account, but Gmail couldn’t verify the actual source. Avoid clicking links or replying with sensitive information, unless you are sure that you actually sent this message. (No need to reset your password, the real sender does not actually have access to your account!)

secondly, if from field is filled, my address is always on a header of arrived messages ,not senders

Offline

#11 2018-05-21 12:08:13

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,222
Website

Re: Undelivered Mail Returned to Sender

Gallex wrote #311936:

i put my gmail address into both fields, also into SMPT.

the email arrives, but with a warning from google:

Be careful with this message…

Yes other people have mentioned similar warnings with Gmail in the plugin’s thread.

secondly, if from field is filled, my address is always on a header of arrived messages, not senders

But the senders address is in the reply-to field, no?


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#12 2018-05-23 08:30:39

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

Re: Undelivered Mail Returned to Sender

phiw13 wrote #311937:

But the senders address is in the reply-to field, no?

yes

Offline

Board footer

Powered by FluxBB