Code Monkey home page Code Monkey logo

Comments (6)

DavidGoodwin avatar DavidGoodwin commented on September 25, 2024

Firstly, this isn't a generic help forum for roundcube or running postfix; PostfixAdmin is a web UI for managing mailboxes/aliases.

Having said the above, I suspect roundcube is erroring for some reason (e.g it's config says to connect on port X and it can't, or some other dependency has changed). I'd expect there to be error logged somewhere - perhaps in /var/log/apache2/error.log (or similar). If not, try turning PHP's error reporting on (see /etc/php/<version>/<web server>/php.ini and set log_errors = On, restart Apache and then try again - perhaps it'll log something.

Good luck

from postfixadmin.

sovkutsan avatar sovkutsan commented on September 25, 2024

Good afternoon. If I'm writing to the wrong forum, tell me where to write.

Regarding PostfixAdmin, I know what it is and what it is for, I have configured it many times. On different systems. He's fine now. It opens and works

/var/log/apache2/error.log - empty, Apache has been disabled for many days and everything works through Nginx.

Rundcube worked for reception while I had ports 143,537
When I noticed that mail was running on the wrong ports, I reconfigured everything to 993.465 ssl

Mail works (via Thunderbird), postfixadmin works. There are no questions here.

But rouncube complains about an authorization error:
I can only see errors in php.log
[13-Nov-2023 08:20:37 Asia/Bishkek] PHP Parse error: syntax error, unexpected variable "$config" in /var/www/html/webmail/config/config.inc.php on line 307

Here is line 307 and the comment above it from the file /var/www/html/webmail/config.inc.php

// IMAP authentication method (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or null).
// Use 'IMAP' to authenticate with IMAP LOGIN command.
// By default the most secure method (from supported) will be selected.
$config['imap_auth_type'] = null;

from postfixadmin.

sovkutsan avatar sovkutsan commented on September 25, 2024

This is how I put the basic roundcube settings together, neatly

/////////////////////////////////////////////// Config for our company ////////////////////////////////////////////// ///////////
//IMAP

$config['product_name'] = 'Roundcube Webmail';
$config['imap_vendor'] = 'Our company';
$config['default_port'] = 993;
$config['imap_host'] = 'localhost:993'
$config['imap_auth_type'] = null;

//SMTP
$config['smtp_server'] = 'ssl://mail.kan.kg';
$config['default_host'] = 'ssl://mail.kan.kg';
$config['smtp_host'] = 'localhost:465';
$config['smtp_port'] = 465;
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';

from postfixadmin.

sovkutsan avatar sovkutsan commented on September 25, 2024

I just have to try different authorization options, since now the mail works using encrypted protocols, maybe I need to install CRAM-MD5

in php.ini - log_errors = On

from postfixadmin.

DavidGoodwin avatar DavidGoodwin commented on September 25, 2024

I can't tell if you still have a problem.

I suspect your problem with config.inc.php is some sort of quoting issue - e.g a ` instead of a ' or something like that, before line 307 in the file.

from postfixadmin.

sovkutsan avatar sovkutsan commented on September 25, 2024

I did Rouncube. 5 days ago, It works perfect.
I found problem myself.

from postfixadmin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.