SM2 Extensions | Joomla! | Custom Development | Brisbane | Australia


Home arrow Support arrow Forum
SM2 Extensions  


Specify Outgoing IP Address - 2008/02/12 11:57 Hi,

I have a situation where we have one server, with many IP addresses (aliases) on a FreeBSD box. Each website runs Joomla and SM2 and has it's own IP address. I want a way where I can specify which IP address the mail will go out on (for anti-spam reasons).

A way I though this could work, would be to setup multiple sendmail's, each with their own configuration. I don't know if SM2 uses sendmail though. Does it?

If not, can anyone think of a way I can accomplish this?
  | | The administrator has disabled public write access.
Re:Specify Outgoing IP Address - 2008/02/12 17:27 SM2 Email Marketing uses the Joomla! Global Configuration for its mail settings.
In the Joomla! Mail settings you can specify Sendmail as an option and the path to it.

Any issues you have with this however will most likely by Joomla! issues as we use the Joomla! core functions to send all messages.

Hope this helps
Tony
  | | The administrator has disabled public write access.
Re:Specify Outgoing IP Address - 2008/02/13 15:35 That worked like a charm.

For the record, in the Joomla Global Configuration, I changed the Mailer to be Sendmail, and changed the Sendmail Path to something like this:

/usr/sbin/sendmail -C/home/website/sendmail.cf

And then in sendmail.cf, make sure you have this line:

O ClientPortOptions=Family=inet, Address=1.2.3.4

Where 1.2.3.4 is the IP address you want the mail to go through.
  | | The administrator has disabled public write access.