SMTP-source

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

SMTP-source

Soydepr

smtp-source -s 20 -l 5120 -m 100 -M localhost:25 -m 100 -f pi@foo -t soydepr@foo
smtp-source: fatal: usage: smtp-source -cdLNov -s sess -l msglen -m msgs -C count -M myhostname -f from -t to -r rcptcount -R delay -w delay host[:port]

Where foo is my domain getting fatal usage and bad host name

Someone help with this command


Reply | Threaded
Open this post in threaded view
|

Re: SMTP-source

Viktor Dukhovni
On Thu, Mar 07, 2019 at 05:24:38PM -0500, Latin Bishop wrote:
>
> $ smtp-source -s 20 -l 5120 -m 100 -M localhost:25 -m 100 -f pi@foo -t soydepr@foo
> smtp-source: fatal: usage: smtp-source -cdLNov -s sess -l msglen -m msgs -C count
>   -M myhostname -f from -t to -r rcptcount -R delay -w delay host[:port]
>
> Someone help with this command

You did not provide the required "host[:port]" (host with optional
":port" suffix) argument.  Just the options are not enough.

--
        VIktor.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: SMTP-source

Soydepr
I did localhost 25


> On Mar 7, 2019, at 5:37 PM, Viktor Dukhovni <[hidden email]> wrote:
>
>> On Thu, Mar 07, 2019 at 05:24:38PM -0500, Latin Bishop wrote:
>>
>> $ smtp-source -s 20 -l 5120 -m 100 -M localhost:25 -m 100 -f pi@foo -t soydepr@foo
>> smtp-source: fatal: usage: smtp-source -cdLNov -s sess -l msglen -m msgs -C count
>>  -M myhostname -f from -t to -r rcptcount -R delay -w delay host[:port]
>>
>> Someone help with this command
>
> You did not provide the required "host[:port]" (host with optional
> ":port" suffix) argument.  Just the options are not enough.
>
> --
>    VIktor.
>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: SMTP-source

Soydepr
In reply to this post by Viktor Dukhovni
Ok this helped

Thanks
http://postfix.1071664.n5.nabble.com/smtp-source-smtp-sink-howto-td36350.html


On Mar 7, 2019, at 5:37 PM, Viktor Dukhovni <[hidden email]> wrote:

On Thu, Mar 07, 2019 at 05:24:38PM -0500, Latin Bishop wrote:

$ smtp-source -s 20 -l 5120 -m 100 -M localhost:25 -m 100 -f pi@foo -t soydepr@foo
smtp-source: fatal: usage: smtp-source -cdLNov -s sess -l msglen -m msgs -C count
 -M myhostname -f from -t to -r rcptcount -R delay -w delay host[:port]

Someone help with this command

You did not provide the required "host[:port]" (host with optional
":port" suffix) argument.  Just the options are not enough.

--
   VIktor.


Reply | Threaded
Open this post in threaded view
|

Re: SMTP-source

Wietse Venema
In reply to this post by Soydepr
Latin Bishop:
>
> smtp-source -s 20 -l 5120 -m 100 -M localhost:25 -m 100 -f pi@foo -t soydepr@foo

As documented in the usage message, localhost:25 goes AFTER the options.

        Wietse
Reply | Threaded
Open this post in threaded view
|

Re: SMTP-source

Bill Cole-3
In reply to this post by Soydepr
On 7 Mar 2019, at 17:43, Latin Bishop wrote:

> I did localhost 25

No, the way you wrote it, that's an argument to the -M option: the EHLO
name.

See http://www.postfix.org/smtp-source.1.html

>
>> On Mar 7, 2019, at 5:37 PM, Viktor Dukhovni
>> <[hidden email]> wrote:
>>
>>> On Thu, Mar 07, 2019 at 05:24:38PM -0500, Latin Bishop wrote:
>>>
>>> $ smtp-source -s 20 -l 5120 -m 100 -M localhost:25 -m 100 -f pi@foo
>>> -t soydepr@foo
>>> smtp-source: fatal: usage: smtp-source -cdLNov -s sess -l msglen -m
>>> msgs -C count
>>>  -M myhostname -f from -t to -r rcptcount -R delay -w delay
>>> host[:port]
>>>
>>> Someone help with this command
>>
>> You did not provide the required "host[:port]" (host with optional
>> ":port" suffix) argument.  Just the options are not enough.
>>
>> --
>>    VIktor.
>>>
>>>


--
Bill Cole
[hidden email] or [hidden email]
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Available For Hire: https://linkedin.com/in/billcole