i am sorry i have combined two things together let me go through step by
step.

current staus : i have configure postfix to send and receivec mail for my
local users using mysql.

next step : i just want to send mails to outside localhost say to
vivekraj.agra...@gmail.com.

wat will be changes in configuration files.

do i need to use relay host and sasl for this functionality.

Jorey Bump wrote:
> 
> vivek.agrawal wrote, at 12/18/2008 07:01 AM:
>> please find main.cf contents below
> 
> The output of postconf -n is preferred.
> 
>> relayhost=smtp.gmail.com
> 
> OK, this indicates that you are trying to send email *through* a gmail
> account, not merely *to* any gmail account.
> 
> If you are simply having trouble with sending messages *to* gmail
> accounts, you do not need or want to use gmail as a relayhost. The
> solution to your problem is likely to lie elsewhere.
> 
> However, if you truly are trying to use gmail as a relayhost (where all
> of your outgoing mail to all destinations is relayed through a gmail
> server), then you should begin here for troubleshooting tips and
> suggestions for properly reporting problems:
> 
>  http://www.postfix.org/DEBUG_README.html#mail
> 
> In particular, download the saslfinger tool to troubleshoot
> authentication problems.
> 
> Also, are you actually having trouble relaying mail? Often SSL
> verification messages in the log are not serious. Are you sure you need
> to configure a client certificate? This is rarely necessary.
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-send-mail-to-gmail-account-tp21068496p21139932.html
Sent from the Postfix mailing list archive at Nabble.com.

Reply via email to