Forum Moderators: coopster
I have recently migrated to a self-managed dedicated server hosting a LAMP installation. I have sufficiant experience of Linux, PHP and MySQL but lack the exprerience how to properly add email support to my website, in a way that is less overhead and more secure.
The website needs to have at most 5 to 10 email accounts sending emails to registered users or receiving their queries/support questions (the email usernames are not tied to system login user names)
1. I am using htmlMimeMail class from phpclasses.org in my scripts. Will phpMailer (I recently read a lot about it) be a good switch over or should I keep using the former.
2. A weekly newsletter will be sent to more then several thousands users. I will setup cron task executing a php script on regular intervals sending email to a batch of users taken from mysql db. In this regard, which mailer to choose htmlMimeMail or phpMailer or else?
3. What needs to be setup on my server to be able to send and receive emails. Will Postfix OR SendMail be enough to provide outgoing smtp and incoming POP3/IMAP support or different apps are required for SMTP and POP3/IMAP access.
4. Microsoft Outlook will be used as the email client. If I need web based email clients, will SquirrelMail be a good choice. Is there any better one?
All that is needed is 5-10 email accounts setup in a secure, easy to manage manner to be added to my existing website.
Thanks.
Will Postfix OR SendMail be enough to provide outgoing smtp
Certainly.
and incoming POP3/IMAP support
Neither have anything to do with POP3/IMAP. Take a look at dovecot for that function.
If I need web based email clients, will SquirrelMail be a good choice.
SquirrelMail is fine and almost trivial to setup.
MTA = Postfix
MDA/LDA = procmail/dovecot deliver
MUA = MS Outlook
-----
One more query, will it be an over-kill to setup a complete mail serving plateform and manage it subsiquently when all that is needed are 5-10 email addresses. Cant there be something simpler like
1. Install only MTA (postfix) and ask it to forward incoming user mails (to website email addresses) to one or more gmail addresses. While the website email addresses will use Postfix only as an SMTP server. Am I thinking on the right lines?
Thanks.