Author Topic: postfix/dovecot integration  (Read 2448 times)

Offline nmpg

  • Newbie
  • *
  • Posts: 4
postfix/dovecot integration
« on: October 07, 2014, 06:12:09 PM »
Hello.

I've installed Roundcube, and got into the web installer. I'm lost with the configurations for the SMTP and IMAP settings.

Some preliminaries:
  - I have added my ip as MX in namecheap; I use namecheap as my domain registrar.
  - I have installed postfix for smtp and dovecot for imap. Standard procedure with apt-get ..
  - host mydomain returns that mail is handlded by mail.mydomain. Which tells me that this is my SMTP server...(right?)

I want to use my server to send and receive emails. I can use sendmail (installed with postfix) in the command line to send an email, the command goes through but the email never arrives...

Looking at the test page of the web installer gives me errors. For instance, for SMTP checking:
Trying to send email...
SMTP send:  NOT OK(Failed to add recipient 'xxxx@somedomain')

regarding IMAP checking, I'm not sure what to put in the username and password. This is probably related with the dovecot configuration, but I haven't quite found a tutorial that actually worked for me.

Can anyone give me some pointers?

FWIW: I'm on debian, with nginx and mysql.

Thank you for your time.