Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-20-2010, 02:22 PM   #91
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by CyberEngel View Post
Does calibre support emailing to kindle? I've tried both kindle.com & free.kindle.com (which is the one I'd prefer to use).
Yes it does. Have you set your "from" email address as a valid sender in your manage my kindle settings on amazon.com?

BOb
pilotbob is offline   Reply With Quote
Old 10-20-2010, 06:22 PM   #92
CyberEngel
Junior Member
CyberEngel began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
Yes, I set the "send email from" to an approved address. I also tried adding the line:
export EMAIL=approved_email_address
to the /usr/bin/calibre script

Last edited by CyberEngel; 10-20-2010 at 06:25 PM.
CyberEngel is offline   Reply With Quote
Advert
Old 10-20-2010, 06:24 PM   #93
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,296
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre's DNS resolver is unable to resolve the MX record for my-domain. Which means you have a network setup that is unusual. Unfortunately, I'm travelling, so I can't help you more right now.
kovidgoyal is offline   Reply With Quote
Old 10-22-2010, 12:23 PM   #94
CyberEngel
Junior Member
CyberEngel began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
Quote:
Originally Posted by kovidgoyal View Post
calibre's DNS resolver is unable to resolve the MX record for my-domain. Which means you have a network setup that is unusual. Unfortunately, I'm travelling, so I can't help you more right now.
I'm using my router as a DNS forwarder to resolve addresses. (I've tried this at a couple of locations, so I know it's not my network config.) I know nslookup can resolve the MX record. See below...

Quote:
paul@paul-laptop:~$ nslookup
> set type=MX
> free.kindle.com
Server: 10.10.11.1
Address: 10.10.11.1#53

Non-authoritative answer:
free.kindle.com mail exchanger = 10 smtp-fw-2101.amazon.com.
free.kindle.com mail exchanger = 10 smtp-fw-4101.amazon.com.
free.kindle.com mail exchanger = 10 smtp-fw-9101.amazon.com.

Authoritative answers can be found from:
com nameserver = m.gtld-servers.net.
com nameserver = d.gtld-servers.net.
com nameserver = e.gtld-servers.net.
com nameserver = g.gtld-servers.net.
com nameserver = k.gtld-servers.net.
com nameserver = f.gtld-servers.net.
com nameserver = j.gtld-servers.net.
com nameserver = i.gtld-servers.net.
com nameserver = a.gtld-servers.net.
com nameserver = b.gtld-servers.net.
com nameserver = l.gtld-servers.net.
com nameserver = c.gtld-servers.net.
com nameserver = h.gtld-servers.net.
a.gtld-servers.net internet address = 192.5.6.30
a.gtld-servers.net has AAAA address 2001:503:a83e::2:30
b.gtld-servers.net internet address = 192.33.14.30
b.gtld-servers.net has AAAA address 2001:503:231d::2:30
c.gtld-servers.net internet address = 192.26.92.30
d.gtld-servers.net internet address = 192.31.80.30
e.gtld-servers.net internet address = 192.12.94.30
f.gtld-servers.net internet address = 192.35.51.30
CyberEngel is offline   Reply With Quote
Old 10-22-2010, 02:05 PM   #95
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,296
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Try this:

calibre-debug -c "import dns.resolver; print list(dns.resolver.query('host', 'MX'))"

Replace host with your domain
kovidgoyal is offline   Reply With Quote
Advert
Old 10-23-2010, 12:22 PM   #96
CyberEngel
Junior Member
CyberEngel began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
Quote:
paul@paul-laptop:~$ calibre-debug -c "import dns.resolver; print list(dns.resolver.query('free.kindle.com', 'MX'))"[<DNS IN MX rdata: \# 24 000a0c736d74702d66772d3231303106 616d617a6f6ec018>, <DNS IN MX rdata: \# 17 000a0c736d74702d66772d34313031c0 3c>, <DNS IN MX rdata: \# 17 000a0c736d74702d66772d39313031c0 3c>]
paul@paul-laptop:~$ calibre-debug -c "import dns.resolver; print list(dns.resolver.query('kindle.com', 'MX'))"
[<DNS IN MX rdata: \# 24 000a0c736d74702d66772d3931303106 616d617a6f6ec013>, <DNS IN MX rdata: \# 17 000a0c736d74702d66772d34313031c0 37>]
So what does this mean?
CyberEngel is offline   Reply With Quote
Old 10-23-2010, 12:50 PM   #97
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,296
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
oops forgot to format the results;

[code]
calibre-debug -c "import dns.resolver; print [getattr(x, 'exchange', None) for x in list(dns.resolver.query('free.kindle.com', 'MX'))]"
kovidgoyal is offline   Reply With Quote
Old 10-23-2010, 01:02 PM   #98
CyberEngel
Junior Member
CyberEngel began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
paul@paul-laptop:~$ calibre-debug -c "import dns.resolver; print [getattr(x, 'exchange', None) for x in list(dns.resolver.query('free.kindle.com', 'MX'))]"
[None, None, None]
CyberEngel is offline   Reply With Quote
Old 10-23-2010, 01:19 PM   #99
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,296
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yeah as I thought the DNS resolver isn't able to find an MX records for the domain. Unfortunately, finding out why is not easy, as DNS resolution on linux is rather flexible.

calibre uses the DNS resolver from http://www.dnspython.org/ I would suggest installing that separately and debugging it.
kovidgoyal is offline   Reply With Quote
Old 10-23-2010, 01:31 PM   #100
CyberEngel
Junior Member
CyberEngel began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
I installed dnspython and used one of their example to resolve MX records:

Quote:
import dns.resolver

answers = dns.resolver.query('free.kindle.com', 'MX')
for rdata in answers:
print 'Host', rdata.exchange, 'has preference', rdata.preference
and it works fine:

Quote:
paul@paul-laptop:~$ python test.py
Host smtp-fw-2101.amazon.com. has preference 10
Host smtp-fw-4101.amazon.com. has preference 10
Host smtp-fw-9101.amazon.com. has preference 10
CyberEngel is offline   Reply With Quote
Old 10-23-2010, 01:34 PM   #101
CyberEngel
Junior Member
CyberEngel began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
More interesting stuff... When I query 'free.kindle.com' I get three answers, both from dnspython and calibre-debug:

Quote:
paul@paul-laptop:~$ python test.py
Host smtp-fw-2101.amazon.com. has preference 10
Host smtp-fw-4101.amazon.com. has preference 10
Host smtp-fw-9101.amazon.com. has preference 10
paul@paul-laptop:~$ calibre-debug -c "import dns.resolver; print [getattr(x, 'exchange', None) for x in list(dns.resolver.query('free.kindle.com', 'MX'))]"
[None, None, None]
When I try 'kindle.com' I get two answers from both:

Quote:
paul@paul-laptop:~$ python test.py
Host smtp-fw-4101.amazon.com. has preference 10
Host smtp-fw-9101.amazon.com. has preference 10
paul@paul-laptop:~$ calibre-debug -c "import dns.resolver; print [getattr(x, 'exchange', None) for x in list(dns.resolver.query('kindle.com', 'MX'))]"
[None, None]
CyberEngel is offline   Reply With Quote
Old 10-23-2010, 01:42 PM   #102
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,296
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Hmm that's weird. I'm at a loss
kovidgoyal is offline   Reply With Quote
Old 10-25-2010, 10:31 AM   #103
steveh11
Junior Member
steveh11 began at the beginning.
 
steveh11's Avatar
 
Posts: 2
Karma: 10
Join Date: Oct 2010
Device: Kindle-3
First time Calibre user, also neophyte Kindle user.
I'm trying to set up the email-to-Kindle feature. I'm using my gmail account. I get the following when i press "Test":

Traceback (most recent call last):
File "site-packages\calibre\gui2\wizard\send_email.py", line 108, in test_email_settings
File "site-packages\calibre\utils\smtp.py", line 96, in sendmail
File "smtplib.py", line 295, in connect
File "smtplib.py", line 273, in _get_socket
File "socket.py", line 500, in create_connection
gaierror: [Errno 11001] getaddrinfo failed

I have verified, several times, that my password is correct. Help?


EDIT: Never mind - I believe it was a port blocked issue. Now successfully resolved. :-)

Last edited by steveh11; 10-25-2010 at 02:05 PM.
steveh11 is offline   Reply With Quote
Old 11-03-2010, 08:06 AM   #104
Ketandp
Junior Member
Ketandp began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2010
Device: Kindle3, Sony PRS 700BC
Hello Steve,

What sort of port block issue you were facing?
I'm not even trying to send an email, just while downloading the sceheduled news is when I'm getting this error. I was able to do it just fine a few minutes back, all of sudden while I was customizing the feeds and testing, it stopped and giving me this error.
Could you pleaes let me know what ports and whether that was blocked by your ISP or something??
Thanks.
Ketandp is offline   Reply With Quote
Old 11-05-2010, 02:57 AM   #105
steveh11
Junior Member
steveh11 began at the beginning.
 
steveh11's Avatar
 
Posts: 2
Karma: 10
Join Date: Oct 2010
Device: Kindle-3
The company I work at blocks all sorts of stuff for security/AV reasons. When i got home and used my own router all problems went away - that's all I can say!
steveh11 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amazon charge for emailing from Calibre?? crayonharry Devices 15 02-19-2011 08:06 AM
emailing books to kindle krazy4katz Calibre 2 10-08-2010 12:07 AM
Emailing books from Calibre? desertgrandma Amazon Kindle 2 09-18-2010 08:48 PM
Does Calibre supports the collection feature of the new Kindle? Dave Berk Calibre 3 08-23-2010 11:18 AM
Emailing Calibre documents geneaber Calibre 6 11-16-2009 04:38 AM


All times are GMT -4. The time now is 08:47 AM.


MobileRead.com is a privately owned, operated and funded community.