Support > cpg1.5 email

Problem with contact form by SMTP and Sendmail

(1/4) > >>

qba:
From several weeks I have problem with Contact form. I wrote about my problem here: http://forum.coppermine-gallery.net/index.php/topic,75030.msg363790.html#msg363790

Earlier I used SMTP settings (smtp.poczta.onet.pl:587 + username + password). All was OK till my email operator changed anti-spam protections. After that change all emails sent from my website were stopped. I asked my email operator about this problem and got answer:

--- Quote ---In "From" field must be email address authorized in SPF filter - in this case onet.pl
--- End quote ---
The problem is in both cases: when checkbox "Use the sender's email address as "from" address" os setting ON and OFF


When I change Email settings to Sendmail I receive email:

Mail delivery failed: returning message to sender


--- Quote ---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:

  jwidla@onet.eu
    SMTP error from remote mail server after RCPT TO:<jwidla@onet.eu>:
    host mx.poczta.onet.pl [213.180.147.146]: 554 5.7.1 <jwidla@onet.eu>:
    Recipient address rejected: Spf check: fail

------ This is a copy of the message, including all the headers. ------

Return-path: <jwidla@onet.eu>
Received: from nobody by beta2.fc.pl with local (Exim 4.80)
(envelope-from <jwidla@onet.eu>)
id 1TVNiy-0005Ob-Vx
for jwidla@onet.eu; Mon, 05 Nov 2012 15:32:25 +0100
To: jwidla@onet.eu
Subject: Topic
Date: Mon, 5 Nov 2012 15:32:24 +0100
From: "jwidla@onet.eu" <jwidla@onet.eu>
Message-ID: <1567efa6ea430920e3e28b3abbcc9077@car-brochures. one.pl>
X-Priority: 3
X-Mailer: PHPMailer (phpmailer.sourceforge.net) [version 2.0.4]
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_1567efa6ea430920e3e28b3abbcc9077"

--b1_1567efa6ea430920e3e28b3abbcc9077
Content-Type: text/plain; charset = "utf-8"
Content-Transfer-Encoding: 8bit

Ta wiadomo���� zosta��a wys��ana na 2012-11-05 15:32:24 za pomoc�� formularza kontaktowego dost��pnego na http://www.car-brochures.one.pl/contact.php z adresu IP 81.15.192.154
The go���� named "My name" with the email address jwidla@onet.eu said:
Message


--b1_1567efa6ea430920e3e28b3abbcc9077
Content-Type: text/html; charset = "utf-8"
Content-Transfer-Encoding: 8bit

Ta wiadomo���� zosta��a wys��ana na 2012-11-05 15:32:24 za pomoc�� formularza kontaktowego dost��pnego na http://www.car-brochures.one.pl/contact.php z adresu IP 81.15.192.154<br /><br />
The go���� named &laquo;My name&raquo; with the email address jwidla@onet.eu said:<br /><br />
<div style="border:1px solid black">Message</div>



--b1_1567efa6ea430920e3e28b3abbcc9077--

--- End quote ---


Here is my website: www.car-brochures.one.pl
I Enabled debug mode for everyone.
Now I`m using "Sendmail"

Do you have any idea how to solve the problem?

Αndré:

--- Quote ---In "From" field must be email address authorized in SPF filter - in this case onet.pl
--- End quote ---


--- Quote ---    SMTP error from remote mail server after RCPT TO:<jwidla@onet.eu>:
    host mx.poczta.onet.pl [213.180.147.146]: 554 5.7.1 <jwidla@onet.eu>:
    Recipient address rejected: Spf check: fail
--- End quote ---

Please review your Coppermine setting "Gallery administrator email". I assume it's currently jwidla@onet.eu but has to be something like jwidla@onet.pl.

qba:
Address jwidla@onet.eu is correct and is providing by onet.pl

Αndré:
But your email provider doesn't allow onet.eu addresses as from address. Of course we could hard-code a different email address as sender address (e.g. no-reply@onet.pl) if you don't have a valid @onet.pl address.

qba:
It could work... How to change it?

Navigation

[0] Message Index

[#] Next page

Go to full version