View Issue Details

IDProjectCategoryView StatusLast Update
0005680SOGosogo-toolpublic2023-01-23 10:29
Reporterbero Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformServerOSLinuxOS VersionOpenMandriva 5.0
Product Version5.8.0 
Summary0005680: sogo-tool update-autoreply doesn't work
Description

sogo-tool update-autoreply -p /path/to/sieve.creds

fails, claiming the file isn't in username:password format even when it actually is.

The problem is the code block starting with "if(max > 0)" in https://github.com/Alinto/sogo/blob/master/Tools/SOGoToolUpdateAutoReply.m#L359 -- at that time, max is 1 on a valid invocation (the 1 argument it is generated from being the filename).

Steps To Reproduce

echo 'username:password' >/path/to/sieve.creds
sogo-tool update-autoreply -p /path/to/sieve.creds

TagsNo tags attached.

Activities

Christian Mack

Christian Mack

2023-01-23 10:29

developer   ~0016578

Your problem is, that you have a newline after your passwort.
Just use

echo -n 'username:password' >/path/to/sieve.creds

Issue History

Date Modified Username Field Change
2023-01-21 23:12 bero New Issue
2023-01-23 10:29 Christian Mack Note Added: 0016578