Linode Forum
https://forum.linode.com/

How to use uucp and fetchmail ETRN wiht linode.com?
https://forum.linode.com/viewtopic.php?f=11&t=4689
Page 1 of 1

Author:  shams [ Sun Oct 04, 2009 12:54 pm ]
Post subject:  How to use uucp and fetchmail ETRN wiht linode.com?

Hi,
i am using linode as my emails backup MX server, there are a lot of emails i should poll to my local machine from linode.com, i run the command:
fetchmail -v ETRN linode.com
but no luck, the result is:
...connection failed.
fetchmail: connection to linode.com:imap failed: Connection refused.
IMAP connection to linode.com failed: Connection refused

And how i can configure uucp for linode.com?

Author:  NeonNero [ Sun Oct 04, 2009 1:45 pm ]
Post subject: 

Unless you're actually using Linode's own e-mail server for your e-mail (which is highly unlikely), I suggest you use the hostname or IP address of your own Linode server instead of linode.com.

Author:  shams [ Sun Oct 04, 2009 9:19 pm ]
Post subject: 

Thanks for reply i use the server name that was message to me from linode.com wiht fetchmail ETRN but sitll i get this error:
fetchmail: 6.3.9 querying ETRN (protocol auto) at Mon 05 Oct 2009 05:09:48 PM AFT: poll started
fetchmail: 6.3.9 querying ETRN (protocol IMAP) at Mon 05 Oct 2009 05:09:48 PM AFT: poll started
Trying to connect to 64.95.64.198/143...connection failed.
fetchmail: connection to ETRN:imap [ ] failed: Connection timed out.
IMAP connection to ETRN failed: Connection timed out

Author:  hoopycat [ Sun Oct 04, 2009 9:53 pm ]
Post subject: 

Fetchmail wants to connect to an IMAP server; ETRN is a SMTP command. UUCP is an entirely different method as well. All three methods are ways to get mail from one place to another, but only one of the three will work.

Can you provide some more information, perhaps the domain name or an e-mail address you're trying to get mail for, or any tutorials or information the administrator of 64.95.64.198 sent you with regards receiving e-mail?

Thanks!

Author:  fukawi2 [ Mon Oct 05, 2009 11:39 pm ]
Post subject: 

I think this is what you're after:

Code:
fetchmail -p ETRN --fetchdomains <ETRN_LIST> <BACKUP_MX>


ETRN_LIST = Comma separated list of domains you want to 'pull' mail for.
BACKUP_MX = The hostname/ip address of the remote server currently holding the mail for you.

Author:  shams [ Tue Oct 06, 2009 12:16 pm ]
Post subject: 

Thanks for the reply this is the output of command above just for security i change the name of real hosts and the ip address:
# fetchmail -v -p ETRN --fetchdomains example.com mx-linode
fetchmail: 6.3.9 querying mx-linode (protocol ETRN) at Tue 06 Oct 2009 08:20:27 PM AFT: poll started
Trying to connect to 97.107.132.48/25...connected.
fetchmail: SMTP< 220 mx-linode ESMTP server
fetchmail: SMTP> EHLO exmaple.com
fetchmail: SMTP< 250-server-mx.linode
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-SIZE 10240000
fetchmail: SMTP< 250-VRFY
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-STARTTLS
fetchmail: SMTP< 250-ENHANCEDSTATUSCODES
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250 DSN
fetchmail: ETRN> ETRN example.com
fetchmail: ETRN< 250 Queuing started
fetchmail: Queuing for exmaple.com started
fetchmail: Polling mx-linode
fetchmail: ETRN> QUIT
fetchmail: SMTP< 221 2.0.0 Bye
fetchmail: 6.3.9 querying mx-linode (protocol ETRN) at Tue 06 Oct 2009 08:20:48 PM AFT: poll completed
fetchmail: normal termination, status 0

but i don't know why i didn't get even a single email message?

Author:  fukawi2 [ Tue Oct 06, 2009 5:39 pm ]
Post subject: 

No messages on the remote server? The remote server still can't connect to the local server? The remote server is (incorrectly?) configured to route the mail elsewhere?

You'll need to investigate the logs on the remote server to see what's going on with it.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/