Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Company MailServer Suggestions.
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
kod
n00b
n00b


Joined: 21 Oct 2003
Posts: 29
Location: Beirut,Lebanon

PostPosted: Thu Dec 09, 2004 1:02 pm    Post subject: Company MailServer Suggestions. Reply with quote

I am building a company's mailserver at the moment , their original configuration is atm *@company.com -> isp mail box -> quickmail server -> user.
I thought at first when they called me that they needed a "real" mailserver, dns and domain all hosted on it. but obviously I was wrong.
so what I need now is to send email:
users-> postfix -> isp mail ->internet
to receive mail.
internet -> isp mail -> postfix -> qpopper -> user.
( if anything wrong correct me)
now the big question is how do I do that? since I dont have domain on the pc itself and I need to actually get from the isp's server then redistribute the mail in here. Friends told me to create virtual users, and I need to create users without a shell on the machine, but that's over 50 users. talking about creating virtual users on postfix and users on the local machine and users for pop3.
I was wondering if what I am doing is right? and if anyone knows an easier way to do this. or has more experience with that? or knows a Documentation around here... the gentoo how-to on virtual mail hosting isnt exactly what I want (read the yellow highlithting.)
any ideas I would be thanksfull
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Thu Dec 09, 2004 1:11 pm    Post subject: Reply with quote

If they support it, you have to ask your ISP to forward all mail to your machine.
If not, you will have to fetch the mail yourself from the POP accounts using fetchmail, then redistribute it with the internal MTA.

Virtual users are not strictly necessary, since they are more trouble to set up than a regular UNIX mail server, but it does allow you to use mail users who don not have any other kind of access to the machine.

Although you can easily implement this by setting their shell to /bin/false.

Just follow one of the regular Postfix howto's on the Postfix site for setting up this scenario.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
kod
n00b
n00b


Joined: 21 Oct 2003
Posts: 29
Location: Beirut,Lebanon

PostPosted: Thu Dec 09, 2004 1:52 pm    Post subject: Reply with quote

well I have to crontab fetchmail then to get emails every few mins? the fetchmail should be run as postfix user right? then postfix would distribute the mail for each users...then pop3 does its job...
maybe I should write a small script to create the users then for future maintenance. but there is a problem...how do users change their pass?
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Thu Dec 09, 2004 3:31 pm    Post subject: Reply with quote

kod wrote:
well I have to crontab fetchmail then to get emails every few mins?

No, fetchmail can run as a daemon itself.

kod wrote:
the fetchmail should be run as postfix user right?

Course not.
Default fetchmail behaviour is to forward all mail received to the local MTA, it doesn't matter which.

kod wrote:
then postfix would distribute the mail for each users...

It would accept all mail from fetchmail, yes, and hand it off to a local delivery agent such as procmail or maildrop.

kod wrote:
then pop3 does its job...

Only if you let it.
Seriously, I'd always use IMAP on a local network - faster, better, easier.

kod wrote:
maybe I should write a small script to create the users then for future maintenance. but there is a problem...how do users change their pass?

Code:
emerge poppassd_pam

_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
kod
n00b
n00b


Joined: 21 Oct 2003
Posts: 29
Location: Beirut,Lebanon

PostPosted: Fri Dec 10, 2004 9:55 am    Post subject: Reply with quote

thanks alot dude :))
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