smtppush.py

smtppush.py
Version:0.3
Author:Jeffrey Clement
Status:Stable

A cross-platform clone of Michael Elkins SMTPPUSH program. Useful for relaying e-mail through an SMTP server for clients like mutt that can't do it themselves.

Project Description

Simply put smtppush.py somewhere in your path. And then you can use it to send email through a remote SMTP server.

For usage help just run the program with --help as an argument and you will see:
usage: smtppush.py [ -hivV ] [ -f FROM ] [ -S SMTPSERVER ] [ -p PORT ] RECIPIENT
 -f <addr>    : envelope from address (default can be set in source)
 -S <server>  : SMTP server to use (default: localhost - override in source)
 -p <port>    : SMTP server port (default: 25)
 -v           : display program version
 -V           : verbose mode
 -i           : extract recipients from e-mail, ignore recipients on CL

To configure mutt to use it simple add the following to your .muttrc:

Listing #1
1.   set sendmail="smtppush.py -S localhost -p 8025 -f from@host.com"

Obviously switching localhost and 8025 to be whatever matches your smtp server config and the from address to be your e-mail address.

Thank you to:

Requirements

Links

License

This software is licensed under the BSD license. Please make sure you have read and understood this license before downloading this software!

Copyright (c) 2003, Jeffrey Clement All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Downloads

FileSizeLast Modified
ChangeLog0.27 kbThu Sep 23 06:16:56 2004
smtppush.py-0.1-src.tar.gz2.47 kbThu Sep 23 06:16:56 2004
smtppush.py-0.1-src.tar.gz.asc0.18 kbThu Sep 23 06:16:56 2004
smtppush.py-0.2-src.tar.gz2.92 kbThu Sep 23 06:16:57 2004
smtppush.py-0.2-src.tar.gz.asc0.18 kbThu Sep 23 06:16:56 2004
smtppush.py-0.3-src.tar.gz3.97 kbThu Sep 23 06:16:57 2004
smtppush.py-0.3-src.tar.gz.asc0.18 kbThu Sep 23 06:16:57 2004
smtppush.py-snapshot.tar.gz3.97 kbThu Sep 23 06:16:57 2004