This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Mail Server?


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@mydomain.com to me@myisp.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@myisp.net and
deliver it to somedude@mydomain.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@mydomain.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@mydomain.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]