[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC: Making mail-transport-agent Priority: optional



On Sun, 16 Oct 2011, Andrea Bolognani wrote:
> On Sat, Oct 15, 2011 at 03:50:45PM -0700, Don Armstrong wrote:
> > 1: I should note that I personally use a custom written nullmailer
> > plugin which uses ssh to connect to my central mail host and then
> > run /usr/lib/sendmail there... granted, that's probably a little
> > bit crazy, but it works great for my laptops which are often
> > operating on networks which try do all sorts of crazy things to
> > outgoing mail. Some people on this list are probably doing other
> > similarly crazy things.
> 
> Is the code for this plugin available anywhere?

http://svn.donarmstrong.com/don/trunk/bin/sshsendmail

Stick it in /usr/lib/nullmailer/sshsendmail, then add something like:

foohost.com sshsendmail --identity=/var/mail/.ssh/id_rsa --username remotemail --sendmail-options='-baruser@foohost.com'

to /etc/nullmailer/remotes.

Unfortunately, it's not terribly well documented, because I wrote it
specifically for my craziness, and not for general consumption. [You
can easily see the operation of it and hack it for your purposes,
though.]


Don Armstrong

-- 
I will not make any deals with you. I've resigned. I will not be
pushed, filed, stamped, indexed, briefed, debriefed or numbered. My
life is my own. I resign.
 -- Patrick McGoohan as Number 6 in "The Prisoner"

http://www.donarmstrong.com              http://rzlab.ucr.edu


Reply to: