netstat, ps, lsof, kill........

you need to find out the PID of the smtpd process

honestly it's not worth because if what you describes
you have more imporant problems to solve and restart
postfix even while incoming mail flows is a no-brainer
because it would be re-tried by the sender

Am 24.08.2014 um 18:02 schrieb Edwin Marqe:
> Yes, I know that restarting everything ends up, which is what we
> finally did, but I was looking for some kind of command or at least a
> way of ending a specific user's session without restarting Postfix, as
> this domain handles a really big amount of traffic and seems overkill
> restart the whole Postfix for just one user.
> 
> 2014-08-24 16:56 GMT+01:00 li...@rhsoft.net <li...@rhsoft.net>:
>> Am 24.08.2014 um 17:52 schrieb Edwin Marqe:
>>> Recently, we've had an issue with a stolen password of one of our
>>> users, resulting in a few junk mails sent out. Fortunately, we could
>>> change the user's password reasonably fast and it didn't do any bigger
>>> harm. However, after changing the password, the user was still able to
>>> continue sending junk mail for minimally 20 seconds, after which we
>>> restarted Postfix.
>>>
>>> I assume this happens because the user took advantage of the opened
>>> session which won't require re-authenticate and continued sending
>>> those mails.
>>>
>>> Is there a Postfix specific command that would end/kill a user's
>>> session? If not, any workaround that would disconnect that user? I've
>>> been trying to find something regarding this in the documentation but
>>> found nothing
>>
>> if you only reload -> as expected, it is intended to reload
>> configuration but not kill running operations
>>
>> if you really restart it is impossible that any session
>> survives - how should it - the processes are terminated
>> and so all connections

Reply via email to