ssmtp

how to send mail in python ssmtp vs smtplib

I need to send email in delbian linux. How to send? I run my server on 256 MB linux box and I heard postfix and sendmail is overkill. Recently I came across the ssmtp, that seems to be an executable, needs to be executed as a process and called through python using os modules. alternatively, python already provides smtplib which is wor...

rails action mailer problem...

My application mailer works fine in development on my own machine but on the server it doesn't work the way I want. I know the server is perfectly capable of relaying the emails requested because I can get it to work directly from the command line and if I put: ActionMailer::Base.delivery_method = :sendmail directly in my environment...

mail: failed to open stream: Permission denied ?!?!?!

I get this warning sending mails with php Warning: mail(1) [function.mail]: failed to open stream: Permission denied in /home/... using ssmtp and gmail as smtp PHP 5.3.1 nothing in the logs (no errors) the mail gets to destination the permissions of the files are rwxrxrx Permission denied to what? Even calling something as simple as...

Installing sSMTP from SSH

I'm on a Web Hosting Buzz reseller account. They have some very stringent mail sending rules, including blocking of authenticated SMTP socket mail sending using PEAR. It was suggested in WHB forum that this was possible with sSMTP. I've since gotten SSH access and googled how to install sSMTP from SSH: rpm -Uvh http://download.fedora.re...

Setting up sendgrid for rails..returning Authorization error

The emails now send from my local, but do not send from my box. I am returned this error. Anyone know what this might be? Net::SMTPAuthenticationError (535 5.7.8 Error: authentication failed: authentication failure ): My environments/production.rb ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.smtp_settings = { :addr...

Does a rails production.log store indefinitely?

If it doesn't, what's the half-life of it? It it does, where can find that information? On my server I found a few logs for each of my releases. But they only date back a few days. Specifically, I am looking for emails that were sent while my mail server was down two weeks ago. ...