Re: How to fetch From address from header via Postfix head_check?

2014-08-05 Thread Viktor Dukhovni
On Tue, Aug 05, 2014 at 09:28:24PM +, Xie, Wei wrote: > > What you're proposing is not viable, and seems to serve no purpose. > > You should explain the problem you're trying to solve by adding > > these, rather than the problems you're having doing so. > > When the message hits our outbound

RE: How to fetch From address from header via Postfix head_check?

2014-08-05 Thread Xie, Wei
Viktor, >>Even on an MSA the "To:" address may list multiple recipients, which one >>becomes "Resent-From:"? What happens when the "To:" is a list in your organization rather than a public list? >>What you're proposing is not viable, and seems to serve no purpose. >>You should explain the

Re: How to fetch From address from header via Postfix head_check?

2014-08-05 Thread Viktor Dukhovni
On Tue, Aug 05, 2014 at 08:59:44PM +, Xie, Wei wrote: > If you include mailing list, in general "The To: header does not represent > the recipient of a message.". Also when a message is Bcc'd by the sender. > Now, we only need to consider the simple example below because > the messages relat

RE: How to fetch From address from header via Postfix head_check?

2014-08-05 Thread Xie, Wei
Daniele, If you include mailing list, in general "The To: header does not represent the recipient of a message.". Now, we only need to consider the simple example below because the messages related to mailing lists do not hit our outbound Postfix servers. From: a...@yahoo.com To: test...@osu.

Re: How to fetch From address from header via Postfix head_check?

2014-08-05 Thread Daniele Nicolodi
On 05/08/2014 22:30, Xie, Wei wrote: > Daniele, > >>> The To: header does not represent the recipient of a message. > > My understanding is "To: header" (test...@osu.edu) represents original > recipient of a message, right? No. Look at this same message. I recommend you to document yourself a b

RE: How to fetch From address from header via Postfix head_check?

2014-08-05 Thread Xie, Wei
Daniele, >> The To: header does not represent the recipient of a message. My understanding is "To: header" (test...@osu.edu) represents original recipient of a message, right? Thanks, Carl -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org

Re: How to fetch From address from header via Postfix head_check?

2014-08-05 Thread Daniele Nicolodi
On 05/08/2014 22:18, Xie, Wei wrote: > For example, > > From: a...@yahoo.com > To: test...@osu.edu (is forwarded to d...@hotmail.com) > > In header_checks, I use the rule " /^To: (.*)/ PREPEND Resent-From: > $1" to extract original recipient test...@osu.edu from the header of > test emails and

RE: How to fetch From address from header via Postfix head_check?

2014-08-05 Thread Xie, Wei
Viktor, >>Your reply is HTML-formatted, and takes too much work to de-HTML. >>So I can't reply in detail. I change my previous email to plain text format and send it to you again. >>> The most fundamental is that the original recipient that is forwarded often >>> does not appear in any headers

RE: How to fetch From address from header via Postfix head_check?

2014-08-05 Thread Xie, Wei
Viktor, I change my email to plain text format and send you again. Thanks, Carl From: Xie, Wei Sent: Tuesday, August 05, 2014 12:57 PM To: postfix-users@postfix.org Cc: Xie, Wei Subject: RE: How to fetch From address from header via Postfix head_check? Viktor, Sorry to reply to you lately du

Re: How to fetch From address from header via Postfix head_check?

2014-08-05 Thread Viktor Dukhovni
On Tue, Aug 05, 2014 at 04:56:57PM +, Xie, Wei wrote: > Sorry to reply to you lately due to some reasons. Your reply is HTML-formatted, and takes too much work to de-HTML. So I can't reply in detail. > The logic of our requirement or idea is described as the following > syntax in terms of he

Re: Message size

2014-08-05 Thread M. Rodrigo Monteiro
Enabling debug for the Servers IP, here comes. Aug 5 15:22:35 intsrv025 postfix/smtpd[1412]: > SERVER_HOST[SERVER_IP]: 250-ERLAY_HOST Aug 5 15:22:35 intsrv025 postfix/smtpd[1412]: > SERVER_HOST[SERVER_IP]: 250-PIPELINING Aug 5 15:22:35 intsrv025 postfix/smtpd[1412]: > SERVER_HOST[SERVER_IP]: 25

Re: Message size

2014-08-05 Thread Jonas Wielicki
On 05.08.2014 20:08, Noel Jones wrote: > On 8/5/2014 12:53 PM, M. Rodrigo Monteiro wrote: >> 2014-08-05 14:47 GMT-03:00 Noel Jones : >>> On 8/5/2014 12:23 PM, M. Rodrigo Monteiro wrote: Hi! This postfix act as a Relay. From all servers, but one, the message size is 20MB. For the

Re: Message size

2014-08-05 Thread Noel Jones
On 8/5/2014 12:53 PM, M. Rodrigo Monteiro wrote: > 2014-08-05 14:47 GMT-03:00 Noel Jones : >> On 8/5/2014 12:23 PM, M. Rodrigo Monteiro wrote: >>> Hi! >>> >>> This postfix act as a Relay. >>> From all servers, but one, the message size is 20MB. For these one it's 10MB >>> >>> # postconf message_siz

Re: Message size

2014-08-05 Thread Glenn Sieb
On 8/5/14, 1:42 PM, M. Rodrigo Monteiro wrote: > 2014-08-05 14:37 GMT-03:00 Glenn Sieb : >> And was that command run on the relay that is showing SIZE 1000? > > The command is from the Server -> Relay. So, yes. > All other servers (40 or so) the result is the same: 20MB. > >> >> If so, did yo

Re: Message size

2014-08-05 Thread Glenn Sieb
On 8/5/14, 1:47 PM, Noel Jones wrote: > And this doesn't look like postfix. Either there's some sort of > proxy interfering with SMTP, or this isn't connecting to the same > server. Maybe some security software or firewall on the oddball server? Good point.. I missed the difference in responses

Re: Message size

2014-08-05 Thread M. Rodrigo Monteiro
2014-08-05 14:47 GMT-03:00 Noel Jones : > On 8/5/2014 12:23 PM, M. Rodrigo Monteiro wrote: >> Hi! >> >> This postfix act as a Relay. >> From all servers, but one, the message size is 20MB. For these one it's 10MB >> >> # postconf message_size_limit >> message_size_limit = 20971520 >> >> >> Here is

Re: Message size

2014-08-05 Thread Noel Jones
On 8/5/2014 12:23 PM, M. Rodrigo Monteiro wrote: > Hi! > > This postfix act as a Relay. > From all servers, but one, the message size is 20MB. For these one it's 10MB > > # postconf message_size_limit > message_size_limit = 20971520 > > > Here is the telnet response from all servers > > # teln

Re: Message size

2014-08-05 Thread Glenn Sieb
On 8/5/14, 1:23 PM, M. Rodrigo Monteiro wrote: > This postfix act as a Relay. > From all servers, but one, the message size is 20MB. For these one it's 10MB > > # postconf message_size_limit > message_size_limit = 20971520 And was that command run on the relay that is showing SIZE 1000? If s

Message size

2014-08-05 Thread M. Rodrigo Monteiro
Hi! This postfix act as a Relay. >From all servers, but one, the message size is 20MB. For these one it's 10MB # postconf message_size_limit message_size_limit = 20971520 Here is the telnet response from all servers # telnet relay 25 Trying XXX... Connected to XXX. Escape character is '^]'. 22

RE: How to fetch From address from header via Postfix head_check?

2014-08-05 Thread Xie, Wei
Viktor, Sorry to reply to you lately due to some reasons. >>Actually you would not like to this. Because setting "Resent-From:" >>to duplicate the "From:" address is silly. I just wanted to do a technical test to see how to fetch From address from header , not really to do setting "Res

Re: Allow only my servers to send mail from my domain

2014-08-05 Thread DTNX Postmaster
On 05 Aug 2014, at 15:53, Andre Luiz Paiz wrote: > Quoting Andre Luiz Paiz : > >> Is there an alternative? > > Good morning, > Does anybody have some tips to help me? Yes, I already gave you the 'check_sender_access' option as an alternative. Also, please do not use HTML to post to lists like

Re: Allow only my servers to send mail from my domain

2014-08-05 Thread Andre Luiz Paiz
Quoting Alexandre Ellert : Hello, You should have a look at DMARC. If you announce a reject policy in your DNS and configure opendmarc milter on your inbound MX, that will do what you want. Alexandre _Quoting Andre Luiz Paiz :_ _Quoting DTNX Postmaster :_ _On 04 Aug 2014, at 19:2

Re: Allow only my servers to send mail from my domain

2014-08-05 Thread Alexandre Ellert
Hello, You should have a look at DMARC. If you announce a reject policy in your DNS and configure opendmarc milter on your inbound MX, that will do what you want. Alexandre Quoting Andre Luiz Paiz : Quoting DTNX Postmaster : On 04 Aug 2014, at 19:25, Andre Luiz Paiz wrote: I´m receiving some

Re: Allow only my servers to send mail from my domain

2014-08-05 Thread Andre Luiz Paiz
Quoting Andre Luiz Paiz : Quoting DTNX Postmaster : On 04 Aug 2014, at 19:25, Andre Luiz Paiz wrote: I´m receiving some e-mails coming from outside with the FROM pointing to my local domain. This causes confusion on my antispam tools. Ex: I received an e-mail from the internet with webmas.

Postfix and problem with Cyrus-SASL with unusual path to plugins

2014-08-05 Thread Sergey
Hello. I need to build SASL with unusual path to plugins. Its "configure" script contains --with-plugindir option and it works. However, Postfix does not works with this directory. The error: postfix/smtpd[5401]: looking for plugins in '/etc/postfix/sasl', failed to open directory, error: No suc