How to use uucp and fetchmail ETRN wiht


i am using linode as my emails backup MX server, there are a lot of emails i should poll to my local machine from, i run the command:

fetchmail -v ETRN

but no luck, the result is:

…connection failed.

fetchmail: connection to failed: Connection refused.

IMAP connection to failed: Connection refused

And how i can configure uucp for

6 Replies

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

Thanks for reply i use the server name that was message to me from 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…connection failed.

fetchmail: connection to ETRN:imap [ ] failed: Connection timed out.

IMAP connection to ETRN failed: Connection timed out

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 sent you with regards receiving e-mail?


I think this is what you're after:

fetchmail -p ETRN --fetchdomains <etrn_list> <backup_mx></backup_mx></etrn_list>

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.

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 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…connected.

fetchmail: SMTP< 220 mx-linode ESMTP server

fetchmail: SMTP> EHLO

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-8BITMIME

fetchmail: SMTP< 250 DSN

fetchmail: ETRN> ETRN

fetchmail: ETRN< 250 Queuing started

fetchmail: Queuing for 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?

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.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct