Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: phranque
I have multiple domains hosted on a Linux/Apache VPS account. I have a single dedicated IP address for the account. I'm having problems with email not being delivered to certain email domains/ISPs. I get the error "stat=Data format error" in my error log. The emails are generated by Joomla.
When I look at the headers of emails that do get through, I can see that the Return Path and the Received values are for the primary account of my VPS, not any of the values I have set in Joomla. I assume that the receiving mail server sees the discrepancy and doesn't deliver the mail because of it.
If I understand correctly the /etc/hosts file is where the values in the headers come from, and they can only contain one domain per IP address. Is this right?
Would it be possible to make an adjustment in Joomla (i.e. edit the PHP function that calls the php mail function) to set the header values for each site on it's own domain?
I'm just not sure where these values come from or how to adjust them. Any help would be appreciated.
, although I have not tested this in this particular context (sending email). Worth testing:
127.0.0.1 localhost.localdomain localhost
18.104.22.168 example.com example.net example2.org example3.com
FEATURE(`genericstable', `dbm /etc/mail/genericstable')dnl
I then created a file /etc/mail/genericstable and added the reverse of what's in the virtusertable:
makemap hash /etc/mail/genericstable < /etc/mail/genericstable
I created a /etc/mail/generics-domains file:
I added domains to my local-host-names file:
I then created the sendmail.cf file:
m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
and restarted sendmail.
No luck so far. I'll keep at it, but if anyone can see something I'm obviously doing wrong or missing from my description, please let me know!