doveadm proxy list has strange entries

Tobias Florek dovecot at ibotty.net
Fri Dec 30 21:40:02 UTC 2022


Hi!

I am using dovecot from the latest docker image: Version 2:2.3.20-3+debian11

When getting the proxy list I get the following entries.

# doveadm -f flow proxy list
username=user at example.com proto=imap src ip=10.254.0.13 dest 
ip=172.23.6.194 port=143
username=username proto=service src ip=src-ip dest ip=dest-ip port=dest-port
username=user2 at example.com proto=imap src ip=10.254.0.13 dest 
ip=172.23.6.194 port=143
username=username proto=service src ip=src-ip dest ip=dest-ip port=dest-port
username=user3 at example.com proto=imap src ip=10.254.0.13 dest 
ip=172.23.6.194 port=143
username=username proto=service src ip=src-ip dest ip=dest-ip port=dest-port
...

These correspond to the http API's response:

# curl -H "Authorization: X-Dovecot-API $(echo -n MY_API_KEY|base64 
-w0)" http://localhost:8080/doveadm/v1 -H "Content-Type: 
application/json" -d '[["proxyList",{},"tag1"]]' | jq

[
   [
     "doveadmResponse",
     [
       {
         "username": "user at example.com",
         "service": "imap",
         "src-ip": "10.254.0.13",
         "dest-ip": "172.23.6.194",
         "dest-port": "143"
       },
       {
         "username": "username",
         "service": "service",
         "src-ip": "src-ip",
         "dest-ip": "dest-ip",
         "dest-port": "dest-port"
       },
...
     ],
     "tag1"
   ]
]


This does not look right.

Cheers,
  Tobias Florek


More information about the dovecot mailing list