OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
a client, which delivers mail remotely

postfixayni.com
Date: Sat Nov 05 2005 - 06:20:59 CST


Hi listers,
you would probably consider this message not being posted in the correct
discussion group.

my question: is there a shell callable program for linux, which submits
mail remotely (as opposed to locally, which is the standard for
sendmail, ...). this program may also support *RFC* 2476
<http://www.faqs.org/rfcs/rfc2476.html> on port 587, but this is not a
condition sine-qua-non.
Under remote submission I understand, that in the message trace the
first host appearing is the remote one (and not the local one).

the following shell snippet does the job:

cat /tmp/mail.txt |ssh delivery-host.mydomain.tld "sendmail -t"

But, isn't there a shell callable program which simply does the job
(like alle mail clients: mozilla, thunderbird, ..., which, however, are
not shell callable for the submission function only).

the postfix smtp client doesn't do the job either, because it wants to
be called by the postfix-master.

any hint is very much appreciated, thanks in advance.

suomi