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

Cassius V. de Magalhaes cviniciusm at gmail.com
Fri Dec 2 02:12:40 UTC 2011


2011/11/29 sunhux G <sunhux at gmail.com>

> If I login directly to that Postfix server using that Unix id mail at yy.zz ,
> I was able to use mutt to send out an email (& the email arrives at
> the destination address which is my corporate email address).
>
> I've tried using root login to that Postfix server & it could send mails
> successfully using mutt as well but when root is used for 'RCPT TO: ',
> it was rejected too.
>
> What can I do next?
>
> On Tue, Nov 29, 2011 at 4:53 PM, Daniel Carrillo
> <daniel.carrillo at gmail.com> wrote:
> > 2011/11/29 sunhux G <sunhux at gmail.com>:
> >> 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 at yy.zz>
> >> 250 Ok
> >> RCPT TO: <mail at yy.zz>
> >> 550 <mail at yy.zz>: Recipient address rejected: User unknown in relay
> >> recipient table
> >
> > MTA is rejecting that user.
>
>
Hello,

Two solutions:
1) The relay should permit outgoing e-mail from internal LAN (IP's)
(without authentication), but subject to spam by users;
2) If using LDAP or Database on the SMTP/IMAP/POP3 server for authenticate
users, then use this same LDAP or Database on the relay.

Regards.



More information about the redhat-list mailing list