Calibre ebook server

ref: How To Create a Calibre Ebook Server on Ubuntu 14.04

install Calibre on a Ubuntu server

sending books to kindle

ref: [Running Calibre server as a news server - MobileRead Forums](

$ calibre-smtp -r -u -p 'yourpass' --port 587 -e TLS 'command line sending test' -a 'a.jpg' -s 'Testing - a image'

Traceback (most recent call last):
  File "", line 66, in main
  File "site-packages/calibre/utils/", line 268, in main
  File "site-packages/calibre/utils/", line 135, in sendmail
  File "site-packages/calibre/utils/", line 617, in login
SMTPAuthenticationError: (534, '5.7.14 <\n5.7.14 fvTi1_jCLaDAkvaHHV2eRHqnQI52T_AFmuudtnHK7QAuR1qwOo7A6iCc_ihR3RzMEj02Kw\n5.7.14 8bSb4eWOD5LyCejYdfTWAiMT6hOgx5QldR1kaH20h0-JsUzTaLlzBfrHeAHpVVp2c3kc_c\n5.7.14 Xn1GMWviyRdfaQAQ_o5ONQMnFCm4jK5FEEb4-4mqITnJZ52utoOF15uf4JTZt2d6DwFm49\n5.7.14 OWCIjZV1QRl8c70_IOwY1KLWTu6og> Please log in via your web browser and\n5.7.14 then try again.\n5.7.14  Learn more at\n5.7.14 to9sm24538347pab.27 - gsmtp')

when using calibre-smtp to sending emails, you may encounter a SMTPAuthenticationError,

  1. go to the following pages to clear captcha and update the Less secure apps setting, ref: stackoverflow google smtp error

  2. make sure the 'SENDER' or 'FROM' header is like 'lee@localhost', not the SMTP relay server account