
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
ksmtp - Simple Python SMTP relay replacement for sendmail with SSL authentication
Useful for relaying all email through an account like Gmail, without the messy configurations of Postfix / Sendmail.
GitHub - https://github.com/oeey/ksmtp
PyPI - https://pypi.python.org/pypi/ksmtp
pip install ksmtp
pip install ksmtp
edit /etc/ksmtp.conf with your login credentials
(optional) create symlink to ksmtp to replace sendmail
```
ln -s `which ksmtp` /usr/sbin/sendmail
```
4. send test mail
```
ksmtp test@test.com
ksmtp test@test.com -s "some subject"
```
Sample Python Code:
import ksmtp
ksmtp.send(to="test@test.com",
subject="subject",
body="some message")
Warning: make sure to backup this configuraiton file! Python's pip will overwrite it on updates to this package.
/etc/ksmtp.conf:
[ksmtp]
## from email address
from = username@gmail.com
## user
user = username@gmail.com
## password
pass = password
## server
server = smtp.gmail.com
## port
port = 465
#port = 587
## secure
secure = ssl
#secure = tls
## default to email address (if none specified)
#to = user@domain.com
## default catch-all (always CC)
#catch-all = user@domain.com
## default subject
#subject = default test subject
Gmail: If you get an "smtplib.SMTPAuthenticationError" and your credentials are correct, you may need to "allow less secure apps access" to your account. See https://support.google.com/accounts/answer/6010255
FAQs
Simple Python SMTP relay replacement for sendmail with SSL authentication
We found that ksmtp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.