Re: [Exim] exim through gateway?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Vadim Vygonets
Date:  
À: exim-users@exim.org
Sujet: Re: [Exim] exim through gateway?
Quoth ktb on Sat, Nov 18, 2000:
> What I would like to do is ssh into my box here at home
> from work and read my mail so I thought I would switch to a text
> based mailer.


You will need to add a 'rdr' rule to your ipnat ruleset and allow
incoming ssh connections in your ipfilter ruleset.

> Maybe all I need is a text based mailer that supports
> pop and filtering if there is such an animal.


If you use fetchmail you don't need a mailer which supports POP3.

> As far as receiving mail I was planing on using procmail or
> fetchmail to do that.


Run fetchmail from cron, and make it work with Exim in such way
that Exim will deliver the mail addressed to you locally. See
what address fetchmail feeds to Exim.

Procmail is a wholly different animal. You can use procmail to
deliver your mail (using .forward, for instance) after it's
processed by Exim, but I prefer to use Exim filter.

> Am I thinking wrong that I can use exim to
> mail out and procmail or fetchmail to snag my pop mail from my isp?


No, it's reasonable, you just need to configure fetchmail and
exim to work together. I set up something very similar for my
dad (OpenBSD + IPFilter + IPNAT on the border, FreeBSD with
XEmacs + GNUS and fetchmail on the workstation, Exim everywhere).
But I use more permanently connected systems for my mail (my home
connection is just a dialup with a dynamic IP address).

Vadik.

-- 
Prof:    So the American government went to IBM to come up with a data
         encryption standard and they came up with ...
Student: EBCDIC!