Hi All,
   Thanks for the support. still i facing the problem.

I  tried with same configuration for msmtprc as given below

Typical msmtprc for Gmail:

##############################
###############
# don't change any of these for gmail acounts
defaults

timeout 120

account gmailacc
tls on
tls_starttls on
tls_certcheck off
host smtp.gmail.com
port 587
auth on
from your...@gmail.com
user your...@gmail.com
password 12345


# Set a default account
# You need to set a default account for Mail

account default : gmailacc

# end msmtprc

#############################################


and tried to send the mail from command prompt using  cat test.txt|msmtp
-a gmail a...@gmail.com

BUt I am getting error like not able to send to this account

msmtp: authentication failed(method PLAIN)
msmtp : server message :534-5.7.14 <
https://accounts.google.com/ContinueSigIN   .... etc


Please suggest how i can proceed further.

Thanks and Regards
JUliet

On Wed, May 6, 2015 at 1:11 PM, Bryan Goose <bryang2...@msn.com> wrote:

> Typical msmtprc for Gmail:
>
> #############################################
> # don't change any of these for gmail acounts
> defaults
>
> timeout 120
>
> account gmailacc
> tls on
> tls_starttls on
> tls_certcheck off
> host smtp.gmail.com
> port 587
> auth on
> from your...@gmail.com
> user your...@gmail.com
> password 12345
>
>
> # Set a default account
> # You need to set a default account for Mail
>
> account default : gmailacc
>
> # end msmtprc
>
> #############################################
>
> The tls_certcheck off would probably be frowned upon but I couldn't get
> things to work with it On.
> msmtprc doesn't have to be in root, you can place it anywhere, just tell
> msmtp where it is with --file
>
> --file=/home/MySettingsFolder/msmtprc.txt
>
>
>
> ------------------------------
> Date: Tue, 5 May 2015 21:14:15 +0530
> From: pvjul...@gmail.com
> To: msmtp-users@lists.sourceforge.net
> Subject: Re: [msmtp-users] msmtp
>
>
> Hi all,
>   thanks a lot.  I am sending mail from command line using  cat test.txt|
> msmtp -a default pvjul...@gmail.com
>  and i placed msmptrc in /root/ with following configuration settings
>
> defaults
> account : gmail
> host:smtp.gmail.com
> port :587
> from : pvjul...@gmail.com
> user: pvjuliet
> password:
>
> account default :gmail
>
>   i am getting error like as shown below
>
> msmtp: envelope from address  pvjul...@gmail.com not accepted by the
> server
> msmtp:server message :530-5.5.1 Authentication required
> msmtp: Could not send ail (account gmail from /root/.msmptrc)
>
>
> Can anyone tell me  how i can proceed further?
>
> Thanks and Regards
> Juliet
>
>
> On Tue, May 5, 2015 at 11:49 AM, Matus UHLAR - fantomas <uh...@fantomas.sk
> > wrote:
>
> On 05.05.15 10:11, PV Juliet wrote:
> >To: msmtp-users-ow...@lists.sourceforge.net,
>
> Don't send list mail to list owner. the list owner is here to handle list
> issues, not to participate in discussion.
>
> >   I  have  a desktop with RHEL 6.4  and installed msmtp as client . I
> want
> >to send mail from my machine to my gmail account . what should be the
> >configuration required ?
>
> read the documentation as manpage via "man msmtp" or online at
> http://msmtp.sourceforge.net/documentation.html
>
> > Is it possible to send mail from my desktop as
> >anonymous to my  gmail?
>
> msmtp does not handle desktops. You need desktop tool that will call msmtp.
> Anonymous? You apparently want something different.
>
> ...when you have desktop, you apparently don't need msmtp but any desktop
> mail client instead.
>
> > Is it possible to send and receive mail to same
> >account (eg a@gmail to a@gmail)?
>
> msmtp can only send mail. you can provide it google authentication
>
> >Is it possible  .msmptrc can be placed it in /root ?
>
> yes. But don't log to your desktop as root.
>
>
> --
> Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> Linux is like a teepee: no Windows, no Gates and an apache inside...
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> msmtp-users mailing list
> msmtp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/msmtp-users
>
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications Performance
> metrics, stats and reports that give you Actionable Insights Deep dive
> visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________ msmtp-users mailing list
> msmtp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/msmtp-users
>
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
msmtp-users mailing list
msmtp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msmtp-users

Reply via email to