From: Georg Gretz (no email)
Date: Fri Nov 01 2002 - 10:40:04 EST
Hello Simon,
I'm trying to set up a mailing service for our customers, the management of the users hast to work over a mysql db, so I don't have to add each mail user as system user. The server is a dedicated machine with a permanent internet connection, running with Suse 7.2.
- The server has to receive mail from internet and sort it into the mailboxes. The assignment email-address <-> pop-box has to be managed thru a mysql db. Postfix has to search for the particular address in the db and put the mail into the pop-box.
- As POP/IMAP server I would like to set up Courier IMAP for authentication and serving mails to the user.
- Also Posfix hast to act as a SMTP server to our customers. They have to authenticate over SMTP-Auth with the same username and password like on the IMAP server.
I've already read the Postfix/CourierIMAP/MySQL howto, but I am a newbie on Linux (I'm usualy a coder ;) so the howto was not "simple" enough :-)
My questions:
- Do I have to use SASL/PAM_mysql for SMTP auth? Or is there a simpler way to authenticate users?
- Which directives do I have to use for mapping address <-> pop-box?
- What is the difference between local an virtual transport? Only the ability to read the local mails direct on the machine without a POP/IMAP server?
- We have multiple domains, which our customers can choose from to create their mail accounts. Also the customers should be able to register domain names by themself and create mail accounts under their domain. Does every domain have to be added to the main.cf?
- Is it enough to create an new account in the mysql db for adding a new user? Or do I have to tell postfix to create an account, create directories in the maildir etc?
- How do I tell Postfix to be run chrooted? Is it enough to change every service in the master.cf to be run chrooted?
Thank you very much,
Georg
> Hi,
> I have recently had similar problems, there are so many ways of
> configuring postix for many different scenarios, and the docs available
> on the web seem to at times contradict....
> I found this very frustrating... what compounded my frustration was the
> way the usergroup replys are kind of abrupt and always say the same
> "RTFM".
> Anyway, attached is a permissions map of a default install of Postfix
> What are you trying to achieve?
> I have just set up a Postfix relay to accept mail from internet
> (pointed to by MX record for our domain)
> this lives in a DMZ along side our external DNS server.
> It is configured to accept mail and pass it thru the firewall to our
> internal mail server. (local delivery and spam checking occurs here -
> just b'cos it was already in place)
> It is also configured to accept outgoing mail only from our internal
> mailserver to bedelivered to destinations on the internet.
> I would reccomend running postfix chrooted, if you are farmilliar with
> chroots, Postfix may confuse you (it got me) as it works a little
> different.
> Postfix actually starts up as root, then (after reading master.cf)
> starts the other daemons as lower priiledged users (a bit like
> apache)....
> If you need help I will try, but I am fairly new myself, and I am still
> 'tuning' my own config....
> Simon Crowther
-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users
|
|
|