Your postfix is incorrectly configured.this is not related with ossec in anyway.
Eero 2.11.2015 11.37 ap. "Hak Bun" <hak.00...@gmail.com> kirjoitti: > Dear All, > > I have just installed Postfix, Dovecot, and Squirrelmail. > When I test sending out through the web mail, my yahoo can receive the > email. > > But I get an error "Recipient address rejected: Access denied" when telnet > smtp to outside or local mail: > > > > > > > > > > > > > > > > > > > > > > > > *telnet localhost smtpTrying 127.0.0.1...Connected to localhost.Escape > character is '^]'.220 ossec.myossec.com <http://ossec.myossec.com> ESMTP > Postfixehlo localhost250-ossec.myossec.com > <http://250-ossec.myossec.com>250-PIPELINING250-SIZE > 10240000250-VRFY250-ETRN250-STARTTLS250-AUTH LOGIN PLAIN250-AUTH=LOGIN > PLAIN250-ENHANCEDSTATUSCODES250-8BITMIME250 DSNmail from: hak250 2.1.0 > Okrcpt to: hak_...@yahoo.com <hak_...@yahoo.com>554 5.7.1 > <hak_...@yahoo.com <hak_...@yahoo.com>>: Recipient address rejected: Access > deniedrcpt to: long554 5.7.1 <long>: Recipient address rejected: Access > denied* > > > And also get an error with configuration in OSSEC > > > Error > " > *Level: * > *6 - Attempt to use mail server as relay (client host rejected).* > *Rule Id: * > > *3301 <http://www.ossec.net/doc/search.html?q=rule-id-3301> * > *Location: * > > *localhost->/var/log/maillog * > *Src IP: * > > *192.168.56.101 Nov 2 16:05:06 localhost postfix/smtpd[7815]: NOQUEUE: > reject: RCPT from myossec.local[192.168.56.101]: 554 5.7.1 > <hak_00...@yahoo.com <hak_00...@yahoo.com>>: Recipient address rejected: > Access denied; from=<hak@myossec.local> to=<hak_00...@yahoo.com > <hak_00...@yahoo.com>> proto=SMTP helo=<notify.ossec.net > <http://notify.ossec.net>>* > > " > > Please help if you know.... > Thanks > Hak > > -- > > --- > You received this message because you are subscribed to the Google Groups > "ossec-list" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to ossec-list+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.