LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-03-2004, 03:26 AM   #1
balki
LQ Newbie
 
Registered: Mar 2004
Location: Belgium- lebbeke
Distribution: mandrake 10
Posts: 29

Rep: Reputation: 15
how to configure a mailserver ?


hello,

In the past I posted a question about how to create a mail-server, and for the moment I created a working smtp linux server (postfix)... and it works !! :-)

but what i don't understand how to configure a pop3-server for several windows clients ?

I read information about fetchmail, courier-imap, qpopper, ... but I still not understand how to configure it like I wish?

I want that my linuxserver receive all the pop3 mails from my ISP(telenet, in.pandora.be), and it also checks for spam with SpamAssasin. and that then with a windows client (outlook) will connect to my linux mailserver and get all the mails checked !

thanks, in advance,

balki
 
Old 10-03-2004, 01:27 PM   #2
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Install fetchmail as a system-wide service. It will fetch e-mail from external servers (ISPs) using POP3 protocol. Check fetchmail docs on how to configure it to run as a service and how to set up individual user mapping (usernames and passwords on ISP's pop3 accounts -> usernames on your server).
Fetchmail will pass the e-mail to procmail.
Configure procmail to pass the e-mail to spamassassin. This is the standard way spamassassin is supposed to work, so I guess you won't have any problems here.
Then you need a pop3 server on your server. It will server e-mail to the windows clients using POP3 protocol. No special needs to configure this one - should be fine with default config.
 
Old 10-21-2004, 05:08 AM   #3
balki
LQ Newbie
 
Registered: Mar 2004
Location: Belgium- lebbeke
Distribution: mandrake 10
Posts: 29

Original Poster
Rep: Reputation: 15
ok,

thanks !! but I have also another question? how can I configure it like a email-relay? I mean, how can I give all the mails from my linux ( checked by spamassassin) to Exchange Server ? MTA --> MTA ?

thanks,

Jonay
 
Old 10-21-2004, 05:19 AM   #4
BillJennings
Member
 
Registered: Oct 2004
Location: Big River, California, USA
Distribution: Debian
Posts: 48

Rep: Reputation: 15
Have your linux MTA relay (forward) all mail to the Exchange MTA.

How you configure this depends on which linux MTA you use.

Sincerely
Bill Jennings
 
Old 10-21-2004, 07:54 AM   #5
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Quote:
Originally posted by balki
ok,

thanks !! but I have also another question? how can I configure it like a email-relay? I mean, how can I give all the mails from my linux ( checked by spamassassin) to Exchange Server ? MTA --> MTA ?

thanks,

Jonay
Take a look at the postfix documentation regarding the "transport" table. i.e.
Code:
# cat /etc/postfix/transport
mydomain.com     :[exchange.mydomain.com]
This is what I do. I frontend my exchange server with postfix; which also calls spamassassin prior to relaying to the exchange server.

NOTE: Prior to making this simple transport change, be sure you configure postfix to vaildate the recipients on your exchange server prior to relaying. Otherwise, an e-mail addressed to bogus@mydomain.com will be forwared to your exchange server; which will then issue a bounce back to a non-existant address. In postfix, this is done by configuring the "relay_recipient_maps". FWIW: I configure postfix to issue an LDAP request to my exchange server to validate the recipient e-mail address (mailbox), but you can also simply create a file with a list of valid mailbox's on your exchange server. See the postfix documentation regarding the relay_recipient_maps.

Long pause...

OK, I just re-read this thread. If your using fetchmail, then you would not have the problem I describe above. I was referring to a live MTA that receives e-mail directly from the internet, not piped through fetchmail. But I still "think" you may need to set the "relay_recipient_maps" in postfix before it will relay to your exchange server using the transport maps. Unfortunately, I have no way of testing this at the moment.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do setup and configure the SMTP (mailserver) goonfui_wong Linux - Networking 25 07-17-2005 07:54 AM
How to setup and configure the SMTP (mailserver system) goonfui_wong Linux - Newbie 1 06-20-2005 11:36 PM
how to configure a linux mailserver with spamfilter ? balki Linux - Networking 3 08-02-2004 03:42 PM
How to configure senmail as mailserver for Redhat Linux 9? learn25 Red Hat 1 02-23-2004 01:13 AM
How to configure a redhat 9.0 mailserver in a graphical interface sunnyvic Red Hat 2 10-18-2003 09:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration