Solved

ETRN Command

Posted on 1998-09-12
3
324 Views
Last Modified: 2010-04-21
Does anyone know how to set this up on a UNIX machine. We want a MS exchange server to be able to login to a POP account and download mail into the exchange server. Any assistance would be appreciated.
0
Comment
Question by:ksweat
3 Comments
 
LVL 2

Expert Comment

by:JYoungman
ID: 2006940
Use the program etrn.pl from the Sendmail distribution.  If uses Perl.  Perl runs on NT.  It requires an SMTP server not a POP server.  If you must use POP, you'll need to use something like Eric S Raymond's "fetchmail" program
0
 
LVL 1

Accepted Solution

by:
stormerider earned 100 total points
ID: 2006941
ETRN isn't done via pop. It's a call to sendmail (the UNIX mail program of choice) on port 25 that tells the mail server to take all the stored mail it has for your domain and package it all up and send it to your server. You can manually trigger it by walking over to the exchange server, telnetting into the unix box on port 25, with something like the below:

220 phoenix.ici.net ESMTP Phoenix Sendmail 8.8.8/8.8.8; Wed, 16 Sep 1998 15:18:5
1 -0400 (EDT)
>>>EHLO sirah.ici.net
250-phoenix.ici.net Hello sirah.ici.net [207.180.0.109], pleased to meet you
250-8BITMIME
250-SIZE
250-DSN
250-ONEX
250-ETRN
250-XUSR
250 HELP
>>>ETRN ici.net
250 Queuing for node ici.net started
>>>QUIT
221 phoenix.ici.net closing connection

Obviously, your mail server won't be named phoenix, your exchange server wont be named sirah, and your domain won't be ici.net. Adjust for your values and make a script. Perl for NT (ActiveWare?) is a good idea, since etrn.pl comes from sendmail and does everything you need.

If you're really thinking of using POP3, you're foolish. POP3 isn't well designed for 1 mailbox holding multiple peoples messages.
0
 

Expert Comment

by:bknowles
ID: 2006942
All this helps him on the Unix box, but nothing addresses the issue of the NT box where Microsoft Exchange will be running.

In reality, he needs a program running under NT that will connect to the POP3 server, download the mail, then hand it off to Exchange for delivery to it's destination.  In other words, something like an NT version of fetchmail.


Unfortunately, I don't know if any such beast exists, and if it did, they'd probably be sued out of business by Redmond, and several years later they would add a new "feature" whereby Exchange actually speaks POP3 and downloads mail from an ISP.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now