relay oddity.

2016-08-18 Thread Joe Acquisto-j4
Using postfix 2.5.6. In main.cf, changed "relayhost" from and IP address to a valid domain. - the "sender" changed from the original sender domain to the host name and domain of the postfix server. - the mail was shown as "queued" instead of "delivered" What can I do to retain the senders actua

Re: Policy server problem: connection timed out or connection reset by peer

2016-08-18 Thread Wietse Venema
Zhang Huangbin: [ Charset windows-1252 converted... ] > > > On Aug 18, 2016, at 8:46 AM, Noel Jones wrote: > > > > There was an example on the link I sent earlier. > > > > # main.cf > > 127.0.0.1:1234_time_limit = 3600 > > Seems this setting is not ok for me: The example in Postfix doc > does

Re: relay oddity.

2016-08-18 Thread Wietse Venema
Joe Acquisto-j4: > Using postfix 2.5.6. > > In main.cf, changed "relayhost" from and IP address to a valid domain. > > - the "sender" changed from the original sender domain to the host > name and domain of the postfix server. What is the evidence that led you to to this conclusion? See http://w

Re: relay oddity.

2016-08-18 Thread Joe Acquisto-j4
First, thanks for the prompt response and please forgive the reply formatting. Web client is not helpful. I will attempt to provide info as per the links provided. I drew my conclusion simply from watching "tail -f /var/log/mail" as I altered main.cf and did "rcpostfix restart" Was that naive

Re: relay oddity.

2016-08-18 Thread Wietse Venema
Joe Acquisto-j4: > First, thanks for the prompt response and please forgive the reply > formatting. Web client is not helpful. I will attempt to provide info as > per the > links provided. > > I drew my conclusion simply from watching "tail -f /var/log/mail" > as I altered main.cf and did "rcp

Re: relay oddity. - NP

2016-08-18 Thread Joe Acquisto-j4
>Please provide concrete evidence as requested. > > Wietse Entirely my misinterpreting what I observed. Working as intended/expected. Sorry for the inconvenience and thanks for your gentle response.

Re: Policy server problem: connection timed out or connection reset by peer

2016-08-18 Thread Zhang Huangbin
> On Aug 18, 2016, at 10:02 PM, Wietse Venema wrote: > > What are you using to "run" the policy service? Try using "telnet > 127.0.0.1 9998" or "nc 127.0.0.1 9998" to test it. Thanks Wietse. :) What do you mean "run" the policy service? It's a python program. > In particular, what happens whe

Re: Policy server problem: connection timed out or connection reset by peer

2016-08-18 Thread Wietse Venema
Zhang Huangbin: > > > On Aug 18, 2016, at 10:02 PM, Wietse Venema wrote: > > > > What are you using to "run" the policy service? Try using "telnet > > 127.0.0.1 9998" or "nc 127.0.0.1 9998" to test it. > > Thanks Wietse. :) > > What do you mean "run" the policy service? It's a python program.

Re: Policy server problem: connection timed out or connection reset by peer

2016-08-18 Thread Bill Cole
On 18 Aug 2016, at 11:14, Zhang Huangbin wrote: On Aug 18, 2016, at 10:02 PM, Wietse Venema wrote: What are you using to "run" the policy service? Try using "telnet 127.0.0.1 9998" or "nc 127.0.0.1 9998" to test it. Thanks Wietse. :) What do you mean "run" the policy service? It's a pyth

Per transport destination ports

2016-08-18 Thread Jason Lancaster
Hello, I'm looking for a way to map senders with different sending reputation to specific destination ports (that will eventually be mapped to different sending IPs by the firewall) without hardcoding the nexthop. sender_dependent_default_transport_maps are working great for setting the transport

Re: Per transport destination ports

2016-08-18 Thread Wietse Venema
Jason Lancaster: > Hello, > > I'm looking for a way to map senders with different sending reputation > to specific destination ports (that will eventually be mapped to > different sending IPs by the firewall) without hardcoding the nexthop. > > sender_dependent_default_transport_maps are working

Re: Policy server problem: connection timed out or connection reset by peer

2016-08-18 Thread Zhang Huangbin
Dear Bill, Thanks very much for helping. > On Aug 19, 2016, at 4:17 AM, Bill Cole > wrote: > >> What do you mean "run" the policy service? It's a python program. > > Which must be running in order for it to be listening for connections. > Likely mechanisms would be via a SysV init script in /

Re: Policy server problem: connection timed out or connection reset by peer

2016-08-18 Thread Richard James Salts
On 19/08/16 11:32, Zhang Huangbin wrote: Dear Bill, Thanks very much for helping. On Aug 19, 2016, at 4:17 AM, Bill Cole wrote: What do you mean "run" the policy service? It's a python program. Which must be running in order for it to be listening for connections. Likely mechanisms would

Re: Policy server problem: connection timed out or connection reset by peer

2016-08-18 Thread Bill Cole
On 18 Aug 2016, at 21:32, Zhang Huangbin wrote: Dear Bill, Thanks very much for helping. On Aug 19, 2016, at 4:17 AM, Bill Cole wrote: What do you mean "run" the policy service? It's a python program. Which must be running in order for it to be listening for connections. Likely mechani