question about ip address and googleapps

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
mrealty
Forum Newbie
Posts: 2
Joined: Mon Jan 19, 2009 1:36 pm

question about ip address and googleapps

Post by mrealty »

Hi:

I was looking for a solution to a problem and was wondering if swiftmailer would solve it. My situation is this: I am letting Google handle my smtp server. I have a Joomla 1.57 site setup and can't seem to have it relay my outgoing mail from my server at home through my google smtp without having my ip address of my server included in the email. It works fine for most email recipients like google mail users, but my IP address is on a blocklist that yahoo uses, so any email sent to yahoo users email accounts are bounced back. My ISP has requested that my IP range be blocked by adding the range to a PBL. The PBL states:

Outbound Email Policy of Comcast for this IP range:

Email sent by Comcast subscribers using a mail program such as Outlook Express are required to send the email through Comcast. To insure your mail program is properly configured, please visit http://www.comcast.net/help/faq/index.j ... mail117481. If you are a Comcast Commercial Services customer and need support, please contact support_biz@cable.comcast.com

The reason why I don't use Comcast's outgoing mail server is because I have my own domain and google apps allows transparency concerning where the email originated. I'd like for recipients to see my domain as the sender and not Comcast (currently when I send email out to a google mail account, those users receive them just fine because Google mail does not subscribe to the PBL that yahoo subscribes to.)

I don't mind being responsible for spamming and it's not my intent. Thing is, I'm not running an SMTP server, I'm just trying to relay out going messages to my google smtp server. I heard that swiftmailer can be used as a solution to this problem. Is this correct? Hope this all made sense.

With kind regards.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: question about ip address and googleapps

Post by Chris Corbyn »

Swift Mailer can only send through Google's SMTP if your network provider allows it, but yes it can connect to Google's SMTP and use it.

What it can't do is prevent the "Received:" line that you're trying to remove. Those lines are added for good reason and all mail servers add them ;)
mrealty
Forum Newbie
Posts: 2
Joined: Mon Jan 19, 2009 1:36 pm

Re: question about ip address and googleapps

Post by mrealty »

Thanks for the speedy reply. After I left that post, I kept playing with the configurations. I tried adding comcast's outgoing smtp into my Joomla setup just to see if A. whether or not it would work, and B. what it would look like on the recipient end. Turns out, Joomla puts my "reply to" as my domain (which is what I wanted) and comcast does not strip it. Yahoo sees that it's going through comcast's outgoing server (which to me is the same thing as sending it through google smtp but I guess not) and then allows the message to get to the Yahoo recipients, even though my IP address is in the "advanced header view." Most people aren't going to view the advanced header so I'm happy with the way it is now. It's just silly that comcast requires it to go through them, when they could have by passed a lot of processing by just allowing me to relay using google. Bottom line is, either way, I'm still sending email from my server to Yahoo email accounts. Go figure.

With kind regards,
mrealty
Post Reply