LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 07-27-2015, 06:01 AM   #1
robertkwild
Member
 
Registered: Feb 2015
Posts: 382

Rep: Reputation: Disabled
postfix - enable username authentication


Hi all,

I have created a dovecot and postfix email server

My dovecot/IMAP users authenticate by it by there username and passwords that are either created on the local server or my email server queries the LDAP server for authentication

Now I want to have SMTP authentication for my users that use postfix

Basically I want my user on there email clients to tick the box on the outgoing smtp server that says, "use the same authentication method that I use for my IMAP/dovecot server

How do I do this as i think atm my smtp postfix server any one can send out via it so want to lock it down

Many thanks in advanced

Rob
 
Old 07-27-2015, 06:34 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
http://wiki.dovecot.org/HowTo/PostfixAndDovecotSASL
 
Old 07-27-2015, 02:59 PM   #3
robertkwild
Member
 
Registered: Feb 2015
Posts: 382

Original Poster
Rep: Reputation: Disabled
i have configured, postfix and dovecot so the smtp uses authentication from dovecot

now when i come to installing roundcube mail my smtp test fails everytime, can anyone help please

i have attached a link to my screenshots

many thanks

rob

www.filedropper.com/roundcube

Last edited by robertkwild; 07-27-2015 at 03:55 PM.
 
Old 07-27-2015, 04:30 PM   #4
robertkwild
Member
 
Registered: Feb 2015
Posts: 382

Original Poster
Rep: Reputation: Disabled
sorted it

i ran

chown apache:apache /var/www/html/logs and temp

the database wouldnt connect as the username i put was "root" NOT roundcube

and the SMTP test didnt work as the sender should be my whole email address "robert.wild@robina.ddns.net"

thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Enable Postfix SMTP Authentication with External MySQL DB zayed162 Linux - Security 1 11-10-2014 09:43 PM
LXer: How to Enable User Authentication for a Postfix SMTP Server with SASL LXer Syndicated Linux News 0 01-28-2014 04:11 PM
Want steps to enable smtp authentication in postfix bittus Linux - Newbie 1 12-10-2009 12:26 PM
openvpn username password authentication problem lovelylinux Linux - Security 1 11-13-2007 08:22 AM
PHP and Username Authentication Graanco Linux - Software 0 07-31-2003 03:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 05:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration