mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-27 18:05:58 +03:00
[GH-ISSUE #1239] dovecot seems to not be able to execute psql #1007
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1007
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TonyBostonTB on GitHub (Sep 20, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1239
Impacted versions
Steps to reproduce
if one selects any folder in thunderbird or changes to another folder, the following error pops up in the logs - dovecot: postlogin: Error: could not find a "psql" to execute-
Current behavior
not sure if something doesnt work but as the error says, there is something not working
Expected behavior
no errors in the log
@tonioo commented on GitHub (Sep 22, 2017):
On which distribution did you install Modoboa? Do you have a more verbose log to show?
@smindorf commented on GitHub (Sep 28, 2017):
Hi,
I've the same message in my maillog.
OS: CentOS 7
Maillog:
dovecot-debug.log:
Regards
Sören
@tonioo commented on GitHub (Oct 3, 2017):
@smindorf Looks like the psql binary is not available on the standard path. Could you check where it is please? Once done, update the /usr/local/bin/postlogin.sh script and use the absolute path to psql.
@smindorf commented on GitHub (Oct 6, 2017):
@tonioo Ok, here ist is:
I've edited the
/usr/local/bin/postlogin.shfile and added the path.I've restarted the dovecot and the log is clean.
Thank you!
Sören
@tonioo commented on GitHub (Oct 6, 2017):
This issue was moved to modoboa/modoboa-installer#159
@jellium commented on GitHub (Mar 2, 2024):
Dear,
I encounter a similar issue with Modoboa and postlogin.sh script for Dovecot.
The error is:
I have set
.pgpassin /srv/modoboa (usermodoboa's home directory), explicitly setPGPASSWORDin the script. The script works when calling it throughsudo -u modoboa -- /usr/local/bin/postlogin.shbut the error arises inmail.logwhen actually login with IMAP.