[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [msmtp-users] msmtp



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 yourAcc@...20...
user yourAcc@...20...
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@...20...

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 <bryang2001@...304...> 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 yourAcc@...20...
user yourAcc@...20...
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: pvjuliet@...20...
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 pvjuliet@...20...
 and i placed msmptrc in /root/ with following configuration settings

defaults
account : gmail
port :587
user: pvjuliet
password: 

account default :gmail

  i am getting error like as shown below

msmtp: envelope from address  pvjuliet@...20... 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 <uhlar@...186...> wrote:
On 05.05.15 10:11, PV Juliet wrote:
>To: msmtp-users-owner@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@...405... to a@...405...)?

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, uhlar@...186... ; 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