Which kind of mail server to install.

Hello.

I access internet via dsl from a ISP ( say ISP_1 ).
I don’t use my email account from ISP_1.

I own 3 e-mail adress from another ISP ( say ISP_2 ).
I access my mail through webmail using zimbra ( http://zimbra.ISP_2.fr )
I can send mail via smtp.ISP_2.fr

To fight spam, I would like to install a mail server on my local network, get all the mail from ISP_2 for each mail account, and kill the spams before I read from my own mail server.

What kind of things I can do ?
I have read a lot of things but I can’t imagine how to start with.

Any help is welcome.

On 2014-05-21 12:16, jcdole wrote:

> To fight spam, I would like to install a mail server on my local
> network, get all the mail from ISP_2 for each mail account, and kill the
> spams before I read from my own mail server.

Just use spamassassin, no need to use a full mail server for that.
Although you have to define what you understand by “mail server”.

You can do that retrieving the email with fetchmail, going to postfix,
probably amavis-new, then probably procmail and spamc. That’s what I do.

How many mail accounts are you talking about? Just one user with several
accounts? With several users, best thing should be amavis; the problem
is that it does not support separate bayessian databases for each user,
or I have not found how to do it. That’s the only reason I use amavis
and spamassassin separately.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

I use Axigen as it’s free for personal use. Not too bad to setup and easy to configure your offline mail readers. It will pull mail from your ISP or you can set it up for the mail to come directly to Axigen. It also has a web based facility to get you mail.

How many mail accounts are you talking about? Just one user with several
accounts? With several users, best thing should be amavis; the problem
is that it does not support separate bayessian databases for each user,
or I have not found how to do it. That’s the only reason I use amavis
and spamassassin separately.

1 linux users with 2 ISP email account
1 linux users with 1 ISP email account
1 windows 7 user with 1 ISP email account ( have a linux account )

Although you have to define what you understand by “mail server”.

A black box where to put all the mail get from the ISP email account.
Each local user retrieving their mail from that black box

So using postfix locally, how it is configured : as a relay or ???.
This is the meaning of my question.

On 2014-05-22 09:16, jcdole wrote:

> 1 linux users with 2 ISP email account
> 1 linux users with 1 ISP email account
> 1 windows 7 user with 1 ISP email account ( have a linux account )

Ah, that’s very few. You do not need any thing as ldap to complicate
issues. Good.

>> Although you have to define what you understand by “mail server”.
> A black box where to put all the mail get from the ISP email account.
> Each local user retrieving their mail from that black box
>
> So using postfix locally, how it is configured : as a relay or
> ???.
> This is the meaning of my question.

Ah, trifle. You actually do not need to configure it at all, if it is
used only for receiving. If you want to use it for sending as well (I
do), then we need extra steps.

If I remember correctly, just run yast mail module, simple mode (I
forget the exact name it uses). Do not set a relay. No need to configure
fetchmail yet (main retrieval). Better to configure that one manually
with one test account, or one with few emails, with the option “keep” so
that email is not deleted from the ISP, till things are known to work.

I would suggest to install dovecot as well, as local imap/pop3 server
for your “clients”.

For the moment, just postfix and fetchmail, with an isp test account. Or
get one on gmail. One step at a time.

fetchmail has a good man page with examples. Or ask :slight_smile:

Test mail with the command “mail” or “pine”, on a test user on the mail
server machine.

Then I suggest configuring procmail, spamd and spamc. Ask for this step
when ready.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

Great. I think I can manage myself with your suggestions.

I will give you news when finished.

Thank you for your quick help.