Wu, Yue | 7 May 2009 11:23
Picon

Can msmtp show the progress bar when sending?

If I sent a large size of mail, then I can't know how long it still gets. If
msmstp can show progress, it wuold be more useful.

--

-- 
Hi,
Wu, Yue

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
Joseph LP | 10 May 2009 23:06
Picon
Gravatar

msmtp + tls (trust,key,cert) files + Gmail

Hello,
I have successfully created a config to allow smtp connections over ssl to gmail
with:

 $cat .msmtprc

 host smtp.gmail.com
 port 587
 protocol smtp
 auth on
 from ootput <at> gmail.com
 user ootput <at> gmail.com
 tls on
 tls_starttls on
 tls_trust_file /usr/share/ca-certificates/mozilla/Thawte_Premium_Server_CA.crt

Now, I've noticed that the password from my .netrc is sent in plain text across
the internet to the smtp server; ideally, I would like to be able to send a
client certificate in it's place.

I've read the manpage for msmtp, but I'm still unsure as to which file goes
where. I've tried variations of files for tls_key_file and tls_cert_file to no
avail.

 $ openssl req -nodes -newkey rsa:2048 -keyout nick.key -x509 -days 365 -out
nick.cer

Int this case, I've tried specifying tls_cert_file = nick.cer, and tls_key_file
= nick.key, but again, unable to verify keys.

(Continue reading)

Martin Lambers | 11 May 2009 06:49
Picon

Re: msmtp + tls (trust,key,cert) files + Gmail

Hello!

On Sun, 10. May 2009, 21:06:24 +0000, Joseph LP wrote:
> I have successfully created a config to allow smtp connections over ssl to gmail
> with:
> 
>  $cat .msmtprc
> 
>  host smtp.gmail.com
>  port 587
>  protocol smtp
>  auth on
>  from ootput <at> gmail.com
>  user ootput <at> gmail.com
>  tls on
>  tls_starttls on
>  tls_trust_file /usr/share/ca-certificates/mozilla/Thawte_Premium_Server_CA.crt
> 
> Now, I've noticed that the password from my .netrc is sent in plain text across
> the internet to the smtp server;

This should not happen since tls is active. How did you test this?

> ideally, I would like to be able to send a
> client certificate in it's place.

Does gmail.com support this at all?

> I've read the manpage for msmtp, but I'm still unsure as to which file goes
> where. I've tried variations of files for tls_key_file and tls_cert_file to no
(Continue reading)

Joseph LP | 11 May 2009 14:17
Picon
Gravatar

Re: msmtp + tls (trust,key,cert) files + Gmail

Martin Lambers <marlam <at> marlam.de> writes:

> This should not happen since tls is active. How did you test this?

I could not verify anything, but I was under the impression that 
passwords would still be sent in clear text, prompting the ssl 
connection which would only then be encrypted.

> Does gmail.com support this at all?

I assumed it did. In retrospect, no support for it would be very 
likely.

> You cannot just create your own certificate. The service provider 
> needs to create one for you, or at least sign it.

Again, I assumed that it was possible to have a free self-signed cert. 
I've managed ssl cert auth with oftc irc networks, and thought it 
to be a fairly ubiquitous technique

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
Picon

root system emails

Hello,
I have configured msmtp to send all emails through my provider's smtp 
server but, also root system emails, generated by cron jobs ecc, are 
sent through my provider instead to delivery them to root local account.
Is there any options to delivery all emails but local accounts system 
emails through my provider's smtp?

This is my /etc/msmtprc:

# Set default values for all following accounts.
defaults
logfile /var/log/maillog
syslog LOG_MAIL

# The SMTP server of the provider.
account voiceone
auto_from off
from info <at> ........it
tls off
host out........it
protocol smtp
port 25
auth off
user
password

# Set a default account
account default : voiceone

Sorry for my bad english and thanks in advanced
(Continue reading)

Martin Lambers | 11 May 2009 20:35
Picon

Re: root system emails

On Mon, 11. May 2009, 15:07:49 +0200, Alessandro De Pasquale - Net Stop snc wrote:
> Is there any options to delivery all emails but local accounts system 
> emails through my provider's smtp?

No, msmtp cannot do local deliveries. Maybe esmtp can do what you want:
http://esmtp.sourceforge.net/

Martin

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
Wendell Almeida | 14 May 2009 23:16
Picon

Change local interface address

Hello!

I have 2 networks address with real IP in my server.
eth1: 200.200.200.200
eth2: 200.200.100.100

When I send a mail with msmtp, it uses the first network card eth1 whith 
IP 200.200.200.200.
But, I need to use the other IP 200.200.100.100.
In ping, for exemple, I can change the interface: ping -I eth1 host or 
ping -I eth2 host.
Is it possible?

Thank's

Wendell

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
Martin Lambers | 15 May 2009 06:58
Picon

Re: Change local interface address

Hello!

On Thu, 14. May 2009, 18:16:32 -0300, Wendell Almeida wrote:
> I have 2 networks address with real IP in my server.
> eth1: 200.200.200.200
> eth2: 200.200.100.100
> 
> When I send a mail with msmtp, it uses the first network card eth1 whith 
> IP 200.200.200.200.
> But, I need to use the other IP 200.200.100.100.
> In ping, for exemple, I can change the interface: ping -I eth1 host or 
> ping -I eth2 host.
> Is it possible?

This is currently not possible. You would have to extent the
open_socket() function in src/net.c.

Martin

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
Marcin Szewczyk, Wodny | 15 May 2009 12:23
Picon

Re: root system emails

Hello,

would You be willing to accept a patch implementing redirection of local
mail to a MDA?
The idea is to detect if an email is local in a way postfix does it -
comparing the domain to the "mydestination" setting. Recipients without
the " <at> " sign would be considered local as well.
The redirection to a MDA code would be based on esmtp.

It would be very useful as msmtp has many interesting features like
reading .netrc and I would like to avoid an oversized packages set -
esmtp + msmtp + procmail.

--

-- 
Marcin Szewczyk, Wodny   http://wodny.org
mailto:wodny <at> thlen.pl <- remove h / usuĊ„ h
xmpp:wodny <at> ubuntu.pl     xmpp:wodny <at> jabster.pl

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
Martin Lambers | 16 May 2009 19:55
Picon

Re: root system emails

Hello Marcin!

On Fri, 15. May 2009, 12:23:21 +0200, Marcin Szewczyk, Wodny wrote:
> would You be willing to accept a patch implementing redirection of local
> mail to a MDA?

Yes, I would :)

> The idea is to detect if an email is local in a way postfix does it -
> comparing the domain to the "mydestination" setting. Recipients without
> the " <at> " sign would be considered local as well.

Sounds ok to me. So one would need a config option similar to
'mydestination', a config option to specify the MDA command to use, and
perhaps a third one to switch local deliveries on or off (although e.g.
an empty MDA option could also switch local deliveries off)

> The redirection to a MDA code would be based on esmtp.

Fine with me. You could also have a look at mpop (mpop.sf.net): it
already includes portable code to pipe to an MDA, and since it already
shares much code with msmtp, the code in question might be easier to
integrate.

Regards,
Martin

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
(Continue reading)


Gmane