Level: 6 - Attempt to use mail server as relay (client host rejected).

166 views
Skip to first unread message

Hak Bun

unread,
Nov 2, 2015, 4:37:52 AM11/2/15
to ossec...@googlegroups.com
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 smtp
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 ossec.myossec.com ESMTP Postfix
ehlo localhost
250-ossec.myossec.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from: hak
250 2.1.0 Ok
rcpt to: hak...@yahoo.com
554 5.7.1 <hak...@yahoo.com>: Recipient address rejected: Access denied
rcpt to: long
554 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
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_...@yahoo.com>: Recipient address rejected: Access denied; from=<h...@myossec.local> to=<hak_...@yahoo.com> proto=SMTP helo=<notify.ossec.net>


"

Please help if you know....
Thanks
Hak

Eero Volotinen

unread,
Nov 2, 2015, 5:18:05 AM11/2/15
to ossec-list

Your postfix is incorrectly configured.this is not related with ossec in anyway.

Eero

--

---
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+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

dan (ddp)

unread,
Nov 2, 2015, 7:45:49 AM11/2/15
to ossec...@googlegroups.com
Postfix is denying the email. Perhaps it requires authentication
(which OSSEC does not support)?

> Please help if you know....
> Thanks
> Hak
>
Reply all
Reply to author
Forward
0 new messages