Your message dated Sat, 21 Nov 2009 18:04:27 +0100
with message-id <[email protected]>
and subject line Re: Bug#524818: msmtp: crontab and mutt not working
has caused the Debian Bug report #524818,
regarding msmtp: crontab and mutt difficulties to work
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
524818: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524818
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: msmtp
Version: 1.4.15-1
Severity: normal

Hello,

I noted that the msmtp is not working with the crontab. I use now the nbsmtp, 
to replace, and crontab can send email. 
simple test : * * * * * echo "yes"|mail robert  
crontab test did not work


So the configuration of the machine:
I installed those stuffs:
Code:

dpkg -l | grep msm
ii  msmtp                                   1.4.15-1                      light 
SMTP client with support for server pr

and mutt

Code:

$ dpkg -l | grep mail
ii  iceape-mailnews                         1.0.13~pre080614i-0etch1      
Iceape Mail & Newsgroups and Address Book
ii  kmail                                   4:3.5.9-5                     KDE 
Email client
ii  kmailcvt                                4:3.5.9-5                     KDE 
KMail mail folder converter
ii  libksieve0                              4:3.5.9-5                     KDE 
mail/news message filtering library
ii  libktnef1                               4:3.5.9-5                     
Library for handling KTNEF email attachments
ii  libmailtools-perl                       2.03-1                        
Manipulate email in perl programs
ii  libmailutils1                           1:1.2+dfsg1-4                 GNU 
Mail abstraction library
rc  mailutils                               1:1.2+dfsg1-4                 GNU 
mailutils utilities for handling mail
ii  metamail                                2.7-54                        
implementation of MIME
ii  mime-support                            3.44-1                        MIME 
files 'mime.types' & 'mailcap', and sup
ii  mutt                                    1.5.18-6                      
text-based mailreader supporting MIME, GPG,
ii  procmail                                3.22-16                       
Versatile e-mail processor
rc  sendmail-base                           8.14.3-5                      
powerful, efficient, and scalable Mail Trans
rc  sendmail-bin                            8.14.3-5                      
powerful, efficient, and scalable Mail Trans
ii  sendmail-cf                             8.14.3-5                      
powerful, efficient, and scalable Mail Trans

then the file of .muttrc:
Code:

# Boring details
set realname = "frenchn00b"
set from = "[email protected]"
set use_from = yes
set envelope_from ="yes"

# Use a signature
#set signature="~/.signature"

# Use msmtp rather than sendmail. Check that
# the path is correct for your system:
set sendmail="/usr/bin/msmtp"

# If not set in ~/.bashrc:
set spoolfile = /var/spool/mail/frenchn00b


$ cat .msmtprc
Code:

#Gmail account

account gmail
host smtp.gmail.com
from [email protected]
auth on
tls on
tls_certcheck off
user [email protected]
password THEPASSWORDINCLEAR
port 587

then do this:
Code:

 mutt -e 'set content_type="text/html"' [email protected] -s 
"subject hello" < page.htm

and it should work to send emails, but but 

I can see successfully emails, really, from the shell. bash.

crontab does not like it. Any single trials from teh mutt or whatever into 
crontab causes problem. 

--
Install info:
http://www.linuxquestions.org/questions/linux-general-1/echo-mypage.htm-mutt-s-hello-news-myemailgmail.com-624938/page2.html

Best regards





-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-bpo.1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages msmtp depends on:
ii  debconf [debcon 1.5.24                   Debian configuration management sy
ii  libc6           2.7-18                   GNU C Library: Shared libraries
ii  libcomerr2      1.41.3-1                 common error description library
ii  libgcrypt11     1.4.1-1                  LGPL Crypto library - runtime libr
ii  libgnutls26     2.4.2-6+lenny1           the GNU TLS library - runtime libr
ii  libgpg-error0   1.4-2                    library for common error values an
ii  libgsasl7       0.2.26-2                 GNU SASL library
ii  libidn11        1.8+20080606-1           GNU libidn library, implementation
ii  libkrb53        1.6.dfsg.4~beta1-5lenny1 MIT Kerberos runtime libraries
ii  libntlm0        0.3.13-1                 NTLM authentication library
ii  libtasn1-3      1.4-1                    Manage ASN.1 structures (runtime)
ii  ucf             3.0016                   Update Configuration File: preserv
ii  zlib1g          1:1.2.3.3.dfsg-12        compression library - runtime

Versions of packages msmtp recommends:
ii  ca-certificates               20080809   Common CA certificates

msmtp suggests no packages.

-- debconf information:
  msmtp/host:
  msmtp/tls: false
  msmtp/maildomain:
  msmtp/sysconfig: false
  msmtp/auto_from: true
  msmtp/port: 25



--- End Message ---
--- Begin Message ---
> bug can be closed. all works.
ok, done :)

thx for your feedback.

Cheers,

-- 
Emmanuel Bouthenot
 mail : [email protected]
  gpg : 0x414EC36E
 xmpp : [email protected]
  irc : kolter@(freenode|oftc)


--- End Message ---

Reply via email to