I've got this online registration for that will send a confirmation email back to the user.
The problem is that when the email is send from the form it will show "firstname.lastname@example.org"
Problem with this is that there is no SPF record for this, causing some registrations not to get to the user (hotmail does not accept mail when SPF is wrong)
Now my HOSTNAME is host.domainname.tld, so I thought by adding host.domainname.tld to the existing SPF record for domainname.tld would fix it.
Wrong.. The problem is still their.
The problem is the from: email@example.com
I think if it would read firstname.lastname@example.org
that all is okay!
I've had a look at PHP.ini, but see nothing where I can set this.
Anyone here who might know how to fix this problem?
This is the data from the: mail.info file
(note that I have changed some things for privacy reasons)
I have changed the domainname.tld, the email_address, an_email_address and the IP: 184.108.40.206
When sending from the PHP form:
Sep 5 11:21:16 host postfix/pickup: DB072125000F: uid=33 from=<www-data>
Sep 5 11:21:16 host postfix/cleanup: DB072125000F: message-id=<20060905092116.DB072125000F@domainname.tld>
Sep 5 11:21:16 host postfix/qmgr: DB072125000F: from=<email@example.com>, size=522, nrcpt=1 (queue active)
Sep 5 11:21:18 host postfix/smtp: DB072125000F: to=<firstname.lastname@example.org>, relay=gmail-smtp-in.l.google.com[220.127.116.11], delay=2, status=sent (250 2
Sep 5 11:21:18 host postfix/qmgr: DB072125000F: removed
When sending with SMTP (and all is ok!):
Sep 5 11:24:21 host postfix/smtpd: connect from a11-22-33-44.adsl.cistron.nl[18.104.22.168]
Sep 5 11:24:21 host postfix/smtpd: 2E60B125000F: client=a11-22-33-44.adsl.cistron.nl[22.214.171.124], sasl_method=LOGIN, sasl_username=web4_me
Sep 5 11:24:21 host postfix/cleanup: 2E60B125000F: message-id=<004f01c6d0cd$46731ca0$0400000a@xeon2>
Sep 5 11:24:21 host postfix/qmgr: 2E60B125000F: from=<me@an_email_address>, size=685, nrcpt=1 (queue active)
Sep 5 11:24:21 host postfix/smtpd: disconnect from a11-22-33-44.adsl.cistron.nl[126.96.36.199]
Sep 5 11:24:22 host postfix/smtp: 2E60B125000F: to=<email@example.com>, relay=gmail-smtp-in.l.google.com[188.8.131.52], delay=1, status=sent (250 2
Sep 5 11:24:22 host postfix/qmgr: 2E60B125000F: removed