On 05 Nov 2013, at 17:42 , Ian Evans <dheianev...@gmail.com> wrote:

> As I'm migrating my site to a new server, my postfix/dovecot setup is 
> currently on the new server, while nginx (and squirrelmail) is on the old.
> 
> Since I can't use localhost:25 for smtp in Squirrel (since it's on another 
> server) I need to make sure I have postfix and SM correctly configured for 
> secure smtp. Googled and found various articles of varying ages. Would 
> appreciate a pointer to the most recent reference on making sure SM and 
> postfix talk to each other securely.

It’s really straight forward, just set SM up to use auth. Updating Squirrelmail 
is pretty painless.

Here’s mine:

IMAP Settings
--------------
4.  IMAP Server            : mail.covisp.net
5.  IMAP Port              : 993
6.  Authentication type    : login
7.  Secure IMAP (TLS)      : TLS
8.  Server software        : dovecot
9.  Delimiter              : .

and

SMTP Settings
-------------
4.   SMTP Server           : mail.covisp.net
5.   SMTP Port             : 587
6.   POP before SMTP       : false
7.   SMTP Authentication   : plain (with IMAP username and password)
8.   Secure SMTP (TLS)     : STARTTLS
9.   Header encryption key : 

> Also, I'd like to futureprooof my code. Currently I only have one web 
> frontend (and it'll all be on the same machine when I migrate) but if I have 
> multiple frontends in the future is it correct to say you don't want php apps 
> on each frontend that might send mail sending out independently, but rather 
> connecting to the mail server and sending out through there?

You probably do not want http running on the machine that runs postfix. That 
machine should pretty much have only the mail ports and ssh open if possible.

Also, Roundcube is faster and has more “golly wiz!” features that SM and will 
probably make your users happier. You might consider running ti side-by-side 
with SM.

-- 
Good old Dame Fortune. You can _depend_ on her.

Reply via email to