|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: a client, which delivers mail remotely
From: mouss (usebsd
free.fr)
Date: Sat Nov 05 2005 - 07:08:05 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
postfix
ayni.com a écrit :
> 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
>
I have a quick and dirty perl script that does that. I only use it for
testing (it prints the "session").
If you want it, contact me offlist.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]