delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/16/20:28:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3F3ECC08.ED0E96EC@dessent.net>
Date: Sat, 16 Aug 2003 17:27:52 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
X-Accept-Language: en,en-US
MIME-Version: 1.0
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: Mail Server?
References: <NDBBLLFMLFMANIDPNADCAEHNFEAA DOT wpmccormick AT covad DOT net>

Bill McCormick wrote:

> Or, some mail forwarding program would also get me to where I'd be happy.
> What I want to do is forward mail to somedude AT mydomain DOT com to me AT myisp DOT net.
> 
> I'm a newbie in this area and could use a kick start in terms of what to set
> up here:
> 
>         exim?
>         fetchmail?
>         procmail?
>         ssmpt?
> 
> Will one one of these get me to were I want to be? Do I need some concert of
> them?

I'm assuming you meant that you want to POP mail from me AT myisp DOT net and
deliver it to somedude AT mydomain DOT com.

Install the fetchmail package and read "man fetchmail".  I think you can
do this "guerilla forwarding" with just fetchmail and nothing else, but
I've not set it up.  It looks like the following configuration
directives would do what you want:

smtphost mail.myisp.net
smtpname somedude AT mydomain DOT com
poll pop.myisp.net proto pop3 user "me" password "secret"

This will effectively pop mail (from pop.myisp.net) and turn around and
re-send it out via mail.myisp.net with the TO rewritten as
"somedude AT mydomain DOT com".  If you want to do this delivery yourself,
install exim and then set smtphost to localhost (which is its default I
think.)

You'll need more options if you want to retrieve securely over ssl
(remember that POP3 sends your password in cleartext) and if your ISP's
outgoing mail server requires authentication.  Use 'esmtpname' and
`esmtppassword' for the latter.

(disclaimer: Haven't tested any of this.)

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019