[CentOS] Centos 6.2 Postfix - forward through SMTP smarthost with SMTP-AUTH

Wed Jan 11 08:50:50 UTC 2012
Giles Coochey <giles at coochey.net>

On 11/01/2012 00:31, Mail Lists wrote:
> On 01/10/2012 05:54 PM, Giles Coochey wrote:
>> Hi All,
>>
>> I have set up three servers in a development environment. Via CR
>> they're updated to Centos 6.2
>>
>> It appears that these servers have postfix installed on them by
>> default, which unfortunately I'm not very well acquainted with.
>>
>> All I want is a quick and dirty way to enable these hosts to send
>> email through my own SMTP host.
>>
>> My (sendmail) SMTP host uses SMTP AUTH on a non-standard port and my
>> dev (virtual env) runs off my laptop, so a dynamic IP.
>>
>> Does anyone have a quick and dirty configuration for setting up
>> postfix to forward all remote mail through my smarthost?
>>
>> I'm guessing that I can put the hostname, the port, and the username
>> and password somewhere in the postfix configuration and it will just
>> work...
>>
> /etc/postfix
>
>     Edit main.cf
>
>
>
>      I would recommend reading up on the configurations .
>
I don't really have the enerygy to do that, thanks anyway. I'll 
uninstall postfix and use sendmail. Just thought maybe there was a quick 
way to keep the default MTA on the system.