osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[users@httpd] apache 2.4 and automx configuration


Hello,

I'm trying to troubleshoot an automx error that it's giving me a 403
message, I'm using FreeBSD 11.1, and apache 2.4, and of course automx.
It's looking not like an automx-specific issue, but an apache-specific
issue. Can anyone spot any obvious errors with the below apache
configuration?

Thanks.
Dave.

#cat provisioning-access.log
 xxx.xxx.xxx.xxx - - [30/Mar/2018:01:37:34 -0400] "GET
 /mail/config-v1.1.xml?emailaddress=user@xxxxxxxxxxx HTTP/1.1" 403 229
 "-" "Wget/1.19.4 (freebsd11.1)"
 xxx.xxx.xxx.xxx - - [30/Mar/2018:01:37:35 -0400] "POST
 /autodiscover/autodiscover.xml HTTP/1.1" 403 238 "-" "Wget/1.19.4
 (freebsd11.1)"
 xxx.xxx.xxx.xxx - - [30/Mar/2018:01:37:35 -0400] "POST
 /autodiscover/autodiscover.xml HTTP/1.1" 403 238 "-" "Wget/1.19.4
 (freebsd11.1)"
 xxx.xxx.xxx.xxx - - [30/Mar/2018:01:37:35 -0400] "POST /mobileconfig
 HTTP/1.1" 403 221 "-" "Wget/1.19.4 (freebsd11.1)"

 #cat provisioning-error.log
 [Fri Mar 30 01:37:34.727465 2018] [authz_core:error] [pid 97562:tid
 34561697024] [client xxx.xxx.xxx.xxx:52643] AH01630: client denied by
 server configuration: /usr/local/share/automx/mail/config-v1.1.xml
 [Fri Mar 30 01:37:35.396497 2018] [authz_core:error] [pid 97562:tid
 34561697024] [client xxx.xxx.xxx.xxx:53815] AH01630: client denied by
 server configuration: /usr/local/share/automx/autodiscover
 [Fri Mar 30 01:37:35.427183 2018] [authz_core:error] [pid 97562:tid
 34561697024] [client xxx.xxx.xxx.xxx:53097] AH01630: client denied by
 server configuration: /usr/local/share/automx/autodiscover
 [Fri Mar 30 01:37:35.464205 2018] [authz_core:error] [pid 97562:tid
 34561697024] [client xxx.xxx.xxx.xxx:55011] AH01630: client denied by
 server configuration: /usr/local/share/automx/mobileconfig

 #cat automx.conf
 [automx]
 provider = example.com
 domains = *
 debug = yes
 # Create log directory mode 750, owner-group www
 logfile = /var/log/automx/automx.log
 # Protect against DoS
 memcache = 127.0.0.1:11211
 memcache_ttl = 600
 client_error_limit = 20
 rate_limit_exception_networks = 127.0.0.0/8

 # The DEFAULT section is always merged into each other section. Each section
 # can overwrite settings done here.
 [DEFAULT]
 account_type = email
 account_name = example.com
 account_name_short = example.com
 # If a domain is listed in the automx section, it may have its own section. If
 # none is found here, the global section is used.
 [global]
 backend = sql
 action = settings
 # database connection
 host = mysql://DatabaseUser:DatabasePassword@localhost/DataBase
 # adapt the query
 query = SELECT name, username, domain FROM accounts WHERE username = '%s';
 result_attrs = name, username, domain
 smtp = yes
 smtp_server = mail.example.com
 smtp_port = 587
 smtp_encryption = starttls
 smtp_auth = plaintext
 smtp_auth_identity = ${mail_addr}
 smtp_refresh_ttl = 6
 smtp_default = yes
 imap = yes
 imap_server = mail.example.com
 imap_port = 143
 imap_encryption = starttls
 imap_auth = plaintext
 imap_auth_identity = ${mail_addr}
 imap_refresh_ttl = 6
 pop = no

 #cd /usr/local/share/automx
 #ls
 automx_wsgi.py*

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx