[ic] Help! Net::SMTP / IC config for target smtp port

Stefan Hornburg racke at linuxia.de
Tue Sep 20 15:33:57 EDT 2005

On Tue, 20 Sep 2005 14:38:54 -0400
"N.E.S.T. Solutions" <nest_consulting at yahoo.ca> wrote:

> Hi all,
> I looked for information about this and can't find anything, I need 
> some tips please!
> I have sites with servers in 2 different locations. Site 1 has a IC
> store, 
> site 2 has the SMTP server. 
> >From site 1, using Net::SMTP, I want IC to send the mail 
> (orders, receipts, etc...) using Site 2's SMTP listening on port 555. 
> (the SMTP server works, I use it all the time)
> Is there a way to do it with Net::SMTP? 

My version of Net::SMTP doesn't have a port parameter.
> I've tried this already:
> (in file interchange.cfg)
> Variable  MV_SMTPHOST  smtp.site2.com:555
> ...but didn't work

No, apparently you can only specify a hostname here. 

You can redirect the SMTP traffic with iptables rules.


LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team

More information about the interchange-users mailing list