Pop3 connector cant check the connection to the mailserver

NethServer Version: 7.7.1908
Module: pop3connector

Hello,

i test the nethserver as a replacement for my sbs2011. I want to download external mail accounts with the pop3connector. When i entered the credentials the check fails. When i entered the local mailaccount it works, and when i edit the cfg file in /var/lib/getmail manual i can download the mails out of the mailbox. I want to download mails from uberspace.de and 1und1.de. I have the suspicion, that the e-mail address as a username is the problem, because it fails with the @ in the username very fast. Without the @ it trys a little bit longer and fails. In the maillog is nothing to see from the check. With google and the community search i cant find any topics with the simmiliar problem. Any Ideas? Maybe in wich logfile i can finde the information from the check?

Thanks

strauch

Edit: Ok i found the following in the logs:

15:45
pam_unix(sudo:session): session closed for user root sudo
15:45
pam_unix(sudo:session): session opened for user root by root(uid=0) sudo
15:45
root : TTY=unknown ; PWD=/run/user/0 ; USER=root ; COMMAND=/usr/libexec/nethserver/api/nethserver-mail/connectors/read sudo

in the last log entry:

root : TTY=unknown ; PWD=/run/user/0 ; USER=root ; COMMAND=/usr/libexec/nethserver/api/nethserver-mail/connectors/read

PRIORITY 5
SYSLOG_FACILITY 10
SYSLOG_IDENTIFIER sudo
_AUDIT_LOGINUID 0
_AUDIT_SESSION 1
_BOOT_ID 85717702d42145c0a087296cdb023598
_CAP_EFFECTIVE 1fffffffff
_CMDLINE /usr/bin/sudo /usr/libexec/nethserver/api/nethserver-mail/connectors/read
_COMM sudo
_EXE /usr/bin/sudo
_GID 0
_HOSTNAME server.domain.local
_MACHINE_ID f0f26e73515e4f0987d57ebb7ed47477
_PID 28408
_SOURCE_REALTIME_TIMESTAMP 1571319917478144
_SYSTEMD_CGROUP /user.slice/user-0.slice/session-1.scope
_SYSTEMD_OWNER_UID 0
_SYSTEMD_SESSION 1
_SYSTEMD_SLICE user-0.slice
_SYSTEMD_UNIT session-1.scope
_TRANSPORT syslog
_UID 0
__CURSOR s=867a566e5ce9414c92e7911d2add0ec5;i=52e8;b=85717702d42145c0a087296cdb023598;m=32f8cfe43;t=5951b6d828578;x=ca8384bb912962f1
__MONOTONIC_TIMESTAMP 13682671171
__REALTIME_TIMESTAMP 1571319917479288

Hello,

is it possible to skip the validation or to manipulate the database where the config will be stored?
Thanks

strauch

Hi,

welcome to Nethserver Community.

The config is stored in /var/lib/getmail/*, there’s no config database for nethserver-getmail.

http://docs.nethserver.org/projects/nethserver-devel/en/latest/nethserver-mail.html#nethserver-mail-getmail

You may try if it works in the old server manager.

EDIT:

I can confirm the issue. There’s already an open bug, see Possible Bug with nethserver-cockpit Connectors

1 Like

Hi,

thank you very much. In the old server manager it works. In the new server manager credentials without an @ in the username works, too. But only hosteurope has something like this and my lokal other mail server i test for an sbs replacement.

With the database i mean the server manager saves the settings in a database or something. because when i edit the getmail config files manually in the server manager the settings didnt’ change.

Thanks again

strauch

You’re welcome.

The connectors are saved in the getmail database.

Show entries:

db getmail show

Change something:

db getmail setprop user@example.com Server mail.example.com

Apply changes:

signal-event nethserver-mail-getmail-update

1 Like

Thank you for reporting, see Possible Bug with nethserver-cockpit Connectors for updates on the issue.

1 Like