Lines 176-187
Link Here
|
176 |
|
176 |
|
177 |
dkim_start_postcmd () |
177 |
dkim_start_postcmd () |
178 |
{ |
178 |
{ |
179 |
# postcmd is executed too fast and socket is not created before checking... |
179 |
if [ "x${milteropendkim_socket}" != "x" ]; then |
180 |
sleep 1 |
180 |
# postcmd is executed too fast and socket is not created before checking... |
181 |
if [ -S ${milteropendkim_socket##local:} ] ; then |
181 |
sleep 1 |
182 |
chmod ${_piddir_perms} ${milteropendkim_socket##local:} |
182 |
if [ -S ${milteropendkim_socket##local:} ] ; then |
183 |
elif [ -S ${milteropendkim_socket##unix:} ] ; then |
183 |
chmod ${_piddir_perms} ${milteropendkim_socket##local:} |
184 |
chmod ${_piddir_perms} ${milteropendkim_socket##unix:} |
184 |
elif [ -S ${milteropendkim_socket##unix:} ] ; then |
|
|
185 |
chmod ${_piddir_perms} ${milteropendkim_socket##unix:} |
186 |
fi |
185 |
fi |
187 |
fi |
186 |
} |
188 |
} |
187 |
|
189 |
|