Welcome to WebmasterWorld Guest from 54.204.92.234

Forum Moderators: phranque

Email not delivered to certain email domains - stat=Data format error

   
6:01 am on Jul 7, 2009 (gmt 0)

10+ Year Member



Hi,

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.

Thanks

12:39 am on Jul 9, 2009 (gmt 0)

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Normally you can add multiple entries to
/etc/hosts
, although I have not tested this in this particular context (sending email). Worth testing:

127.0.0.1 localhost.localdomain localhost
11.22.33.44 example.com example.net example2.org example3.com
2:07 am on Jul 9, 2009 (gmt 0)

10+ Year Member



Thanks - I guess the question is what the anti-spam filter thinks about it. I'll test and let you know.
7:16 pm on Jul 10, 2009 (gmt 0)

10+ Year Member



After some more testing and research it doesn't look like the hosts file is relevant to this problem. It is a sendmail issue. I've found information indicating I need to create a "generics table" that will handle the reverse mapping of the users. I first modified my sendmail.mc file by adding the following lines:

FEATURE(`genericstable', `dbm /etc/mail/genericstable')dnl
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl

I then created a file /etc/mail/genericstable and added the reverse of what's in the virtusertable:

user1 email@domain1.com
user2 email@domain2.net

makemap hash /etc/mail/genericstable < /etc/mail/genericstable

I created a /etc/mail/generics-domains file:

domain1.com
domain2.net

I added domains to my local-host-names file:

domain1.com
domain2.net

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!

Thanks

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month