check if incoming server is SMTP or ESMTP

2010-08-06 Thread Manuel Mely
Hi, I've programmed one script for checking the allowed message size for every user on my network. I started programming this script based on the greylist perl example script that it's in the postfix documentation[1] (very nice start point). The script is working well but i'm having one problem, t

Re: check if incoming server is SMTP or ESMTP

2010-08-06 Thread Wietse Venema
Manuel Mely: > Hi, > > I've programmed one script for checking the allowed message size for > every user on my network. I started programming this script based on > the greylist perl example script that it's in the postfix > documentation[1] (very nice start point). > The script is working well bu

Re: check if incoming server is SMTP or ESMTP

2010-08-08 Thread Manuel Mely
Hi Wietse, My server is acting as relay for my network, so my internal clients are MTAs that uses ESMTP. The problem is when other servers in internet are delivering messages to my server, some of them are SMTP. If i place my policy server in smtpd_end_of_data_restrictions i must wait for the enti

Re: check if incoming server is SMTP or ESMTP

2010-08-08 Thread Manuel Mely
Sorry for the top posting!

Re: check if incoming server is SMTP or ESMTP

2010-08-08 Thread Wietse Venema
Manuel Mely: > Hi Wietse, > > My server is acting as relay for my network, so my internal clients > are MTAs that uses ESMTP. The problem is when other servers in > internet are delivering messages to my server, some of them are SMTP. > If i place my policy server in smtpd_end_of_data_restrictions

Re: check if incoming server is SMTP or ESMTP

2010-08-08 Thread Manuel Mely
On 8/8/10, Wietse Venema wrote: > Manuel Mely: >> Hi Wietse, >> >> My server is acting as relay for my network, so my internal clients >> are MTAs that uses ESMTP. The problem is when other servers in >> internet are delivering messages to my server, some of them are SMTP. >> If i place my policy

Re: check if incoming server is SMTP or ESMTP

2010-08-08 Thread Wietse Venema
Manuel Mely: > On 8/8/10, Wietse Venema wrote: > > Manuel Mely: > >> Hi Wietse, > >> > >> My server is acting as relay for my network, so my internal clients > >> are MTAs that uses ESMTP. The problem is when other servers in > >> internet are delivering messages to my server, some of them are SMT

Re: Re: check if incoming server is SMTP or ESMTP

2010-08-09 Thread mmelyp
On Aug 8, 2010 8:08pm, Wietse Venema wrote: /etc/postfix.master.cf: # = # service type private unpriv chroot wakeup maxproc command # (yes) (yes) (yes) (never) (100) # ==