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

[msmtp-users] cron mails always as attachement



Hi,

I use
ii  msmtp                 1.4.28-1        amd64

which works fine except one thing - mails send to me when a backup is done (via backupninja) come always as attachement. The original mail has no text, only an attachement without a name. When I open/save it, the dialog says:

You like to open the file: fetch>UID>.INBOX>21384

The mail shows then as a text file:

success -- /etc/backup.d/10.sys
success -- /etc/backup.d/20.mysql
*warning* -- /etc/backup.d/90.rdiff

== warnings from /etc/backup.d/90.rdiff ==

Warning: Permanently added the ECDSA host key for IP address '78.34.178.2' to the list of known hosts.
Info: Removing backups older than 500D days succeeded.
Info: Successfully finished backing up source


In the mailheader I have:

User-Agent: Heirloom mailx 12.5 6/20/10
MIME-Version: 1.0
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64

msmtp.log looks ok for me:
May 08 09:48:54 host=smtp.gmail.com tls=on auth=on user=webmaster@...53... from=webmaster@...53... recipients=webmaster@...53... mailsize=701 smtpstatus=250 smtpmsg='250 2.0.0 OK 1367999309 bj12sm43570186eeb.8 - gsmtp' exitcode=EX_OK


I'm not quite sure wether is all about msmtp or if it is about fetchmail, which get's the mails from the google account msmtp sends to - I simply have not enough knowledge to track things down myself.

Maybe one of you can put me in the right direction?

Any help is greatly appreciated, if you need further infos pls let me know.

Cheers
Frisco