Re: mutt headers and postfix

2009-08-17 Thread Joerg Thuemmler
Noel Jones schrieb: > Joerg Thuemmler wrote: >> Hi, >> >> im using postfix as mta for automatic mail sending out of our db. All db >> users a logged in as the same (linux) user, as it's a terminal based >> system. So a created mail has usually @domain.tld from and >> return-path headers. Of course

postfix + procmail master.cf question

2009-08-17 Thread Jeff Lacki
Im having problems with the mail file being produced when I setup procmail + postfix: Ive setup global procmail with the following in my master.cf file: procmail unix - n n - - pipe flags=DRX user=jeff argv=/usr/bin/procmail -t -o SENDER=${sender} -m user=${us..

Content checking - bulk emails

2009-08-17 Thread Jaroslaw Grzabel
Hi guys, I'm wondering is there any way to configure postfix, to check content of messages which contains ... let say more than 10 recipients, scan those and check contents in looking for un.sub.scribe link (or particular words) and if found pass messages if not block with notification for the se

Re: Looking for opinions on FreeBSD OS for Postfix

2009-08-17 Thread Olivier Nicole
Hi, > I'm considering FreeBSD as an alternative, but I was wondering what > people think of FreeBSD as a platform for Postfix. It's obviously not > as easy to maintain as Ubuntu, but it does have a reputation for > stability. Any thoughts, recommendations or experiences would be > appreciated. I

Re: HELO/EHLO rejection rate

2009-08-17 Thread Mike Cappella
On 8/17/09 12:43 PM, Michael Orlitzky wrote: LuKreme wrote: I looked at the various rejections for the last 31 days, and I noticed that my unknown/HELO is very very high and my RBL is very very low. 5xx Reject relay denied 0.08% 5xx Reject HELO/EHLO 45.97% 5xx Reject DATA 0.01% 5xx Reject unkno

Re: Looking for opinions on FreeBSD OS for Postfix

2009-08-17 Thread Joe
Kurt Buff wrote: I am biased, but I've long preferred FreeBSD to any flavor of Linux for ease of administration - FreeBSD simply makes more sense to me than any Linux I've ever touched. Others will differ, but that's my preference. I prefer linux, and currently use suse and ubuntu, which ha

Re: Looking for opinions on FreeBSD OS for Postfix

2009-08-17 Thread Charles Sprickman
On Mon, 17 Aug 2009, Sahil Tandon wrote: On Mon, 17 Aug 2009, Guy wrote: I'm considering FreeBSD as an alternative, but I was wondering what people think of FreeBSD as a platform for Postfix. It's obviously not as easy to maintain as Ubuntu, but it does have a reputation for stability. Any tho

Re: Looking for opinions on FreeBSD OS for Postfix

2009-08-17 Thread Kurt Buff
On Mon, Aug 17, 2009 at 09:01, Guy wrote: > Hi, > > I'm using Postfix 2.5.5 with Amavis/CLAM. Also looking at adding > SpamAssassin in the near future. I've also got Postfix Policyd V2 on > my gateways. > I've currently got this all running on Ubuntu (Hardy 8.04) and it's > been fine so far. > I ha

Re: Looking for opinions on FreeBSD OS for Postfix

2009-08-17 Thread Sahil Tandon
On Mon, 17 Aug 2009, Guy wrote: > I'm considering FreeBSD as an alternative, but I was wondering what > people think of FreeBSD as a platform for Postfix. It's obviously not > as easy to maintain as Ubuntu, but it does have a reputation for > stability. Any thoughts, recommendations or experiences

Re: Notification of non-delivery

2009-08-17 Thread Eduardo Júnior
Hi, On Mon, Aug 17, 2009 at 4:37 PM, Wietse Venema wrote: > Eduardo Júnior: >> Hi, >> >> where can I read about this? >> How can I change the format and what each part means? > > You can configure the text (see: man 5 bounce) before the > non-deliverable recipients, but you cannot configure the f

Re: postfix terminating on signal 15

2009-08-17 Thread Jeroen van Aart
Wietse Venema wrote: It's unprodictive to kill off Postfix under overload. At the very least you should increase your 35-second deadline. Yes I did increase it to 120 seconds. I understand just killing and restarting postfix is not a solution. As a test I switched the monitor to sending an a

Re: about Maildrop error message "user unknown"

2009-08-17 Thread mouss
ZhenDong,Xu a écrit : > I have installed postfix 2.6 + cyrus-sasl2 + maildrop2.1.0 + mysql5.0.83 > + apache22 + extmail1.1.0 > When i send mail to myself,i can't received.and become the maillog. > I send mail to gmail.com, Gmail can received. > > I have no idea about the log ,someone can help me

Re: postfix performance

2009-08-17 Thread Barney Desmond
2009/8/18 Evan Platt : > At 10:30 AM 8/17/2009, you wrote: >> I just make the test and the performance was not good. Outgoing 1K email >> was around 568 seconds. >> >> Any insight is appreciated. > > Although this will likely be out of my area of being able to help you, > someone else here probably

Re: HELO/EHLO rejection rate

2009-08-17 Thread Michael Orlitzky
LuKreme wrote: I looked at the various rejections for the last 31 days, and I noticed that my unknown/HELO is very very high and my RBL is very very low. 5xx Reject relay denied 0.08% 5xx Reject HELO/EHLO45.97% 5xx Reject DATA

Re: Proper way to add LDAP support to an existing Postfix installation

2009-08-17 Thread Barney Desmond
2009/8/17 Yeray Gutiérrez Cedrés : > I'm running Postfix 2.3.8 in a Debian GNU/Linux 4.0 (Etch) box. I want > it to support LDAP but I don't know what would happen if I install the > postfix-ldap package via apt-get because of this: > > # apt-get install --just-print postfix-ldap > Reading package

Re: Notification of non-delivery

2009-08-17 Thread Wietse Venema
Eduardo J?nior: > Hi, > > where can I read about this? > How can I change the format and what each part means? You can configure the text (see: man 5 bounce) before the non-deliverable recipients, but you cannot configure the format of bounce messages. The format is defined in Internet RFC docum

Re: about Maildrop error message "user unknown"

2009-08-17 Thread Barney Desmond
2009/8/17 ZhenDong,Xu : > I have installed postfix 2.6 + cyrus-sasl2 + maildrop2.1.0 + mysql5.0.83 + > apache22 + extmail1.1.0 > When i send mail to myself,i can't received.and  become the maillog. > I send mail to gmail.com, Gmail can received. > > I have no idea about the log ,someone can help me

Re: header_checks rule skipped

2009-08-17 Thread Noel Jones
Stefan Varga wrote: Hi, I would like to tag/replace each message Subject: with some custom pattern and leave the rest unchanged. I'm using following header_checks rule: /^Subject:.*/ REPLACE Subject: PRE $1 but I get a warning: Aug 17 19:03:57 mail postfix/cleanup[20807]: [ID 947731 mail.warn

header_checks rule skipped

2009-08-17 Thread Stefan Varga
Hi, I would like to tag/replace each message Subject: with some custom pattern and leave the rest unchanged. I'm using following header_checks rule: /^Subject:.*/ REPLACE Subject: PRE $1 but I get a warning: Aug 17 19:03:57 mail postfix/cleanup[20807]: [ID 947731 mail.warning] warning: regexp m

Notification of non-delivery

2009-08-17 Thread Eduardo Júnior
Hi, where can I read about this? How can I change the format and what each part means? In specially, i would like the body of the message sent would come with the notification and the enconding format. I read about daemon bounce in [1], but it's yet not clear for me and hadn't the information

Re: Postfix + Vda patch - problems with bounce

2009-08-17 Thread Wietse Venema
Marcelo Terres: > Well, let me change the subject a little: > > Anybody can indicate me a policy daemon or some solution to reject messages > for over quota at smtp time ? I suggest: maintain an SMTPD access map that rejects mail for users that are over quota; update this access map a few times a

Re: Removing Headers

2009-08-17 Thread Eduardo Júnior
Hi, On Sun, Aug 16, 2009 at 5:56 AM, mouss wrote: > Eduardo Júnior a écrit : >> On Thu, Aug 13, 2009 at 5:43 PM, Magnus Bäck wrote: >>> No, so you need to craft a more precise expression. The look of the >>> Received: header you want to remove is very well-known, so it should >>> be quite easy to

Re: Removing Headers

2009-08-17 Thread Eduardo Júnior
Hi, On Sat, Aug 15, 2009 at 3:58 AM, Reinaldo de Carvalho wrote: > 2009/8/14 Eduardo Júnior : >> >> ok, but there is another way to do what I want. >> The example above was a test. >> Accepting some headers and denying the rest is an alternative: >> >> /^((Resent-)?From|To|Cc|Date|Reply-to|Reply-

Re: Postfix + Vda patch - problems with bounce

2009-08-17 Thread Marcelo Terres
Well, let me change the subject a little: Anybody can indicate me a policy daemon or some solution to reject messages for over quota at smtp time ? This way I don't need to bounce the message like I want to do. Thanks. Regards, Marcelo H. Terres mhter...@gmail.com

Re: postfix mail queue hits a certain limit, needs restart of postfix (not aware of other choices, or root cause)

2009-08-17 Thread Noel Jones
Richard Wurman wrote: I support a couple postfix servers that do a high volume of sending mail (not "direct marketing" :) for billing, invoicing and account update confirmations). On one machine, when the mailq is over 5000, things seem to get "stuck" where I need to restart postfix. If I don't,

Re: Illegal address syntax

2009-08-17 Thread Noel Jones
Eugene Vilensky wrote: According to your problem report, the trading application sends: MAIL FROM:'' The correct SMTP protocol syntax is: MAIL FROM: Not even Sendmail accepts the incorrect syntax. You can easily view the command by logging the SMTP commands (main.cf: debug_peer_list =

Re: tls_random_source and OSX

2009-08-17 Thread Quanah Gibson-Mount
--On Tuesday, July 21, 2009 7:06 PM -0400 Wietse Venema wrote: There wasn't a /dev/*random when Postfix was initially ported to MacOSX, and no-one has told me when /dev/*random were added. Perhaps you can provide "uname -s" and "uname -r". Have you verified that these work? Unfortunately ex

Re: postfix performance

2009-08-17 Thread Evan Platt
At 10:30 AM 8/17/2009, you wrote: All, What do I need to do in order to have better performance on Postfix. I have Centos5 with postfix installed. The mail server is only as a relay mail server and has nothing else. I just make the test and the performance was not good. Outgoing 1K email was

postfix performance

2009-08-17 Thread Mark Johnson
All, What do I need to do in order to have better performance on Postfix. I have Centos5 with postfix installed. The mail server is only as a relay mail server and has nothing else. I just make the test and the performance was not good. Outgoing 1K email was around 568 seconds. Any insight is

Re: Looking for opinions on FreeBSD OS for Postfix

2009-08-17 Thread Reko Turja
I'm considering FreeBSD as an alternative, but I was wondering what people think of FreeBSD as a platform for Postfix. It's obviously not as easy to maintain as Ubuntu, but it does have a reputation for stability. Any thoughts, recommendations or experiences would be appreciated. As you still

Re: postfix mail queue hits a certain limit, needs restart of postfix (not aware of other choices, or root cause)

2009-08-17 Thread lst_hoe02
Zitat von Richard Wurman : I support a couple postfix servers that do a high volume of sending mail (not "direct marketing" :) for billing, invoicing and account update confirmations). On one machine, when the mailq is over 5000, things seem to get "stuck" where I need to restart postfix. If I d

Re: Illegal address syntax

2009-08-17 Thread Eugene Vilensky
> According to your problem report, the trading application sends: > >    MAIL FROM:'' > > The correct SMTP protocol syntax is: > >    MAIL FROM: > > Not even Sendmail accepts the incorrect syntax. > > You can easily view the command by logging the SMTP commands (main.cf: > debug_peer_list = addres

Re: Looking for opinions on FreeBSD OS for Postfix

2009-08-17 Thread Mark Blackman
On 17/08/2009 17:01, Guy wrote: Hi, I'm using Postfix 2.5.5 with Amavis/CLAM. Also looking at adding SpamAssassin in the near future. I've also got Postfix Policyd V2 on my gateways. I've currently got this all running on Ubuntu (Hardy 8.04) and it's been fine so far. I have had one or two probl

Looking for opinions on FreeBSD OS for Postfix

2009-08-17 Thread Guy
Hi, I'm using Postfix 2.5.5 with Amavis/CLAM. Also looking at adding SpamAssassin in the near future. I've also got Postfix Policyd V2 on my gateways. I've currently got this all running on Ubuntu (Hardy 8.04) and it's been fine so far. I have had one or two problems along the way, not with Postfi

Re: postfix mail queue hits a certain limit, needs restart of postfix (not aware of other choices, or root cause)

2009-08-17 Thread Ralf Hildebrandt
* Richard Wurman : > I support a couple postfix servers that do a high volume of sending > mail (not "direct marketing" :) for billing, invoicing and account > update confirmations). On one machine, when the mailq is over 5000, > things seem to get "stuck" where I need to restart postfix. If I > do

Re: 450 temp error when 550 perm error is possible

2009-08-17 Thread KLaM Postmaster
Martijn de Munnik wrote: > Hi all, > > Sometimes our mail server is 'under attack' and we get a lot of these > entries in our log file: > > Aug 17 11:08:19 stevie.youngguns.nl postfix/smtpd[14890]: [ID 197553 > mail.info] NOQUEUE: reject: RCPT from unknown[212.22.199.165]: 450 4.1.8 > : Sender addr

postfix mail queue hits a certain limit, needs restart of postfix (not aware of other choices, or root cause)

2009-08-17 Thread Richard Wurman
I support a couple postfix servers that do a high volume of sending mail (not "direct marketing" :) for billing, invoicing and account update confirmations). On one machine, when the mailq is over 5000, things seem to get "stuck" where I need to restart postfix. If I don't, mail will pile up in the

Re: mutt headers and postfix

2009-08-17 Thread Noel Jones
Joerg Thuemmler wrote: Hi, im using postfix as mta for automatic mail sending out of our db. All db users a logged in as the same (linux) user, as it's a terminal based system. So a created mail has usually @domain.tld from and return-path headers. Of course that's not what I want, every db user

Re: discard external mail to explicit account

2009-08-17 Thread Noel Jones
Benny Pedersen wrote: On Mon, 17 Aug 2009 13:02:34 +0200, oka...@gmail.com wrote: For example we have all-t...@test.com and we want to only allow one-u...@test.com to send an email to all-t...@test.com, others can't send to this email address. http://www.postfwd.org/ and http://www.policyd.or

OT: dkim-milter forked to an OpenDKIM project

2009-08-17 Thread Mark Martinec
For those who missed it, the dkim-milter project forked. Its principal developer is now with the OpenDKIM project. The OpenDKIM v1.0.0 brings a couple of bug fixes over the dkim-milter, and uses a new build mechanism. Mark Here is the announcement posted on 2009-08-14: == The OpenDKIM proj

Re: 450 temp error when 550 perm error is possible

2009-08-17 Thread Benny Pedersen
On Mon, 17 Aug 2009 13:39:39 +0200, Ralf Hildebrandt wrote: > smtpd_recipient_restrictions = >reject_unverified_recipient, >reject_unauth_destination, is a unverified recipient a auth destination ? :) -- Benny Pedersen

Re: discard external mail to explicit account

2009-08-17 Thread Benny Pedersen
On Mon, 17 Aug 2009 13:02:34 +0200, oka...@gmail.com wrote: > For example we have all-t...@test.com and we want to only allow > one-u...@test.com to send an email to all-t...@test.com, others can't > send to this email address. http://www.postfwd.org/ and http://www.policyd.org/ can both do this

Re: 450 temp error when 550 perm error is possible

2009-08-17 Thread Ralf Hildebrandt
* Martijn de Munnik : > > I'd put them all into smtpd_recipient_restrictions #:) > > I did some updates in my main.cf. I've attached the updated file. I kept > the restrictions with the different smtpd_*_restrictions, I find it a > little easier to understand. Thus your initial question :) (pard

Proper way to add LDAP support to an existing Postfix installation

2009-08-17 Thread Yeray Gutiérrez Cedrés
I'm running Postfix 2.3.8 in a Debian GNU/Linux 4.0 (Etch) box. I want it to support LDAP but I don't know what would happen if I install the postfix-ldap package via apt-get because of this: # apt-get install --just-print postfix-ldap Reading package lists... Done Building dependency tree Reading

Re: 450 temp error when 550 perm error is possible

2009-08-17 Thread Martijn de Munnik
On Mon, 2009-08-17 at 12:46 +0200, Ralf Hildebrandt wrote: > * Martijn de Munnik : > > > > Do you have a caching DNS server? > > > > Yes, but still things can go wrong and I don't want a failing DNS lookup > > to be fatal. > > Postfix always returns a 4xx in case of such failures > > > As far

Re: 450 temp error when 550 perm error is possible

2009-08-17 Thread Ralf Hildebrandt
* Martijn de Munnik : > > I'd put them all into smtpd_recipient_restrictions #:) > > http://www.postfix.org/SMTPD_ACCESS_README.html#danger Doesn't apply for your restrictions -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjami

Re: 450 temp error when 550 perm error is possible

2009-08-17 Thread Sahil Tandon
On Mon, 17 Aug 2009, Martijn de Munnik wrote: > On Mon, 2009-08-17 at 12:46 +0200, Ralf Hildebrandt wrote: > > * Martijn de Munnik : > > > > > > Do you have a caching DNS server? > > > > > > Yes, but still things can go wrong and I don't want a failing DNS lookup > > > to be fatal. > > > > Post

Re: 450 temp error when 550 perm error is possible

2009-08-17 Thread Martijn de Munnik
On Mon, 2009-08-17 at 12:46 +0200, Ralf Hildebrandt wrote: > * Martijn de Munnik : > > > > Do you have a caching DNS server? > > > > Yes, but still things can go wrong and I don't want a failing DNS lookup > > to be fatal. > > Postfix always returns a 4xx in case of such failures > > > As far

Re: discard external mail to explicit account

2009-08-17 Thread okahei
On Wed, Jul 22, 2009 at 9:28 PM, wrote: > thanks, that is what i'm looking for. > > BR > > On Wed, Jul 22, 2009 at 8:46 PM, Noel Jones wrote: >> oka...@gmail.com wrote: >>> >>> Hello all. >>> >>> Is there any method to discard all mails coming to t...@test.com >>> except all mails coming from *...

Re: 450 temp error when 550 perm error is possible

2009-08-17 Thread Ralf Hildebrandt
* Martijn de Munnik : > > Do you have a caching DNS server? > > Yes, but still things can go wrong and I don't want a failing DNS lookup > to be fatal. Postfix always returns a 4xx in case of such failures > As far as I know it does. But I see it is also included in > xbl.spamhaus.org. Rather

Re: 450 temp error when 550 perm error is possible

2009-08-17 Thread Martijn de Munnik
On Mon, 2009-08-17 at 11:28 +0200, Ralf Hildebrandt wrote: > * Martijn de Munnik : > > Hi all, > > > > Sometimes our mail server is 'under attack' and we get a lot of these > > entries in our log file: > > > > Aug 17 11:08:19 stevie.youngguns.nl postfix/smtpd[14890]: [ID 197553 > > mail.info] NO

Re: 450 temp error when 550 perm error is possible

2009-08-17 Thread Robert Schetterer
Martijn de Munnik schrieb: > Hi all, > > Sometimes our mail server is 'under attack' and we get a lot of these > entries in our log file: > > Aug 17 11:08:19 stevie.youngguns.nl postfix/smtpd[14890]: [ID 197553 > mail.info] NOQUEUE: reject: RCPT from unknown[212.22.199.165]: 450 4.1.8 > : Sender

Re: about Maildrop error message "user unknown"

2009-08-17 Thread Joerg Thuemmler
ZhenDong,Xu schrieb: > I have installed postfix 2.6 + cyrus-sasl2 + maildrop2.1.0 + mysql5.0.83 > + apache22 + extmail1.1.0 > When i send mail to myself,i can't received.and become the maillog. > I send mail to gmail.com, Gmail can received. > > I have no idea about the log ,someone can help me

Re: 450 temp error when 550 perm error is possible

2009-08-17 Thread Ralf Hildebrandt
* Martijn de Munnik : > Hi all, > > Sometimes our mail server is 'under attack' and we get a lot of these > entries in our log file: > > Aug 17 11:08:19 stevie.youngguns.nl postfix/smtpd[14890]: [ID 197553 > mail.info] NOQUEUE: reject: RCPT from unknown[212.22.199.165]: 450 4.1.8 > : Sender addre

450 temp error when 550 perm error is possible

2009-08-17 Thread Martijn de Munnik
Hi all, Sometimes our mail server is 'under attack' and we get a lot of these entries in our log file: Aug 17 11:08:19 stevie.youngguns.nl postfix/smtpd[14890]: [ID 197553 mail.info] NOQUEUE: reject: RCPT from unknown[212.22.199.165]: 450 4.1.8 : Sender address rejected: Domain not found; from= t

about Maildrop error message "user unknown"

2009-08-17 Thread ZhenDong,Xu
I have installed postfix 2.6 + cyrus-sasl2 + maildrop2.1.0 + mysql5.0.83 + apache22 + extmail1.1.0 When i send mail to myself,i can't received.and become the maillog. I send mail to gmail.com, Gmail can received. I have no idea about the log ,someone can help me .Thanks. ###I have repla

mutt headers and postfix

2009-08-17 Thread Joerg Thuemmler
Hi, im using postfix as mta for automatic mail sending out of our db. All db users a logged in as the same (linux) user, as it's a terminal based system. So a created mail has usually @domain.tld from and return-path headers. Of course that's not what I want, every db user should have his own from