Rewriting Date header for local senders, or something like that.

2010-08-22 Thread Jose Ildefonso Camargo Tolosa
Hi! I got a curiosity, I have noted that the Date header the mail takes comes from the client computer, so, if my computer have a wrong date, my mail will go out with a wrong date too. I know the server will put its own timestamp when it process the message, but the destination mail client will u

Re: Selective smtpd_helo_restrictions question

2010-08-22 Thread Stan Hoeppner
Stan Hoeppner put forth on 8/22/2010 7:34 PM: > So if we reverse the scenario and put the "REJECT" first, it's a final > decision? If so, and if I've described the situation correctly, why do > we have this opposite behavior between whitelisting and blacklisting? > If I've not described this corr

Re: Selective smtpd_helo_restrictions question

2010-08-22 Thread Stan Hoeppner
Wietse Venema put forth on 8/22/2010 11:13 AM: > Stan Hoeppner: >> That's not necessarily true. It depends on the order of his >> smtpd_*_restrictions and whether he's using delayed evaluation. If he's >> using the multiple section restrictions style with delayed eval it's >> possible he may have

relayhost if fail

2010-08-22 Thread listadecorreo
Hi to all In the configuration of my main.cf, I have all mail sent to an external server (relayhost) I can do to check if the server is operational and if it fails to send all mail to another server relayhost=xxx.xxx.xxx.xxx if fail send to yyy.yyy.yyy.yyy I'm using postfix 2.5 thanks in ad

Re: How common is reverse DNS checking?

2010-08-22 Thread Klaus Engelmann
Noel, pf: Thanks for your suggestions and comments. I also had the same questions and its good to see that others used reject_unknown_reverse_client_hostname without too many false-positives. Now I will enable it on my production server. Regards, -- Klaus Engelmann CCNA CCDA - CSCO10971632 LPI

Re: Milter i-macro not set at EOM stage

2010-08-22 Thread Wietse Venema
Erik Logtenberg: > Hi, > > I wrote a small milter using Sendmail::Milter in perl. This worked okay > with postfix 2.6.5, but it doesn't with 2.7.0. I use the i-macro > (postfix queue-id) in the EOM-callback function. Previously, the i-macro > was always set at this stage, but now this is no longer

Milter i-macro not set at EOM stage

2010-08-22 Thread Erik Logtenberg
Hi, I wrote a small milter using Sendmail::Milter in perl. This worked okay with postfix 2.6.5, but it doesn't with 2.7.0. I use the i-macro (postfix queue-id) in the EOM-callback function. Previously, the i-macro was always set at this stage, but now this is no longer the case. I built the milter

Re: Selective smtpd_helo_restrictions question

2010-08-22 Thread Noel Jones
On 8/22/2010 11:42 AM, p...@alt-ctrl-del.org wrote: On Sunday, August 22, 2010 at 16:01 CEST, p...@alt-ctrl-del.org wrote: So I have, smtpd_helo_restrictions = reject_non_fqdn_helo_hostname, check_helo_access regexp:/etc/postfix/heloaccess.cf If I put the following into heloaccess.cf, for .cc

Re: How common is reverse DNS checking?

2010-08-22 Thread Gábor Lénárt
On Fri, Aug 20, 2010 at 03:39:48AM -0500, Stan Hoeppner wrote: > Robert Fournerat put forth on 8/19/2010 4:46 PM: > > Quoting Noel Jones : > > > >> Same here. reject_unknown_client_hostname is too strict, but > >> reject_unknown_reverse_client_hostname rejects lots of obvious spambots > >> withou

Re: Selective smtpd_helo_restrictions question

2010-08-22 Thread pf
On Sunday, August 22, 2010 at 16:01 CEST, p...@alt-ctrl-del.org wrote: So I have, smtpd_helo_restrictions = reject_non_fqdn_helo_hostname, check_helo_access regexp:/etc/postfix/heloaccess.cf If I put the following into heloaccess.cf, for .cc hostnames, /^.*\.[a-z][a-z]$/ reject_unknown_hel

Re: Selective smtpd_helo_restrictions question

2010-08-22 Thread Wietse Venema
Stan Hoeppner: > That's not necessarily true. It depends on the order of his > smtpd_*_restrictions and whether he's using delayed evaluation. If he's > using the multiple section restrictions style with delayed eval it's > possible he may have an "OK" in a later table that causes the mail to be

Re: Selective smtpd_helo_restrictions question

2010-08-22 Thread Magnus Bäck
On Sunday, August 22, 2010 at 17:26 CEST, Stan Hoeppner wrote: > Magnus Bäck put forth on 8/22/2010 10:04 AM: > > > A regexp match will cause the reject_unknown_helo_hostname > > restriction to be evaluated. If it indeed results in a > > rejection the mail will be rejected no matter what. >

Re: advise needed: unknown mail transport error; panic: file size limit < message size

2010-08-22 Thread Squeeshh Me
On Sun, Aug 22, 2010 at 11:17 PM, Wietse Venema wrote: > Squeeshh Me: >> Wietse: ok, here it is: >>  egrep '(warning|error|fatal|panic):' /var/log/maillog | more >> >> Aug 22 21:50:17 node2 postfix/virtual[71240]: panic: file size limit >> 100 < message size 1498997. > > Your Postfix version w

Re: Selective smtpd_helo_restrictions question

2010-08-22 Thread Stan Hoeppner
Magnus Bäck put forth on 8/22/2010 10:04 AM: > On Sunday, August 22, 2010 at 16:01 CEST, > p...@alt-ctrl-del.org wrote: > >> So I have, >> smtpd_helo_restrictions = reject_non_fqdn_helo_hostname, >> check_helo_access regexp:/etc/postfix/heloaccess.cf >> >> If I put the following into heloacce

Re: advise needed: unknown mail transport error; panic: file size limit < message size

2010-08-22 Thread Wietse Venema
Squeeshh Me: > Wietse: ok, here it is: > egrep '(warning|error|fatal|panic):' /var/log/maillog | more > > Aug 22 21:50:17 node2 postfix/virtual[71240]: panic: file size limit > 100 < message size 1498997. Your Postfix version was modified with an unofficial patch that implements quota in th

Re: Selective smtpd_helo_restrictions question

2010-08-22 Thread Magnus Bäck
On Sunday, August 22, 2010 at 16:01 CEST, p...@alt-ctrl-del.org wrote: > So I have, > smtpd_helo_restrictions = reject_non_fqdn_helo_hostname, > check_helo_access regexp:/etc/postfix/heloaccess.cf > > If I put the following into heloaccess.cf, for .cc hostnames, > /^.*\.[a-z][a-z]$/ reject_u

Re: advise needed: unknown mail transport error; panic: file size limit < message size

2010-08-22 Thread Squeeshh Me
On Sun, Aug 22, 2010 at 10:21 PM, Wietse Venema wrote: > Squeeshh Me: >> Hi, >> >> Thanks for replying. My bad, I realised I posted the log message from >>  /var/log/message. It's quite similar to what I get in postfix log >> too. Here's the postfix /var/log/mailog version of a test mail that I ju

Re: advise needed: unknown mail transport error; panic: file size limit < message size

2010-08-22 Thread Wietse Venema
Squeeshh Me: > Hi, > > Thanks for replying. My bad, I realised I posted the log message from > /var/log/message. It's quite similar to what I get in postfix log > too. Here's the postfix /var/log/mailog version of a test mail that I just > sent, hope this is better (also there are no other warnin

Re: advise needed: unknown mail transport error; panic: file size limit < message size

2010-08-22 Thread Squeeshh Me
Hi, Thanks for replying. My bad, I realised I posted the log message from /var/log/message. It's quite similar to what I get in postfix log too. Here's the postfix /var/log/mailog version of a test mail that I just sent, hope this is better (also there are no other warning/panic errors before thi

Selective smtpd_helo_restrictions question

2010-08-22 Thread pf
So I have, smtpd_helo_restrictions = reject_non_fqdn_helo_hostname, check_helo_access regexp:/etc/postfix/heloaccess.cf If I put the following into heloaccess.cf, for .cc hostnames, /^.*\.[a-z][a-z]$/ reject_unknown_helo_hostname Am I adding to the restrictions? Making it, smtpd_helo_restricti

Re: advise needed: unknown mail transport error; panic: file size limit < message size

2010-08-22 Thread Wietse Venema
Squeeshh Me: > Aug 21 11:12:55 node1 kernel: pid 40382 (virtual), uid 5000: exited on > signal 6 For details, look in your MAILLOG file. Wietse http://www.postfix.org/DEBUG_README.html#logging Look for obvious signs of trouble Postfix logs all failed and successful deliveries to a logf

postfix + LDAP + TLS man page confusion

2010-08-22 Thread Winston Smith
Hi all, The short version: I want LDAP server authenticity to Postfi without Postfix authenticity to LDAP. The long version: I wanted my Postfix to look up recipients and mail aliases in my LDAP DB. The ldap_table(5) man page states a parameter 'tls_key' which is confusing. I thought that the

advise needed: unknown mail transport error; panic: file size limit < message size

2010-08-22 Thread Squeeshh Me
Hi Folks, Need your advise on how to solve a problem related to 'unknown mail transport error'. I've narrowed the error to linked to VDA. VDA works fine for cases where (incoming mail size) + (existing mailbox file size) is greater than the quota set for the mailbox. Example: Quota set for User