Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Postfix doesn't deliver html to local domain

Status
Not open for further replies.

PhoneNewbie

IS-IT--Management
Feb 19, 2002
41
US
Hi,

I have a webserver running apache that uses postfix only to send its html newsletters (no local delivery). Let's say the machine is Mail for goofball.xyz is handled by a different server, mail.goofball.xyz and is set to allow relaying from I can correctly send to all domains except goofball.xyz.

When I send to someone@goofball.xyz, it delivers but the newsletter shows up missing its return address and the message is all text (like viewing source instead of the actual html).

I can add another recipient to the newsletter list who belongs to another domain and forward it someone@goofball.xyz and everything looks fine so it's not my local mail server/email client I don't think.

What could be causing this?

main.cf pieces -

myhostname = mydomain = goofball.xyz
myorigin = $mydomain
mydestination =
relayhost = mail.goofball.xyz

Please advise, thanks!!
 
OK, did some more research and what happened is there was an old pix in the way which was screwing up esmtp. So I swapped postfix to SMTP and I am still having an issue where the newsletter is delivered as text instead of html. It appears in the log that when it tries to deliver to mail.goofball.xyz (an Exchange 2003) server, it tanks right during setting the header_token: text/html and doesn't complete the header. Any thoughts on what could cause that?

Thanks again!
 
OK, did some more research and what happened is there was an old pix in the way which was screwing up esmtp. So I swapped postfix to SMTP and I am still having an issue where the newsletter is delivered as text instead of html. It appears in the log that when it tries to deliver to mail.goofball.xyz (an Exchange 2003) server, it tanks right during setting the header_token: text/html and doesn't complete the header. Any thoughts on what could cause that?

Thanks again!
 
Headers are simply part of the DATA during an SMTP transaction. It sounds like your webapp is taking the dump and doesn't have anything to do with postfix. Is there anything in your apache error_log?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top