[courier-users] esmtproutes MX lookup

2016-04-30 Thread SZÉPE Viktor
Hello!

My courier v0.73.1 installation has this in esmtproutes

: mail.radiomedinstruments.hu,587 /SECURITY=REQUIRED

and the corresponding esmtpauthclient line.

Somehow Courier looks up the MX record of mail.radiomedinstruments.hu  
and connects to the MX, not the A record.
I's like to use mail.radiomedinstruments.hu as a smarthost.
Please advise.
Thank you!

# tcpdump port 53

23:35:08.362795 IP (tos 0x0, ttl 64, id 20667, offset 0, flags [DF],  
proto UDP (17), length 73)
 192.168.13.30.44016 > 8.8.8.8.53: 16469+ MX?  
mail.radiomedinstruments.hu. (45)
E..IP.@.@..5@u...mail.radiomedinstruments.hu.

23:35:08.368868 IP (tos 0x0, ttl 56, id 30635, offset 0, flags [none],  
proto UDP (17), length 103)
 8.8.8.8.53 > 192.168.13.30.44016: 16469 1/0/0  
mail.radiomedinstruments.hu. MX mail.szepe.net. 10 (75)
E..gw...8.-..5...S.@@U...mail.radiomedinstruments.hu.P
.mail.szepe.net.

23:35:08.369061 IP (tos 0x0, ttl 64, id 20668, offset 0, flags [DF],  
proto UDP (17), length 60)
 192.168.13.30.59822 > 8.8.8.8.53: 6243+ A? mail.szepe.net. (32)
E.. 192.168.13.30.59822: 6243 1/0/0 mail.szepe.net. A  
95.140.33.67 (48)
E..L85...8i..c...mail.szepe.net._.!C



SZÉPE Viktor
-- 
+36-20-4242498  s...@szepe.net  skype: szepe.viktor
Budapest, III. kerület





--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] I need working nginx configuration for webadmin

2016-04-30 Thread Alexei Batyr'
Rosario writes:

> I can run courierwebadmin to see the front page, but not to see any
> other like courierwebadmin/00something
>
> I did search Google and my other CGI script works or multiple scripts
> work, but they are different then webadmin script.
>
I've realized that most reliable way to execute CGI scripts in nginx  
environment is proxying to apache with following minimal config:
-
LoadModule mpm_worker_module libexec/apache24/mod_mpm_worker.so
LoadModule alias_module libexec/apache24/mod_alias.so
LoadModule authz_core_module libexec/apache24/mod_authz_core.so
LoadModule cgi_module libexec/apache24/mod_cgi.so
LoadModule dir_module libexec/apache24/mod_dir.so
LoadModule remoteip_module libexec/apache24/mod_remoteip.so
LoadModule unixd_module libexec/apache24/mod_unixd.so

ServerRoot "/usr/local"
Listen 127.0.0.1:8000
User nobody
Group nobody
TimeOut 300
ServerAdmin ...
DocumentRoot "/usr/local/www"
ErrorLog syslog
LogLevel error
ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/"
DefaultType text/plain
EnableSendfile on
RemoteIPHeader X-Real-IP

Include etc/apache24/extra/httpd-default.conf


 AllowOverride None

-
Related nginx config:
-
location /cgi-bin {
proxy_pass http://localhost:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_buffering off;
}
-
--
Alexei.

-- 
Alexei.

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] I need working nginx configuration for webadmin

2016-04-30 Thread Sam Varshavchik

Rosario writes:


I can run courierwebadmin to see the front page, but not to see any
other like courierwebadmin/00something

I did search Google and my other CGI script works or multiple scripts
work, but they are different then webadmin script.


Did you try using the wrapper script from nginx.com, and the associated  
configuration settings?


Looked to me like it will work, but I don't use nginx. Other links that came  
up from a Google search also had a few other suggestions.




pgpf_flv8AxL7.pgp
Description: PGP signature
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] I need working nginx configuration for webadmin

2016-04-30 Thread Rosario
I can run courierwebadmin to see the front page, but not to see any
other like courierwebadmin/00something

I did search Google and my other CGI script works or multiple scripts
work, but they are different then webadmin script.

Rosario

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] I need working nginx configuration for webadmin

2016-04-30 Thread Sam Varshavchik

Rosario writes:


If anyone could point me to the working nginx configuration for courier
webadmin.

I have managed to run it over SSL connection, it complained that it is
not over SSL, due to Fast CGI in background, and I have solved that with
the file unsecure OK in ../webadmin/unsecureok

However, I get now only first page, if I click on any option I get
forbidden, it is probably due to nginx not being configured well.

If anyone has working nginx configuration for courier webadmin, let me
know.


You shouldn't need anything more than a working CGI setup.

The very first Google hit on "nginx cgi" is an nginx.com URL that comes  
complete with a wrapper script.




pgpNjt7yNuXVs.pgp
Description: PGP signature
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] I need working nginx configuration for webadmin

2016-04-30 Thread Rosario
If anyone could point me to the working nginx configuration for courier
webadmin.

I have managed to run it over SSL connection, it complained that it is
not over SSL, due to Fast CGI in background, and I have solved that with
the file unsecure OK in ../webadmin/unsecureok

However, I get now only first page, if I click on any option I get
forbidden, it is probably due to nginx not being configured well.

If anyone has working nginx configuration for courier webadmin, let me
know.

Rosario

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users