It's empy. There are *no entries at maillog*.
However, if I send a mail with sendmail (*echo "Subject: sendmail test" | sendmail -v [email protected]*xx), at /var/log/maillog: - May 29 12:04:30 X postfix/pickup[8183]: 638F727EA4: uid=0 from=<root> May 29 12:04:30 X postfix/cleanup[8218]: 638F727EA4: message-id=<20180529100430.638F727EA4@X> May 29 12:04:30 X postfix/qmgr[8184]: 638F727EA4: from=<root@X>, size=314, nrcpt=1 (queue active) May 29 12:04:33 X postfix/smtp[8220]: 638F727EA4: to=<X@X>, relay=smtp-mail.outlook.com[40.100.175.146]:587, delay=2.7, delays=0.02/0/2.1/0.52, dsn=2.6.0, status=sent (250 2.6.0 <20180529100430.638F727EA4@X> [InternalId=5665061863960, Hostname=DB7P193MB0457.EURP193.PROD.OUTLOOK.COM] 3116 bytes in 0.347, 8.762 KB/sec Queued mail for delivery) May 29 12:04:33 X postfix/cleanup[8218]: 1EA9427EB9: message-id=<20180529100433.1EA9427EB9@X> May 29 12:04:33 X postfix/bounce[8221]: 638F727EA4: sender delivery status notification: 1EA9427EB9 May 29 12:04:33 X postfix/qmgr[8184]: 638F727EA4: removed What's the problem with ossec? El martes, 29 de mayo de 2018, 11:22:16 (UTC+2), dan (ddpbsd) escribió: > > > > On Tue, May 29, 2018, 5:06 AM <[email protected] <javascript:>> wrote: > >> Hi, >> >> I am receiving the error: >> >> >> >> *2018/05/28 17:29:54 ossec-maild(1223): ERROR: Error Sending email to >> 127.0.0.1 (smtp server)2018/05/28 18:00:01 ossec-maild(1223): ERROR: Error >> Sending email to 127.0.0.1 (smtp server)2018/05/28 18:22:07 >> ossec-maild(1223): ERROR: Error Sending email to 127.0.0.1 (smtp server)* >> >> Postfix is already set up and it's working on fine. (*postfix's log is >> empty*) >> >> I have changed smtp_relay in my global config to localhost and 127.0.0.1 >> but neither worked. >> >> I have changed <email_from> in my ossec config to localhost and 127.0.0.1 >> but neither worked. >> > > > Check your postfix logs. > > >> Thanks in advance. >> >> -- >> >> --- >> 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 [email protected] <javascript:>. >> 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
