Re: [graylog2] How to configure graylog 2.0.3 to email using system mail agent ?

2016-08-14 Thread Jason Haar
On Fri, Aug 12, 2016 at 9:59 PM, T.J. Yang  wrote:

> Question is  how can I configure graylog-server to use system's mail agent
> ?
> Instead of following configure to drectly insteract with remote mail relay
> server ?
>

I don't think you can. But if you're running postfix, then I'd suspect
you'll find it's actually running on 127.0.0.1 port 25 (that's the default
for RHEL/CentOS). So just configure it to use that and it will act
identically to calling /usr/sbin/sendmail


-- 
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +1 408 481 8171
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/CAFChrgLhkUz5Dm7bA8ReLRhD5O7drmh26cmuV1d59FEp8Fy1sA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[graylog2] How to configure graylog 2.0.3 to email using system mail agent ?

2016-08-12 Thread T.J. Yang
Hi

On my CentOS 7 graylog server, I can use mailx/sendmail to sent out test 
email. the mail agent is configured with postfix as MTA.

Question is  how can I configure graylog-server to use system's mail agent ?
Instead of following configure to drectly insteract with remote mail relay 
server ?

/etc/graylog/server/server.conf

# Email transport
#transport_email_enabled = false
#transport_email_hostname = mail.example.com
#transport_email_port = 587
#transport_email_use_auth = true
#transport_email_use_tls = true
#transport_email_use_ssl = true
#transport_email_auth_username = y...@example.com
#transport_email_auth_password = secret
#transport_email_subject_prefix = [graylog]
#transport_email_from_email = gray...@example.com


-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/15a6e004-826e-48a7-93f2-cd5a78d74b50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.