Re: MUA / SMTP client / script to send email via a mail relay server

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

 



Need to clarify on Daniel's script :
Understand Daniel has tested it but I got an issue with RCPT TO:


I login directly to the Postfix server & test it:
# telnet localhost 25
220 smtp.yy.zz ESMTP
helo me
250 servernm.yy.zz
MAIL FROM: <fromsms1@xxxxx>
250 Ok
RCPT TO: <mail@xxxxx>
550 <mail@xxxxx>: Recipient address rejected: User unknown in relay
recipient table
RCPT TO: <postfix@xxxxx>
550 <postfix@xxxxx>: Recipient address rejected: User unknown in relay
recipient table
DATA
554 Error: no valid recipients

How do I obtain a valid RCPT TO: address?


On Tue, Nov 29, 2011 at 12:24 AM, Daniel Carrillo
<daniel.carrillo@xxxxxxxxx> wrote:
>
> {
>    echo 'helo me'
>    echo 'MAIL FROM:<you@xxxxxxxxxxxxxx>'
>    echo 'RCPT TO: <someone@xxxxxxxxxxxxxxx>'
>    echo 'DATA'
>    echo -e 'To:someone@xxxxxxxxxxxxxxx\nMIME-Version: 1.0
> (mime-construct 1.9)\nContent-Type:
> application/octet-stream\nContent-Transfer-Encoding: base64\n\n'
>    cat myattachment.bin | openssl base64
>    echo '.'
> } | nc mail.20minutos.es 25
>

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux