Postfix + imap without mysql
Hello,
I'm having troubles configuring postfix with imap support. I've used this tutorial to install postfix with imap. But now i'm wondering if i can create users without using mysql for storing the accounts. I only need 3 users and postfix should run as fast as possible, that's why i don't want to use mysql. Is this possible, or is mysql required once imap is used? |
Where does the tutorial even mention mysql?
Postfix by default will pick up unix style users from /etc/passwd, so add those users using useradd and their mail should appear in /home/their_username/Maildir. fyi, mysql isn't a default option as far as I recall, and the RH packages don't come with it in any case. here's a snippet from the postfix site on making with mysql support Code:
make -f Makefile.init makefiles \ |
I'm sorry, i mixed up the tuts i used, it was this one.
Now i already created the users when i first started postfix without courier imap (as discribed in another tut) but that doesn't seem to work. When i try to telnet imap i get this: Code:
# telnet localhost imap And when i look at /home/mailer there is no Maildir directory... |
Create
~/Maildir ~/Maildir/cur ~/Maildir/new ~/Maildir/tmp where ~ = /home/relevant_username all owned by the user and permissions 700 |
Quote:
Another postfix related question. I'm using imap with php. When i login using the imap_open function in php i must provide the /notls option. Is is possible to disable ssl/tls by default? |
Probably, but I use dovecot not courier-imap, so I can't help you there
|
One last thing :p
Postfix is running perfectly but there's one configuration problem i can't seem to find. Using SMTP i only want postfix to allow e-mails being sent from localhost and/or a certain domain. I've tried enabling smtpd_reject_unlisted_sender but i still can send from any domain. e.g.: the MAIL FROM: should only allow <variable>@my-domain.com |
All times are GMT -5. The time now is 06:36 AM. |