[Dovecot] Doveadm director flush/remove

Brandon Davidson brandond at uoregon.edu
Fri Jul 16 11:46:10 EEST 2010


Timo,

On 7/15/10 4:12 PM, "Timo Sirainen" <tss at iki.fi> wrote:
>
>> Maybe there could be a parameter to get the user list from a file (one
>> username per line) instead of userdb.
> 
> Added -f parameter for this.

Awesome! I dumped a userlist (one username per line) which it seems to read
through quite quickly, unfortunately I get...

[root at cc-popmap7 ~]# doveadm director map -f userlist.txt
Segmentation fault

(lots of pread/mmap snipped)
pread(9, "user0\nuser1\nuser2\nuser3\nuser4"..., 8189, 393042) = 8189
mmap(NULL, 2101248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2acbc3aae000
pread(9, "user5\nuser6\nuser7\nuser8\nuser9"..., 8188, 401231) = 36
pread(9, "", 8152, 401267)              = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---


#1  0x00002b55977ec1d0 in auth_connection_close () from
/usr/lib64/dovecot/libdovecot.so.0
#2  0x00002b55977ec258 in auth_master_deinit () from
/usr/lib64/dovecot/libdovecot.so.0
#3  0x000000000040a059 in user_file_get_user_list ()
#4  0x000000000040a22f in cmd_director_map ()
#5  0x000000000040897d in doveadm_try_run_multi_word ()
#6  0x0000000000408aab in doveadm_try_run ()
#7  0x0000000000408e0f in main ()
 
-Brad



More information about the dovecot mailing list