Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mail filtering gateway / mail server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
aim nano
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jan 2006
Posts: 131
Location: Jackson, MS

PostPosted: Mon Jul 29, 2013 8:37 pm    Post subject: Mail filtering gateway / mail server Reply with quote

I currently have mail accounts through my web hosting package and want to setup my gentoo box to pull mail from that pop server and filter it for spam/viruses, but also function as a mail server so that I can point my mail client at the gentoo box to retrieve the cleaned mail.

Most guides I see are for a mail filtering gateway that will relay to what i'm assuming is an in-house email server (which I don't have). So do I simply need to set up a mail server on it? I don't want to point my domain's MX records at the gentoo box though. I want the mail to continue being delivered to the hosted email...and I want my gentoo box to retrieve it, clean it, then accept pop/imap connections from the client.

What is the best way to accomplish this (short-hand version is fine)? And/or are there any guides out there for doing something like this?
_________________
Unanswered posts need love too.
--
~ # emerge -pv gentoo-love
Back to top
View user's profile Send private message
nativemad
Developer
Developer


Joined: 30 Aug 2004
Posts: 901
Location: Switzerland

PostPosted: Tue Jul 30, 2013 5:16 am    Post subject: Reply with quote

Hi,

I would do it like this for incoming:
MX -> ISP -> fetchmail -> postfix -> amavis -> clamav -> spamassassin -> dovecot
Postfix should relay outgoing mails back to the ISP.

It's basicly a normal mailserver setup with the exception of fetchmail and the relay....

Was that enough?
Cheers
_________________
Power to the people!
Back to top
View user's profile Send private message
aim nano
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jan 2006
Posts: 131
Location: Jackson, MS

PostPosted: Wed Jul 31, 2013 2:24 pm    Post subject: Reply with quote

Yes, that's what I was looking for. Fetchmail was the key part I wasn't really sure about. That's enough to get me started for sure!
_________________
Unanswered posts need love too.
--
~ # emerge -pv gentoo-love
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum