As I understand it I have to do all the required database changes between 0.9.5-1 and 1.5.2. I never removed the cluebringer database as I wasn't sure how to do it and put it aside and forgot to ask.
Re: Dropping a database and migrating to a new server
Re: Dropping a database and migrating to a new server
I found it was easy, just drop database cluebringer; and it was gone. I took a snapshot first just in case.
Re: Issue with 2FA activated by mistake
Replace "UserWithProblem" by the email address of the real user which has such problem.
what about Google and TOTP Authenticator ?!
Re: spamhaus and b.barracudacentral.org qureies !!
Check its website to understand what they're used for:
https://www.spamhaus.org
https://barracudacentral.orgAs mentioned on spamhaus.org website, using a public DNS server may have similar issue since the DNS server may send a lot DNS queries to them. In such case, a self-hosted DNS server (e.g. the DNS server running in your LAN, or a localhost DNS server) will be better.
dont use google DNS for a mailserver, best would be to use your own vps for resolving
Thanks Dears , Noted
your efforts are greatly appreciated
Re: Dropping a database and migrating to a new server
gluebringer was removed long long time ago and isn't used anymore at all, and in therory the only thing you need to import is the vmail database go get it to work (and copying the /var/mail/vmail1" since it includes all the mailboxes)
I looked at the documentation for migrating servers and it says just export and import the vmail database but does list the commands. I'm not a database person. What are the commands to do that for MariaDB?
Odd behavior after renewing LetsEncrypt certs using iPhone email
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
v 1.31 w LDAP
Server works fine; not anxious to upgrade since I'm not 'missing' any features that I need.
I'm using a LetsEncrypt SSL cert on my site and it works. My auto renew doesn't seem work for the SSL.
My process is to stop the service Nginx; run certbot renew and restart nginx.
The new certificate shows up and all is well.
On the day AFTER the certificate *would* have expired, the iPhone won't access the mail server. Somehow, it still thinks the 'old' certificate is in use and expired (SOGo shows the cert is up to date and webmail works fine).
If I reboot the server, the iphone will accept email from that point forward.
Is this a solvable problem? Restarting the server is fine, but it doesn't seem as though it should be required.
Thanks for your thoughts.
Andrew
iredmail 0.9.2 didn't install anything from existing config file
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Ubuntu 20.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue. : See below
====
I migrate iredmail 0.9.2 from Ubuntu 14.04 to 20.04 on a new server.
I have existing backed up data, and existing config used for new installation.
I execute with the following and result it shows
$ AUTO_USE_EXISTING_CONFIG_FILE=y bash iRedMail.sh
[ INFO ] Checking configuration file: /root/Data/Projects/iRedMail-0.9.2/config ... [FOUND]
< Question > Use it for mail server setting? [y|N]y
[ INFO ] Use config file: /root/Data/Projects/iRedMail-0.9.2/config for mail server setting.
[ INFO ] Import installation process status from file: /root/Data/Projects/iRedMail-0.9.2/runtime/install.status.
< SKIP > Function: install_all.
********************************************************************
* Start iRedMail Configurations
********************************************************************
[ INFO ] Create self-signed SSL certification files (2048 bits).
[ INFO ] Generate a strong, unique Diffie Hellman Group with openssl, please wait.
< SKIP > Function: add_required_users.
< SKIP > Function: web_server_config.
[ INFO ] Configure MySQL database server.
< SKIP > Function: mysql_initialize.
< SKIP > Function: mysql_import_vmail_users.
< SKIP > Function: mysql_cron_backup.
< SKIP > Function: postfix_config_basic.
< SKIP > Function: postfix_config_virtual_host.
< SKIP > Function: postfix_config_sasl.
< SKIP > Function: postfix_config_tls.
< SKIP > Function: policy_server_config.
< SKIP > Function: enable_dovecot.
< SKIP > Function: clamav_config.
< SKIP > Function: amavisd_config_debian.
< SKIP > Function: amavisd_config_general.
< SKIP > Function: amavisd_import_sql.
< SKIP > Function: sa_config.
< SKIP > Function: iredapd_config.
< SKIP > Function: iredadmin_config.
< SKIP > Function: rcm_install.
< SKIP > Function: rcm_import_sql.
< SKIP > Function: rcm_config.
< SKIP > Function: rcm_plugin_managesieve.
< SKIP > Function: rcm_plugin_password.
< SKIP > Function: cleanup.
It didn't install anything. Any help would be appreciated.
Re: Odd behavior after renewing LetsEncrypt certs using iPhone email
it seems that you heavy lack of basics when you asume that the mailserver is ran by nginx (which is a http server) and literally has NOTHING to do with a mailserver at all
this may sound a bit rude, but it makes me angry to see so much spam and unsecured/misconfigured servers due to the fact that it is "so easy" to set up and operate one, but most that do so dont even have basic knowlege on how to secure and maintain it
Re: iredmail 0.9.2 didn't install anything from existing config file
[ INFO ] Import installation process status from file: /root/Data/Projects/iRedMail-0.9.2/runtime/install.status
It skips everything because it asumes that all steps were already finnished
Why you try to install such an outdated version on an old server at all?
you only need the installer and the config file, nothing else
Re: Odd behavior after renewing LetsEncrypt certs using iPhone email
it seems that you heavy lack of basics when you asume that the mailserver is ran by nginx (which is a http server) and literally has NOTHING to do with a mailserver at all
this may sound a bit rude, but it makes me angry to see so much spam and unsecured/misconfigured servers due to the fact that it is "so easy" to set up and operate one, but most that do so dont even have basic knowlege on how to secure and maintain it
Based on how I installed the ssl certificate, certbot as part of the renewal process needs to create a temp webserver; if I don't disable nginx prior to running the renewal, certbot will fail. The renewal hooks, which my certbot doesn't like (which is why I do it manually instead of allowing the cron job which is supposed to handle it), in fact temporarily disable nginx (or apache2) in order to run the renewal.
And the mailserver does use nginx in order to support webmail; the iphone, when retrieving mail, uses the ssl certificate as well.
I believe the answer may be, based on some subsequent sleuthing, that I need to reload dovecot (per a posting on LetsEncrypt's forums). I'm not sure if other services need to be reloaded as well to force them to 'see' the new ssl cert.
So yes, you do come across as rude. In this case, you're also off the mark.
So, to re-ask the question, what services should i reload after renewing my certs?
Andrew
Re: Odd behavior after renewing LetsEncrypt certs using iPhone email
There is a guide:
https://docs.iredmail.org/letsencrypt.html
Re: Odd behavior after renewing LetsEncrypt certs using iPhone email
Following the link Cthulhu posted, I have no issue renewing my certificate. I have the script run weekly. At the bottom is my log for a certificate renewal, and as you see near the bottom, the nginx server restarts automatically. No renewal- no restart needed.
And after reviewing my log- if you disable the nginx server- the verification cannot proceed! (Moot point if you are manually updating the certificates- but why bother?)
..So, to re-ask the question, what services should i reload after renewing my certs?
Andrew
Why not let the cron script do it?
My log follows:
Cron <root@plankton> certbot renew --post-hook '/usr/sbin/service postfix restart; /usr/sbin/service nginx restart; /usr/sbin/service dovecot restart'
From Cron Daemon <root@plankton.massat.net> on 2022-02-26 03:01
Details
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /usr/local/etc/letsencrypt/renewal/test.massat.net.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert is due for renewal, auto-renewing...
Non-interactive renewal: random delay of 186.67843357862066 seconds
Plugins selected: Authenticator webroot, Installer None
Renewing an existing certificate for test.massat.net
Performing the following challenges:
http-01 challenge for test.massat.net
Using the webroot path /usr/local/www/htdocs for all unmatched domains.
Waiting for verification...
Cleaning up challenges
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
new certificate deployed without reload, fullchain is
/usr/local/etc/letsencrypt/live/test.massat.net/fullchain.pem
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Congratulations, all renewals succeeded:
/usr/local/etc/letsencrypt/live/test.massat.net/fullchain.pem (success)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Running post-hook command: /usr/sbin/service postfix restart; /usr/sbin/service nginx restart; /usr/sbin/service dovecot restart
Output from post-hook command service:
Performing sanity check on nginx configuration:
Stopping nginx.
Waiting for PIDS: 98144.
Performing sanity check on nginx configuration:
Starting nginx.
Stopping dovecot.
Waiting for PIDS: 69861.
Starting dovecot.
Error output from post-hook command service:
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
Re: iredmail 0.9.2 didn't install anything from existing config file
[ INFO ] Import installation process status from file: /root/Data/Projects/iRedMail-0.9.2/runtime/install.status
It skips everything because it asumes that all steps were already finnished
Why you try to install such an outdated version on an old server at all?
you only need the installer and the config file, nothing else
Thank you, I didn't really notice that
install.status
.
The reason is I'd like to do upgrade later after getting things up and running. As seen from listing page for instruction on how to upgrade for each version, it'd be elaborated and quite effort.
To my understanding, I would need to do incremental upgrade from 0.92 to 0.93, and so on until reach the latest version due to I still have to do upgrade changes for each incremental version?
iRM AD auth prevent automatic folder creation
iRedMail-1.5.2
Downloaded installer
Centos 8 Stream
LDAP
Apache
No pro
Hi!
I've sucessfull installed iRM and configured AD authentication following your tutorial. Thx by the way!
What I would like to know is this -- is there a way to prevent iRM to send any requests to AD for the mailboxes that do not exist at iRM?
The reason for this is that I am trying to migrate mailboxes from one server to another and I need to control what mailboxes a created at the iRM server, while the others stay at the old one.
Re: Dropping a database and migrating to a new server
For testing the process I've made a copy of my current server and gone through the MySQL/MariaDB changes in all the upgrade steps. I've dumped vmail database and am syncing /var/vmail/vmail1 to the new test server. In addition to the vmail database I've also dumped the iredapd, iredmail, amavisd, and roundcubemail databases since those were called out as well.
Sogo lost connection
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.5.2
- Deployed with iRedMail Easy or the downloadable installer? Downloadable
- Linux/BSD distribution name and version: Ubuntu 20.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Not pro
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
We had just closed a support ticket and the machine did not survive a reboot due to power failure. Any help appreciated!!
====
From sogo backup
<0x0x555c0991b500[SQLSource]> could not run SQL 'SELECT * FROM users WHERE (c_uid = 'myname') OR (mail = 'myname')': <PostgreSQL72Exception: 0x555c09a012d0> NAME:PostgreSQL72FatalError REASON:fatal pgsql error (channel=<0x0x555c099bdb00[PostgreSQL72Channel]: connection=<0x0x555c097d3d00[PGConnection]: connection=0x0x555c09a204f0>>): ERROR: could not establish connection
DETAIL: FATAL: password authentication failed for user "vmail"
FATAL: password authentication failed for user "vmail"
I have many similar logs in other areas. All show a broken connection but I can easily connect with the same credentials listed in tips file using pgadmin. I have looked through the places listed in the forums for similar errors but they are for different versions or problems. I cannot trace where the issue originates. The proper credentials are listed everywhere I look. All the sogo.conf strings seem to use the sogo user but the errors are for vmail user(?). All of my sogo access is down but this should give an idea of where the fracture is.
All kinds in Sogo log:
Apr 05 01:07:01 sogod [1162]: <0x0x563efff0b0a0[SOGoDAVAuthenticator]> tried wrong password for user 'user@domain.com'!
Apr 05 01:07:01 sogod [1162]: mail.domain.com "OPTIONS /SOGo/Microsoft-Server-ActiveSync?User=user&DeviceId=xxxxxxxxxxxxxxxxxxxx&DeviceType=WindowsMail HTTP/1.0" 401 12/0 0.076 - - 604K - 12
Apr 05 01:07:01 sogod [1162]: <0x0x563efff0b0a0[SOGoDAVAuthenticator]> tried unknown authentication method: Bearer (B)
Apr 05 01:07:01 sogod [1162]: mail.domain.com "OPTIONS /SOGo/Microsoft-Server-ActiveSync HTTP/1.0" 401 33/0 0.001 - - 0 - 12
Apr 05 01:16:54 sogod [1162]: [ERROR] <0x0x563efff10e10[SQLSource]> could not run SQL 'SELECT * FROM users WHERE (c_uid = 'user@domain.com') OR (mail = 'user@domain.com')': <PostgreSQL72Exception: 0x563efff44310> NAME:PostgreSQL72FatalError REASON:fatal pgsql error (channel=<0x0x563effedead0[PostgreSQL72Channel]: connection=<0x0x563efff39370[PGConnection]: connection=0x0x563efff3a000>>): ERROR: could not establish connection
DETAIL: FATAL: password authentication failed for user "vmail"
FATAL: password authentication failed for user "vmail"
Apr 05 01:16:54 sogod [1162]: 192.168.0.1 "REPORT /SOGo/dav/user@domain.com/Calendar/personal/ HTTP/1.0" 401 0/683 0.059 - - 0 - 12
Apr 05 01:16:54 sogod [1162]: [ERROR] <0x0x563efff10e10[SQLSource]> could not run SQL 'c_uid = 'user@domain.com'': <PostgreSQL72Exception: 0x563efff5a110> NAME:PostgreSQL72FatalError REASON:fatal pgsql error (channel=<0x0x563effedead0[PostgreSQL72Channel]: connection=<0x0x563efff39370[PGConnection]: connection=0x0x563efff3a000>>): ERROR: could not establish connection
DETAIL: FATAL: password authentication failed for user "vmail"
FATAL: password authentication failed for user "vmail"
Apr 05 01:16:54 sogod [1162]: <0x0x563efff0b0a0[SOGoDAVAuthenticator]> tried wrong password for user 'user@domain.com'!
Apr 05 01:16:54 sogod [1162]: 192.168.0.1 "REPORT /SOGo/dav/user@domain.com/Calendar/personal/ HTTP/1.0" 401 12/683 0.022 - - 0 - 12
Apr 05 01:16:55 sogod [1162]: 192.168.0.1 "PROPFIND /SOGo/dav/user@domain.com/Contacts/personal/ HTTP/1.0" 401 0/304 0.002 - - 0 - 12
Apr 05 01:16:55 sogod [1162]: [ERROR] <0x0x563efff10e10[SQLSource]> could not run SQL 'c_uid = 'user@domain.com'': <PostgreSQL72Exception: 0x563efff33a40> NAME:PostgreSQL72FatalError REASON:fatal pgsql error (channel=<0x0x563effedead0[PostgreSQL72Channel]: connection=<0x0x563efff39370[PGConnection]: connection=0x0x563efff3a000>>): ERROR: could not establish connection
DETAIL: FATAL: password authentication failed for user "vmail"
FATAL: password authentication failed for user "vmail"
Apr 05 01:16:55 sogod [1162]: <0x0x563efff0b0a0[SOGoDAVAuthenticator]> tried wrong password for user 'user@domain.com'!
Apr 05 01:16:55 sogod [1162]: 192.168.0.1 "PROPFIND /SOGo/dav/user@domain.com/Contacts/personal/ HTTP/1.0" 401 12/304 0.034 - - 0 - 12
************************************************
Dovecot
*************************
Apr 5 00:52:30 mail dovecot: master: Dovecot v2.3.7.2 (3c910f64b) starting up for pop3, imap, sieve, lmtp (core dumps disabled)
Apr 5 00:52:42 mail dovecot: stats: Error: conn stats-reader (127.0.0.1:39688): didn't reply with a valid VERSION line: EXPORT#011global
Apr 5 00:52:42 mail dovecot: stats: Error: conn stats-reader (127.0.0.1:39690): didn't reply with a valid VERSION line: EXPORT#011global
**********************
Nginx Error
******************
2022/04/05 05:09:11 [error] 804#804: *1364 open() "/var/www/html/phpmyadmin" failed (2: No such file or directory), client: xxx.xxx.xxx.xxx, server: _, request: "GET /phpmyadmin HTTP/2.0", host: "mail.domain.com"
2022/04/05 05:09:15 [error] 804#804: *1364 open() "/var/www/html/phpmyadmin" failed (2: No such file or directory), client: xxx.xxx.xxx.xxx, server: _, request: "GET /phpmyadmin HTTP/2.0", host: "mail.domain.com"
2022/04/05 05:10:10 [error] 804#804: *1364 open() "/var/www/html/phpmyadmin" failed (2: No such file or directory), client: xxx.xxx.xxx.xxx, server: _, request: "GET /phpmyadmin HTTP/2.0", host: "mail.domain.com"
2022/04/05 00:53:36 [crit] 823#823: *44 SSL_do_handshake() failed (SSL: error:141CF06C:SSL routines:tls_parse_ctos_key_share:bad key share) while SSL handshaking, client: xxx.xxx.xxx.xxx, server: 0.0.0.0:443
Re: Dropping a database and migrating to a new server
It appears to have worked. I just need to confirm if I need to export and import the other database or just vmail.
Re: Multiple passwords / add app password
Hi slovenka,
slovenka wrote:Would you be willing to help with getting this figured out and implemented?
if you mean me, yes, but my resources (an knowledge of postfix, etc) are quite limited, so not sure I could be of a lot of help. We have a Pro license, so our hope would be that eventually this license will help get this feature implemented.
We plan to try out user federation with keycloak, so we can authenticate other services without the need to give access to our OpenLDAP server. Not sure if that would be a solution. SOGo will not support it (or would it, via SAML2 broker?). We also use 2 plugins in Roundcube (carddav, and caldav), and I think caldav does not support OAuth. Here even with user-federation we still not have a working solution for calendars in roundcube.
I think there definitely needs to be done something to make authentication to iRedmail, and its frontends more secure. 2FA for the iredmail admin interface is maybe relatively simple to implement? Not sure. For web-based 2FA in combination with access from all kinds of external (mail) clients, it seems app-passwords might be the most straightforward solution?
Hello, we also are working with Keycloak, but did not implement authentication for mail services, it seems quite a process. We are using it for SSO to OIDC supporting web applications.
I tried to implement the app-password-token, got stuck with Postfix, but got it somehow working with Dovecot. So we need to figure out the Postfix part. I can share the document (even if not completely working). The developer of iRedMail turned down a request to develop the token functionality, so I think we are on our own. We are prepared to fund the development at least in some part. We would need to hire an expert on Postfix. If you are interested to help in any way (funding, researching, ...), contact me at slovenka [at] tuta [dot] io. Thank you!
играть в казино через яндекс почту
Игры на любой вкус. Бонус на первый депозит 500$ Кликай на ссылку https://tdsbests.top/zw8tNg
Re: Dropping a database and migrating to a new server
The first attempt appeared to work so I redid the process to make sure I wasn't missing anything. I built a new server using Rocky Linux 8, made another backup of my original server, then went through the steps to apply all the database changes listed. I then exported the databases and used rsync to copy over /var/vmail/vmail1, then on the new server I imported the databases. I checked that things started up and I could connect and send email, then I started digging into the logs to make sure there weren't any issues. I found several. Because of this I've restored the backup VM. I did keep the new server as well as the old server that I applied all the databases changes to.
/var/log/messages has several mysqld errors for aborted connections for vmail and iredadmin:
Apr 9 01:25:24 clarke mysqld[1178]: 2022-04-09 1:25:24 16 [Warning] Aborted connection 16 to db: 'vmail' user: 'vmailadmin' host: 'localhost' (Got an error reading communication packets)
Apr 9 01:27:23 clarke mysqld[1178]: 2022-04-09 1:27:23 29 [Warning] Aborted connection 29 to db: 'iredadmin' user: 'iredadmin' host: 'localhost' (Got an error reading communication packets)
/var/log/dovecot/dovecot.log has these errors with the port after 127.0.0.1: changing:
Apr 9 01:17:02 clarke dovecot[1582]: stats: Error: conn stats-reader (127.0.0.1:46156): didn't reply with a valid VERSION line: EXPORT#011global
/var/log/iredapd/iredapd.log shows a missing table. I applied all the listed MySQL/MariaDB changes in each step from 0.9.5-1 to 1.5.2. I found a previous report of this that said the table was fixed when upgrading iRedAPD but I don't see that table listed:
Apr 9 00:43:37 clarke journal[1725]: iredapd <!> Error while logging smtp action: ProgrammingError('(pymysql.err.ProgrammingError) (1146, "Table \'iredapd.smtp_sessions\' doesn\'t exist")',)
Also in /var/log/iredpd/iredapd.log I see errors applying the plugins throttle, greylisting, and wblist_rdns:
Apr 9 00:43:37 clarke journal[1725]: iredapd <!> Error while applying plugin 'throttle': ['Traceback (most recent call last):\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 1244, in _execute_context\n cursor, statement, parameters, context\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/default.py", line 552, in do_execute\n cursor.execute(statement, parameters)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/cursors.py", line 163, in execute\n result = self._query(query)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/cursors.py", line 321, in _query\n conn.query(q)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 505, in query\n self._affected_rows = self._read_query_result(unbuffered=unbuffered)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 724, in _read_query_result\n result.read()\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 1069, in read\n first_packet = self.connection._read_packet()\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 676, in _read_packet\n packet.raise_for_error()\n', ' File "/usr/lib/python3.6/site-packages/pymysql/protocol.py", line 223, in raise_for_error\n err.raise_mysql_exception(self._data)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/err.py", line 107, in raise_mysql_exception\n raise errorclass(errno, errval)\n', 'pymysql.err.OperationalError: (1054, "Unknown column \'max_rcpts\' in \'field list\'")\n', '\nThe above exception was the direct cause of the following exception:\n\n', 'Traceback (most recent call last):\n', ' File "/opt/iRedAPD-5.0.4/libs/utils.py", line 90, in apply_plugin\n', ' File "/opt/iredapd/plugins/throttle.py", line 712, in restriction\n', ' File "/opt/iredapd/plugins/throttle.py", line 281, in apply_throttle\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 982, in execute\n return self._execute_text(object_, multiparams, params)\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 1155, in _execute_text\n parameters,\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 1248, in _execute_context\n e, statement, parameters, cursor, context\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 1466, in _handle_dbapi_exception\n util.raise_from_cause(sqlalchemy_exception, exc_info)\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/util/compat.py", line 383, in raise_from_cause\n reraise(type(exception), exception, tb=exc_tb, cause=cause)\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/util/compat.py", line 128, in reraise\n raise value.with_traceback(tb)\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 1244, in _execute_context\n cursor, statement, parameters, context\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/default.py", line 552, in do_execute\n cursor.execute(statement, parameters)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/cursors.py", line 163, in execute\n result = self._query(query)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/cursors.py", line 321, in _query\n conn.query(q)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 505, in query\n self._affected_rows = self._read_query_result(unbuffered=unbuffered)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 724, in _read_query_result\n result.read()\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 1069, in read\n first_packet = self.connection._read_packet()\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 676, in _read_packet\n packet.raise_for_error()\n', ' File "/usr/lib/python3.6/site-packages/pymysql/protocol.py", line 223, in raise_for_error\n err.raise_mysql_exception(self._data)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/err.py", line 107, in raise_mysql_exception\n raise errorclass(errno, errval)\n', 'sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (1054, "Unknown column \'max_rcpts\' in \'field list\'")\n[SQL: \n SELECT id, account, priority, period, max_msgs, max_quota, max_rcpts, msg_size\n FROM throttle\n WHERE kind=\'outbound\' AND account IN (\'2001:470:b9a8:10::21\', \'@ip\', \'dittman@dittman.net\', \'@dittman.net\', \'@.\', \'@.dittman.net\', \'@.net\')\n ORDER BY priority DESC\n ]\n(Background on this error at: ]http://sqlalche.me/e/e3q8)n']
Apr 9 00:45:46 clarke journal[1725]: iredapd <!> Error while applying plugin 'greylisting': ['Traceback (most recent call last):\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 1244, in _execute_context\n cursor, statement, parameters, context\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/default.py", line 552, in do_execute\n cursor.execute(statement, parameters)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/cursors.py", line 163, in execute\n result = self._query(query)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/cursors.py", line 321, in _query\n conn.query(q)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 505, in query\n self._affected_rows = self._read_query_result(unbuffered=unbuffered)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 724, in _read_query_result\n result.read()\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 1069, in read\n first_packet = self.connection._read_packet()\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 676, in _read_packet\n packet.raise_for_error()\n', ' File "/usr/lib/python3.6/site-packages/pymysql/protocol.py", line 223, in raise_for_error\n err.raise_mysql_exception(self._data)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/err.py", line 107, in raise_mysql_exception\n raise errorclass(errno, errval)\n', 'pymysql.err.ProgrammingError: (1146, "Table \'iredapd.greylisting_whitelist_domain_spf\' doesn\'t exist")\n', '\nThe above exception was the direct cause of the following exception:\n\n', 'Traceback (most recent call last):\n', ' File "/opt/iRedAPD-5.0.4/libs/utils.py", line 90, in apply_plugin\n', ' File "/opt/iredapd/plugins/greylisting.py", line 368, in restriction\n', ' File "/opt/iredapd/plugins/greylisting.py", line 57, in _is_whitelisted\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 982, in execute\n return self._execute_text(object_, multiparams, params)\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 1155, in _execute_text\n parameters,\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 1248, in _execute_context\n e, statement, parameters, cursor, context\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 1466, in _handle_dbapi_exception\n util.raise_from_cause(sqlalchemy_exception, exc_info)\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/util/compat.py", line 383, in raise_from_cause\n reraise(type(exception), exception, tb=exc_tb, cause=cause)\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/util/compat.py", line 128, in reraise\n raise value.with_traceback(tb)\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 1244, in _execute_context\n cursor, statement, parameters, context\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/default.py", line 552, in do_execute\n cursor.execute(statement, parameters)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/cursors.py", line 163, in execute\n result = self._query(query)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/cursors.py", line 321, in _query\n conn.query(q)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 505, in query\n self._affected_rows = self._read_query_result(unbuffered=unbuffered)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 724, in _read_query_result\n result.read()\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 1069, in read\n first_packet = self.connection._read_packet()\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 676, in _read_packet\n packet.raise_for_error()\n', ' File "/usr/lib/python3.6/site-packages/pymysql/protocol.py", line 223, in raise_for_error\n err.raise_mysql_exception(self._data)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/err.py", line 107, in raise_mysql_exception\n raise errorclass(errno, errval)\n', 'sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table \'iredapd.greylisting_whitelist_domain_spf\' doesn\'t exist")\n[SQL: SELECT LOWER(sender)\n FROM greylisting_whitelist_domain_spf\n WHERE account IN (\'root@dittman.net\', \'@dittman.net\', \'@.\', \'@.dittman.net\', \'@.net\')]\n(Background on this error at: ]http://sqlalche.me/e/f405)n']
Apr 9 00:45:46 clarke journal[1725]: iredapd <!> Error while applying plugin 'wblist_rdns': ['Traceback (most recent call last):\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 1244, in _execute_context\n cursor, statement, parameters, context\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/default.py", line 552, in do_execute\n cursor.execute(statement, parameters)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/cursors.py", line 163, in execute\n result = self._query(query)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/cursors.py", line 321, in _query\n conn.query(q)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 505, in query\n self._affected_rows = self._read_query_result(unbuffered=unbuffered)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 724, in _read_query_result\n result.read()\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 1069, in read\n first_packet = self.connection._read_packet()\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 676, in _read_packet\n packet.raise_for_error()\n', ' File "/usr/lib/python3.6/site-packages/pymysql/protocol.py", line 223, in raise_for_error\n err.raise_mysql_exception(self._data)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/err.py", line 107, in raise_mysql_exception\n raise errorclass(errno, errval)\n', 'pymysql.err.ProgrammingError: (1146, "Table \'iredapd.wblist_rdns\' doesn\'t exist")\n', '\nThe above exception was the direct cause of the following exception:\n\n', 'Traceback (most recent call last):\n', ' File "/opt/iRedAPD-5.0.4/libs/utils.py", line 90, in apply_plugin\n', ' File "/opt/iredapd/plugins/wblist_rdns.py", line 85, in restriction\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 982, in execute\n return self._execute_text(object_, multiparams, params)\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 1155, in _execute_text\n parameters,\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 1248, in _execute_context\n e, statement, parameters, cursor, context\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 1466, in _handle_dbapi_exception\n util.raise_from_cause(sqlalchemy_exception, exc_info)\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/util/compat.py", line 383, in raise_from_cause\n reraise(type(exception), exception, tb=exc_tb, cause=cause)\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/util/compat.py", line 128, in reraise\n raise value.with_traceback(tb)\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 1244, in _execute_context\n cursor, statement, parameters, context\n', ' File "/usr/lib64/python3.6/site-packages/sqlalchemy/engine/default.py", line 552, in do_execute\n cursor.execute(statement, parameters)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/cursors.py", line 163, in execute\n result = self._query(query)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/cursors.py", line 321, in _query\n conn.query(q)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 505, in query\n self._affected_rows = self._read_query_result(unbuffered=unbuffered)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 724, in _read_query_result\n result.read()\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 1069, in read\n first_packet = self.connection._read_packet()\n', ' File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 676, in _read_packet\n packet.raise_for_error()\n', ' File "/usr/lib/python3.6/site-packages/pymysql/protocol.py", line 223, in raise_for_error\n err.raise_mysql_exception(self._data)\n', ' File "/usr/lib/python3.6/site-packages/pymysql/err.py", line 107, in raise_mysql_exception\n raise errorclass(errno, errval)\n', 'sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table \'iredapd.wblist_rdns\' doesn\'t exist")\n[SQL: SELECT rdns\n FROM wblist_rdns\n WHERE rdns IN (\'pohl.int.dittman.net\', \'.pohl.int.dittman.net\', \'.int.dittman.net\', \'.dittman.net\', \'.net\') AND wb=\'W\'\n LIMIT 1]\n(Background on this error at: ]http://sqlalche.me/e/f405)n']