Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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
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
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION
STARTTLS] Courier-IMAP ready. Copyright 1998-2008 Double Precision,
Inc. See COPYING for distribution information.
X login mailer ***masked***
* BYE [ALERT] Fatal error: Maildir: No such file or directory
Connection closed by foreign host.
So there's still something wrong with the users.
And when i look at /home/mailer there is no Maildir directory...
Thnx, that did the trick, must of missed something in the tut.
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?
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.