View previous topic :: View next topic |
Author |
Message |
kod n00b
Joined: 21 Oct 2003 Posts: 29 Location: Beirut,Lebanon
|
Posted: Thu Dec 09, 2004 1:02 pm Post subject: Company MailServer Suggestions. |
|
|
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 |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Thu Dec 09, 2004 1:11 pm Post subject: |
|
|
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 |
|
|
kod n00b
Joined: 21 Oct 2003 Posts: 29 Location: Beirut,Lebanon
|
Posted: Thu Dec 09, 2004 1:52 pm Post subject: |
|
|
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 |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Thu Dec 09, 2004 3:31 pm Post subject: |
|
|
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 |
|
|
kod n00b
Joined: 21 Oct 2003 Posts: 29 Location: Beirut,Lebanon
|
Posted: Fri Dec 10, 2004 9:55 am Post subject: |
|
|
thanks alot dude ) |
|
Back to top |
|
|
|