OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: /usr/sbin/sendmail : non standard port is it possible ??

From: TOUZEAU DAVID (david.touzeaufr.kaspersky.com)
Date: Fri Oct 26 2007 - 08:22:08 CDT


Many thanks

I found a program that answer my needs

http://www.acme.com/software/mini_sendmail/

./mini_sendmail -fsendertld.com -s127.0.0.1 -p29300 -v usertld.com
</usr/share/queue/0/2007102609363192c8a9584a94e1a765e2c760806dd55912.queue

Wietse Venema a écrit :
> Martin Schmitt (Schmitt Systems):
>
>> TOUZEAU DAVID schrieb:
>>
>>
>>> I think that
>>> /usr/sbin/sendmail -ibsv -f userdomain.tld
>>> </usr/share/folder/queue/0/2007102609363192c8a9584a94e1a765e2c760806dd55912.queue
>>>
>>> could be usefull but i don't know how to specify a non standard smtp
>>> port (like 127.0.0.1:10025) how it is possible ??
>>>
>> man sendmail:
>> Postfix sendmail(1) relies on the postdrop(1) command to create a queue
>> file in the maildrop directory.
>>
>> No TCP there. But ssmtp might do what you want:
>>
>
> Postfix "sendmail -bs" accepts mail via SMTP, as documented.
>
> TCP is not SMTP. Postfix can do one without the other.
>
> Wietse
>
>
>

--

    * 01.41.39.04.42
    * 06.20.56.74.33
    * ICQ:160018849
    * Skype:dtouzeau

    * Site technique destiné aux entreprises:
      http://entreprises.kaspersky.fr
    * Inscrivez-vous dès maintenant dans l'espace partenaires !
      <http://partners.kaspersky.fr>

(Retrouvez sur ces sites des faqs, tutoriaux, Forums et liens de
téléchargement de la gamme Buiness Optimal)

 

* *