Re: reporting

2012-11-21 Thread Ralf Hildebrandt
* Muhammad Yousuf Khan : > > and mime_header_checks with: > > /filename=\"(.*)\.(...)\"$/ WARN Attachment $1.$2 > > Thanks for the help. but any suggestion for the attachment size. Not possible with postfix alone. If you put Amavis in the loop, you get to see the attachment names & sizes at log

NDR not received while relaying

2012-11-21 Thread Muhammad Yousuf Khan
i am using my ISP relay. and i don't receive NDRs for any invalid or unknown account. is this default. or i must be doing some config mistakes. however, in log files i can see that my message has been relayed to the ISP smtp. but i do not receive any NDR. any idea. please help? Thanks MYK

Re: reporting

2012-11-21 Thread Muhammad Yousuf Khan
On Wed, Nov 21, 2012 at 9:13 PM, Ralf Hildebrandt wrote: > * Muhammad Yousuf Khan : > >> is there any way that i can collect reports in which i can check who >> is the "sender" who is the "receiver" what was the mail "subject", if > > You can log this using > > header_checks with: > /^Subject:/ WA

Re: reporting

2012-11-21 Thread Muhammad Yousuf Khan
[cut] > Postfix has built-in "WARN" actions in header_checks that can log > message subjects and attachment names, but there is no built-in > support to log details such as attachment sizes. if not built-in then any workaround would you like to suggest. [cut]

Re: ensure all email is sent over encrypted connection

2012-11-21 Thread Noel Jones
On 11/21/2012 11:14 PM, Jumping Mouse wrote: > I am using a inbound gateway: postfix smtp server to deliver email locally > and forward email to Google Servers for Google apps email accounts. > I would like to make sure that all email that is forwarded to the google > servers passes through an

ensure all email is sent over encrypted connection

2012-11-21 Thread Jumping Mouse
I am using a inbound gateway:  postfix smtp server to deliver email locally and forward email to Google Servers for Google apps email accounts.  I would like to make sure that all email that is forwarded to the google servers passes through an  encrypted connection. Does postfix do this by defau

Re: Reg: Un delivered mails in mailq

2012-11-21 Thread kamlesh
HI Robert, Please find mail.info of my mail server. -- From Kamlesh Verma On 11/21/2012 08:26 PM, Robert Schetterer wrote: Am 21.11.2012 15:46, schrieb Robert Schetterer: Am 21.11.2012 14:45, schrieb kamleshverma: Every day i m seeing hundreds of mails in mailq, all they are having unkn

Re: Initial 220 greeting timeout

2012-11-21 Thread Wietse Venema
Alex: > Nov 21 19:39:14 mail01 postfix/postscreen[9111]: PASS OLD > [198.41.120.10]:47864 > > They were later all tagged as spam, but it would definitely be nice to > be blocking these outright with postscreen. I've now added an iptables Postscreen "forgets" DNSBL lookup results after one hour.

Re: Initial 220 greeting timeout

2012-11-21 Thread Alex
Hi, >>> Nov 19 20:39:03 mail01 postfix/smtpd[19820]: lost connection after >>> CONNECT from listserver.translateplanmulti.info[198.41.120.7] >> >> Your server is too slow, so that connections pile up in front of >> it. > > translateplanmulti.info is a snowshoe domain, 198.41.120.0/24, and > everyo

Re: SASL authentication failure: GSSAPI Error

2012-11-21 Thread Per olof Ljungmark
On 11/21/12 23:44, Wietse Venema wrote: > Per olof Ljungmark: >> postfix/smtp[49073]: warning: SASL authentication failure: GSSAPI Error: >> Miscellaneous failure (see text) (open(/tmp/krb5cc_125): No such file >> or directory) > > Postfix is the messenger that reports bad news from the SASL libr

Re: SASL authentication failure: GSSAPI Error

2012-11-21 Thread Wietse Venema
Per olof Ljungmark: > postfix/smtp[49073]: warning: SASL authentication failure: GSSAPI Error: > Miscellaneous failure (see text) (open(/tmp/krb5cc_125): No such file > or directory) Postfix is the messenger that reports bad news from the SASL library. The name /tmp/krb5cc* is normally used to s

SASL authentication failure: GSSAPI Error

2012-11-21 Thread Per olof Ljungmark
Hi, Got this error after changing the sasl_password in sasl_passwd. This is on a host that relays all mail to one destination as specified in "relayhost =". Nothing else was changed. Same thing happened now on four different boxes and the only item changed on all of them was the password in sasl_

Re: Initial 220 greeting timeout

2012-11-21 Thread Stan Hoeppner
On 11/20/2012 6:06 AM, Wietse Venema wrote: > Alex: >> Nov 19 20:39:03 mail01 postfix/smtpd[19820]: lost connection after >> CONNECT from listserver.translateplanmulti.info[198.41.120.7] > > Your server is too slow, so that connections pile up in front of > it. translateplanmulti.info is a snows

Re: Mutliple Certificates - Multiple IP addresses - Again

2012-11-21 Thread Viktor Dukhovni
On Wed, Nov 21, 2012 at 02:14:25AM +0200, Ali Jawad wrote: > Sorry that should have been telnet ip 587 not telnet ip 25 as you can > not connect to port 25. Well, your configuration settings *are* for port 25. So testing port 587 is futile. > >> x.x.x.x:smtp inet n - n - - smtpd > >> -o

Re: [Bulk] Re: unused parameter

2012-11-21 Thread Noel Jones
On 11/21/2012 11:45 AM, Sam Jones wrote: > Thank you so much Noel. > > That was exactly it, and to confuse matters even more it had been in my > old config like that for a year with no warning coming up. That's exactly why the "unused parameter" feature was invented; to warn you that postfix mig

Re: [Bulk] Re: unused parameter

2012-11-21 Thread Sam Jones
Thank you so much Noel. That was exactly it, and to confuse matters even more it had been in my old config like that for a year with no warning coming up. I've removed the sleep 1, I have no idea why I put it there but as the typo would have stopped it working I think it's safe to say I don't nee

Re: unused parameter

2012-11-21 Thread Noel Jones
On 11/21/2012 11:12 AM, Sam Jones wrote: > Good afternoon, > > When I start my Postfix up (fresh install I'm trying to commission to > take over newsletter duties) I'm seeing this: > > unused parameter: smtpd_client_restrictons=permit_mynetworks > sleep 1, warn_if_reject reject_unauth_pipelining?

unused parameter

2012-11-21 Thread Sam Jones
Good afternoon, When I start my Postfix up (fresh install I'm trying to commission to take over newsletter duties) I'm seeing this: unused parameter: smtpd_client_restrictons=permit_mynetworks sleep 1, warn_if_reject reject_unauth_pipelining?warn_if_reject reject_unknown_client?permit The chunk

Re: C/C++ based Content filter API

2012-11-21 Thread DTNX Postmaster
On Nov 21, 2012, at 15:10, Sharma, Ashish wrote: > Any comments on the following posted queries. I suggest you read the documentation available, such as; http://www.postfix.org/documentation.html http://www.postfix.org/CONTENT_INSPECTION_README.html http://www.postfix.org/FILTER_README.html htt

Re: reporting

2012-11-21 Thread Ralf Hildebrandt
* Muhammad Yousuf Khan : > is there any way that i can collect reports in which i can check who > is the "sender" who is the "receiver" what was the mail "subject", if You can log this using header_checks with: /^Subject:/ WARN and mime_header_checks with: /filename=\"(.*)\.(...)\"$/ WARN Atta

Re: reporting

2012-11-21 Thread Wietse Venema
Robert Schetterer: > Am 21.11.2012 15:51, schrieb Muhammad Yousuf Khan: > > Please help your experience advice is required. > > my management is interested to see some reports from postfix logs, > > is there any way that i can collect reports in which i can check who > > is the "sender" who is the

Re: reporting

2012-11-21 Thread Robert Schetterer
Am 21.11.2012 15:51, schrieb Muhammad Yousuf Khan: > Please help your experience advice is required. > my management is interested to see some reports from postfix logs, > is there any way that i can collect reports in which i can check who > is the "sender" who is the "receiver" pflogsumm or log

Re: Reg: Un delivered mails in mailq

2012-11-21 Thread Robert Schetterer
Am 21.11.2012 15:46, schrieb Robert Schetterer: > Am 21.11.2012 14:45, schrieb kamleshverma: >> Every day i m seeing hundreds of mails in mailq, all they are having >> unknown domain name > > how did they get in your server ? > show logs > > try using > > reject_unknown_sender_domain > Rejec

reporting

2012-11-21 Thread Muhammad Yousuf Khan
Please help your experience advice is required. my management is interested to see some reports from postfix logs, is there any way that i can collect reports in which i can check who is the "sender" who is the "receiver" what was the mail "subject", if there is any "attachment" then what was the s

Re: Reg: Un delivered mails in mailq

2012-11-21 Thread Robert Schetterer
Am 21.11.2012 14:45, schrieb kamleshverma: > Every day i m seeing hundreds of mails in mailq, all they are having > unknown domain name how did they get in your server ? show logs try using reject_unknown_sender_domain Reject the request when Postfix is not final destination for the sender a

Re: Reg: Un delivered mails in mailq

2012-11-21 Thread Jerry
On Wed, 21 Nov 2012 19:15:32 +0530 kamleshverma articulated: > Every day i m seeing hundreds of mails in mailq, all they are having > unknown domain name. > > I had changes in my Postfix server but I don't how to restrict this > unwanted mails and due that my mail server showing blacklist in > pu

RE: C/C++ based Content filter API

2012-11-21 Thread Sharma, Ashish
Hi, Any comments on the following posted queries. Thanks in advance Ashish -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Sharma, Ashish Sent: Monday, November 19, 2012 8:35 PM To: postfix-users@postfix.org Subject: C/C++

Reg: Un delivered mails in mailq

2012-11-21 Thread kamleshverma
HI All, Every day i m seeing hundreds of mails in mailq, all they are having unknown domain name. I had changes in my Postfix server but I don't how to restrict this unwanted mails and due that my mail server showing blacklist in public black lists.. Please find below my postfix configurat

Re: pcre:header_check

2012-11-21 Thread /dev/rob0
> On Wed, Nov 21, 2012 at 5:25 PM, Wietse Venema > wrote: > > > prashuppp p: > > > I was trying to HOLD all the emails which has more then > > > 2 recipient's using > > > header_checks = pcre:/etc/postfix/header_checks > > > > Use the SMTPD policy plug-in interface. What you ask > > for will not

Re: pcre:header_check

2012-11-21 Thread prashanth p
i know scripting,so do you refer me any good document or web link on writing SMTPD policy scripts ? On Wed, Nov 21, 2012 at 5:25 PM, Wietse Venema wrote: > prashuppp p: > > I was trying to HOLD all the emails which has more then 2 recipient's > > using header_checks = pcre:/etc/postfix/header_

Re: pcre:header_check

2012-11-21 Thread Wietse Venema
prashuppp p: > I was trying to HOLD all the emails which has more then 2 recipient's > using header_checks = pcre:/etc/postfix/header_checks Use the SMTPD policy plug-in interface. What you ask for will not be implemented in Postfix. Wietse

Re: pcre:header_check

2012-11-21 Thread prashanth p
yes,But am authorized to use only inbuilt mechanism. That's the reason i have choosed header_check.But later i came to know that as it name indicate's it can do only header . 2012/11/21 Ralf Hildebrandt > * prashanth p : > > ok..great..Is there any other method to do for envelope also..I need i

Re: pcre:header_check

2012-11-21 Thread Ralf Hildebrandt
* prashanth p : > ok..great..Is there any other method to do for envelope also..I need it for > both.. You'd need a policy_daemon for that. Didn't you ask that before? postfwd can easily do that. -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München Sitz der

Re: pcre:header_check

2012-11-21 Thread prashanth p
ok..great..Is there any other method to do for envelope also..I need it for both.. On Wed, Nov 21, 2012 at 4:08 PM, Ralf Hildebrandt wrote: > * prashuppp p : > > I was trying to HOLD all the emails which has more then 2 recipient's > > using header_checks = pcre:/etc/postfix/header_checks > >

Re: pcre:header_check

2012-11-21 Thread Ralf Hildebrandt
* prashuppp p : > I was trying to HOLD all the emails which has more then 2 recipient's > using header_checks = pcre:/etc/postfix/header_checks > > /^(Cc|To):([^@]*@){2,}/ HOLD header_checks only apply (AS THE NAME SAYS!) to... the headers. No header, no match. > But not working for the below