Steven, Thanks for finding this out and posting it. It saved me lots of searching.
I am using 2.2rc3 and needed to use a smarthost for relaying smtp traffic out. I found that putting the smarthost in the web interface and saving did nothing. After hitting the Save button, the fields were blanked and nothing was changed. putting relayhost=mail.smarthost.com in /etc/postfix/main.cf did work, but then get overwritten with every save. I found that adding the same line to main.cf.tmpl ensured that the relayhost would survive a save/restart of the SMTP proxy. Cheers, Col ----- Original Message ----- From: "Steven Stringham" <[EMAIL PROTECTED]> To: <efw-user@lists.sourceforge.net> Sent: Sunday, June 01, 2008 1:35 AM Subject: Re: [Efw-user] smtp smarhost on nonstandard port > Ok. I figured it out. In order to use postfix with a service on a > nonstandard port (like 2525) the following needs to be manually configured. > > In the /etc/postfix/main.cf on the > relayhost=[myhost.com] > line change it to read > relayhost=[myhost.com]:2525 > > Then, also change the sasl_passwd file > [myhost.com] userid:password > to read: > [myhost.com]:2525 userid:password > > The problem here is that when you configure port 2525 in the advanced > section of the web interface, it puts it into the files as: > [myhost.com:2525] > > > DNS does not resolve this properly. So, we need to modify the web > interface to put the hostname into the interface without the brackets > around the hostname. That, or we need to add a port field so that the > port goes outside the brackets. > > The following formats work: > [myhost.com]:2525 > myhost.com:2525 > > As it stands now, I have to modify these files by hand if I change > anything else in my smtp proxy configuration as it gets rewritten every > time. What needs to be changed on my system as it stands to get this to > change? > > Currently I am using the release 2.1. Is this alreay fixed? > > Thanks > Steven Stringham > > > > Steven Stringham wrote: > > I need to configure an outbound smarthost on my EFW host on a > > nonstandard port. Can I do this with EFW? > > > > Thanks > > Steven Stringham > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Efw-user mailing list > Efw-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/efw-user > > > -- > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 269.24.4/1476 - Release Date: 5/31/2008 12:25 PM > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Efw-user mailing list Efw-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/efw-user