Correct. Former Ambassador Craig Murray has stated that a disgruntled DNC employee, unhappy with the treatment of Sanders, personally gave him the emails in Washington and he couriered the emails to his friend Assange who then published them.
And as has been pointed out the Podesta emails were taken through a phishing email which was sent to thousands of people (so it wasn't spear phishing) and which he foolishly fell for.