can't relay even for mynetworks

2009-03-23 Thread Madeleine Birkemose
I have a very simple problem. I have a small /28 network and I want my postfix host (mose.fekiworld.dk, 87.48.217.12) to relay ALL mail for all my other machines in this network. However, even if I set mynetworks right, and I still get 554-rejections like this (from mail.log): Mar 21 17:25:50 mose

Re: Postfix and virtual users with additional_condition

2009-03-23 Thread Sebastian Chociwski
Hello, sorry for the trouble i couse but as you may nothice I'm not very experienced user . I am really grateful for your help. I DO. Victor Duchovni pisze: > On Fri, Mar 20, 2009 at 11:35:09PM +0100, Sebastian Chociwski wrote: > >> I am (almost ;) ) 100% sure that only mail could be delivered is

Re: can't relay even for mynetworks

2009-03-23 Thread Barney Desmond
2009/3/23 Madeleine Birkemose : > I have a very simple problem. I have a small /28 network and I want my > postfix host (mose.fekiworld.dk, 87.48.217.12) to relay ALL mail for > all my other machines in this network. However, even if I set > mynetworks right, and I still get 554-rejections like thi

Separating relay control from other checks

2009-03-23 Thread Rocco Scappatura
Hello, I felt interesting the discussion started by mouss in thread "whitelist from spamhaus", and particularly the content of the email: http://archives.neohapsis.com/archives/postfix/2006-05/0598.html written by Viktor. Indeed, I have started since some weeks to use the Postfix SMTP polic

header_checks for a specific client or sender

2009-03-23 Thread Martin Strand
Is it possible to make a header_checks rule apply only to a certain client? I've got an annoying piece of software which sends messages through Postfix. This software insists on including a "Sender" header that I wish to filter out with Postfix, but only for this certain client (or the envelope s

Restrict delivery of mail to some addresses to local senders

2009-03-23 Thread mikie mike
Sorry for this simple and probably already asked question but I couldn't find any answer anyway... How to restrict delivery of mail to some addresses (especially local aliases) to senders from local domains only? e.g. I would like only senders from @mycompany.com to be allowed to send a message

milter protocol

2009-03-23 Thread Danilo Paffi Monteiro
Hello, This question is stupid, I Think. I'm trying to understand how milter works, to implement some filters (develop a milter program) I haven't found a good documentation about the protocol, actually the ones that I found are very hard to understand. Does anyone knows some documentation like

Re: milter protocol

2009-03-23 Thread Erwan David
On Mon, Mar 23, 2009 at 01:12:53PM CET, Danilo Paffi Monteiro said: > Hello, > > This question is stupid, I Think. > > I'm trying to understand how milter works, to implement some filters > (develop a milter program) > > I haven't found a good documentation about the protocol, actually the > o

Re: Restrict delivery of mail to some addresses to local senders

2009-03-23 Thread Costin Guşă
On Mon, Mar 23, 2009 at 1:32 PM, mikie mike wrote: > Sorry for this simple and probably already asked question but I couldn't > find any answer anyway... > > How to restrict delivery of mail to some addresses (especially local > aliases) to senders from local domains only? > > e.g. > > I would lik

Re: milter protocol

2009-03-23 Thread Andrzej Adam Filip
Danilo Paffi Monteiro wrote: > This question is stupid, I Think. > > I'm trying to understand how milter works, to implement some filters > (develop a milter program) > > I haven't found a good documentation about the protocol, actually the > ones that I found are very hard to understand. > > Does

Re: milter protocol

2009-03-23 Thread Wietse Venema
Danilo Paffi Monteiro: > Hello, > > This question is stupid, I Think. > > I'm trying to understand how milter works, to implement some filters > (develop a milter program) The Milter API documentation is included with Sendmail source code. It describes the over-all architecture and API. It's not

Re: Postfix and virtual users with additional_condition

2009-03-23 Thread Brian Evans - Postfix List
Sebastian Chociwski wrote: > myhostname = suse11.eurimage.pl > mydestination = suse11.eurimage.pl, localhost, localhost.localdomain > mynetworks = 127.0.0.0/8 > virtual_alias_domains = > virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, > mysql:/etc/postfix/mysql-virtual_e

Re: Postfix and virtual users with additional_condition

2009-03-23 Thread Victor Duchovni
On Mon, Mar 23, 2009 at 09:41:14AM +0100, Sebastian Chociwski wrote: > > On Fri, Mar 20, 2009 at 11:35:09PM +0100, Sebastian Chociwski wrote: > > > >> I am (almost ;) ) 100% sure that only mail could be delivered is in ONE > >> mysql db. > > > > What in your Postfix configuration do you expect to

Re: Postfix and virtual users with additional_condition

2009-03-23 Thread Sebastian Chociwski
Victor Duchovni pisze: > On Mon, Mar 23, 2009 at 09:41:14AM +0100, Sebastian Chociwski wrote: > >>> On Fri, Mar 20, 2009 at 11:35:09PM +0100, Sebastian Chociwski wrote: >>> > WHICH CONFIGURATION SETTINGS DO YOU EXPECT DO THIS? Of course I thought it was _email2email.cf . Now I see how wrong I was.

Re: header_checks for a specific client or sender

2009-03-23 Thread Terry Carmen
Martin Strand wrote: Is it possible to make a header_checks rule apply only to a certain client? I've got an annoying piece of software which sends messages through Postfix. This software insists on including a "Sender" header that I wish to filter out with Postfix, but only for this certain cl

Fedora10 RPM build from src fails.

2009-03-23 Thread James A R Brown
Hi, Hopefully someone can point me in the right direction to resolving the following attempted RPM build on Fedora10 X86_64. I have tried this now on 2 F10 machines. I also revisited Postfix 2.4.5 src which used to build on F7 ok, but this package will also not build on F10 as won't 2.5.6 Thank

Fedora10 RPM build from src fails.

2009-03-23 Thread James A R Brown
Hi, Hopefully someone can point me in the right direction to resolving the following attempted RPM build on Fedora10 X86_64. I have tried this now on 2 F10 machines. I also revisited Postfix 2.4.5 src which used to build on F7 ok, but this package will also not build on F10 as won't 2.5.6 Thank

Re: Fedora10 RPM build from src fails.

2009-03-23 Thread Alan Munday
James A R Brown wrote the following on 23/03/09 14:38: > Hi, > > Hopefully someone can point me in the right direction to resolving the > following attempted RPM build on Fedora10 X86_64. > > I have tried this now on 2 F10 machines. > > I also revisited Postfix 2.4.5 src which used to build on F

Re: header_checks for a specific client or sender

2009-03-23 Thread Martin Strand
On Mon, 23 Mar 2009 15:28:03 +0100, Terry Carmen wrote: > Martin Strand wrote: >> Is it possible to make a header_checks rule apply only to a certain client? >> >> I've got an annoying piece of software which sends messages through Postfix. >> This software insists on including a "Sender" header

Re: header_checks for a specific client or sender

2009-03-23 Thread Noel Jones
Martin Strand wrote: On Mon, 23 Mar 2009 15:28:03 +0100, Terry Carmen wrote: Martin Strand wrote: Is it possible to make a header_checks rule apply only to a certain client? I've got an annoying piece of software which sends messages through Postfix. This software insists on including a "Sen

Re: can't relay even for mynetworks

2009-03-23 Thread Noel Jones
Madeleine Birkemose wrote: I have a very simple problem. I have a small /28 network and I want my postfix host (mose.fekiworld.dk, 87.48.217.12) to relay ALL mail for all my other machines in this network. However, even if I set mynetworks right, and I still get 554-rejections like this (from mai

Re: Fedora10 RPM build from src fails.

2009-03-23 Thread James A R Brown
Hi Alan, Have you managed a temporary workaround to build the rpm? ie there a way of changing the build root directory which is indexed I guess by rpm --eval '%{_sourcedir}' Or is this hard compiled into the RPM program? If what you are saying is the case, bit concerned how to get the mail serv

Re: header_checks for a specific client or sender

2009-03-23 Thread Terry Carmen
Martin Strand wrote: On Mon, 23 Mar 2009 15:28:03 +0100, Terry Carmen wrote: Martin Strand wrote: Is it possible to make a header_checks rule apply only to a certain client? I've got an annoying piece of software which sends messages through Postfix. This software insists on includin

Re: Fedora10 RPM build from src fails.

2009-03-23 Thread Terry Carmen
James A R Brown wrote: Hi Alan, Have you managed a temporary workaround to build the rpm? ie there a way of changing the build root directory which is indexed I guess by rpm --eval '%{_sourcedir}' Or is this hard compiled into the RPM program? If what you are saying is the case, bit concerned

Re: can't relay even for mynetworks

2009-03-23 Thread Wietse Venema
Madeleine Birkemose: > Mar 21 17:25:50 mose postfix/smtpd[14019]: NOQUEUE: reject: RCPT from > ippenutt.fekiworld.dk[87.48.217.3]: 554 5.7.1 : > Relay access denied; from= > to= proto=SMTP helo= ... > mynetworks = 127.0.0.0/8 [:::127.0.0.0]/104 [::1]/128 87.48.217.3 does not match the mynetwor

Re: Postfix and virtual users with additional_condition

2009-03-23 Thread Victor Duchovni
On Mon, Mar 23, 2009 at 03:26:36PM +0100, Sebastian Chociwski wrote: > > Identity mappings (fixedu...@example.com -> fixedu...@example.com) are > > not terribly useful unless you also have a catch-all address. Why do you > > have these at all? > > Becouse I thought it is responsible for delivering

Re: Separating relay control from other checks

2009-03-23 Thread Victor Duchovni
On Mon, Mar 23, 2009 at 10:16:45AM +0100, Rocco Scappatura wrote: > A further question: "How I say to postfix to use > 'smtpd_rcpt_restriction_classes' and where it will be evaluated?" You can't. This is a hypothetical feature. It has not yet been (and may never be) implemented. -- Vikt

RE: Separating relay control from other checks

2009-03-23 Thread Rocco Scappatura
> > A further question: "How I say to postfix to use > > 'smtpd_rcpt_restriction_classes' and where it will be evaluated?" > > You can't. This is a hypothetical feature. It has not yet been (and may > never be) implemented. :-( What a shame! I think that it could be very nice.. rocsca

Re: Separating relay control from other checks

2009-03-23 Thread Victor Duchovni
On Mon, Mar 23, 2009 at 05:10:49PM +0100, Rocco Scappatura wrote: > > > A further question: "How I say to postfix to use > > > 'smtpd_rcpt_restriction_classes' and where it will be evaluated?" > > > > You can't. This is a hypothetical feature. It has not yet been (and > may > > never be) implemen

RE: Separating relay control from other checks

2009-03-23 Thread Rocco Scappatura
Viktor, > > > > A further question: "How I say to postfix to use > > > > 'smtpd_rcpt_restriction_classes' and where it will be evaluated?" > > > > > > You can't. This is a hypothetical feature. It has not yet been (and > > may > > > never be) implemented. > > > > :-( > > > > What a shame! I think

Re: Fedora10 RPM build from src fails.

2009-03-23 Thread James A R Brown
Hi Alan, Looks like its not the paths. I edited /usr/lib/rpm/macros :- #Path to top of build area. #%_topdir %(echo $HOME)/rpmbuild %_topdir/usr/src/redhat Then I tried again from fresh. You can see below same error, but new path is being used. James [r...@jblap

Re: Fedora10 RPM build from src fails.

2009-03-23 Thread Roderick A. Anderson
James A R Brown wrote: Hi Alan, Looks like its not the paths. I edited /usr/lib/rpm/macros :- #Path to top of build area. #%_topdir %(echo $HOME)/rpmbuild %_topdir/usr/src/redhat Then I tried again from fresh. You can see below same error, but new path is being

Sender Notification of Defered messages

2009-03-23 Thread Christopher Fisk
I can't seem to create a proper google search to help me find what I'm looking for, I'm hoping someone here can point me to the configuration option. I want to send a notification to our users if an email hasn't been sent for 4 hours after they hit the send button. Right now the user gets a

Mail drop

2009-03-23 Thread Brandon Hilkert
Does postfix have the ability to send out emails placed in a specific folder through the file system, or does it require a sendmail-style command to get the sending invoked? If so, what folder will do this?

Re: Mail drop

2009-03-23 Thread Victor Duchovni
On Mon, Mar 23, 2009 at 01:09:12PM -0400, Brandon Hilkert wrote: > Does postfix have the ability to send out emails placed in a specific > folder through the file system, or does it require a sendmail-style > command to get the sending invoked? > > If so, what folder will do this? http://www.pos

Re: Sender Notification of Defered messages

2009-03-23 Thread lst_hoe02
Zitat von Christopher Fisk : I can't seem to create a proper google search to help me find what I'm looking for, I'm hoping someone here can point me to the configuration option. I want to send a notification to our users if an email hasn't been sent for 4 hours after they hit the send bu

Re: Fedora10 RPM build from src fails.

2009-03-23 Thread James A R Brown
Rod, This is the reject file. Think I will look at the possibility of tweaking the postfix-files.patch as clearly the patch is finding a difference it is not expecting. I think you are right... its something to do with Fedora, but patching a file should not really change. /usr/src/redhat/BUILD/po

Re: Fedora10 RPM build from src fails.

2009-03-23 Thread Melvyn Sopacua
On Monday 23 March 2009 18:29:40 James A R Brown wrote: > Rod, This is the reject file. Think I will look at the possibility of > tweaking the postfix-files.patch as clearly the patch is finding a > difference it is not expecting. > > I think you are right... its something to do with Fedora, but pa

Re: Fedora10 RPM build from src fails.

2009-03-23 Thread Wietse Venema
Melvyn Sopacua: > > $manpage_directory/man1/postmap.1:f:root:-:644 > > $manpage_directory/man1/postqueue.1:f:root:-:644 > > $manpage_directory/man1/postsuper.1:f:root:-:644 > > + $manpage_directory/man1/sendmail.postfix.1:f:root:-:644 > > $manpage_directory/man5/access.5:f:root:-:644 > > +

Re: Mail drop

2009-03-23 Thread Brandon Hilkert
- Original Message - From: "Victor Duchovni" To: Sent: Monday, March 23, 2009 1:12 PM Subject: Re: Mail drop On Mon, Mar 23, 2009 at 01:09:12PM -0400, Brandon Hilkert wrote: Does postfix have the ability to send out emails placed in a specific folder through the file system, or d

Re: Mail drop

2009-03-23 Thread Victor Duchovni
On Mon, Mar 23, 2009 at 03:33:01PM -0400, Brandon Hilkert wrote: > We have a large text file with contents of the eml message for each person > in a list. If I find a way to parse each email, is there an easy way to > inject them into the queue, rather than relaying, because as many have said >

Re: Fedora10 RPM build from src fails.

2009-03-23 Thread James A R Brown
Hi Wietse, The rpm in question that I was using is this one :- http://ftp.wl0.org/official/2.5/SRPMS/postfix-2.5.6-1.src.rpm I have emailed Simon Mudd. James On Mon, 2009-03-23 at 15:14 -0400, Wietse Venema wrote: > Melvyn Sopacua: > > > $manpage_directory/man1/postmap.1:f:root:-:644 > > >

Re: Mail drop

2009-03-23 Thread Magnus Bäck
On Monday, March 23, 2009 at 20:33 CET, Brandon Hilkert wrote: > > http://www.postfix.org/OVERVIEW.html#receiving > > We have a large text file with contents of the eml message for each > person in a list. If I find a way to parse each email, is there an > easy way to inject them into the q

Re: Mail drop

2009-03-23 Thread Wietse Venema
Brandon Hilkert: > From: "Victor Duchovni" > To: > Sent: Monday, March 23, 2009 1:12 PM > Subject: Re: Mail drop > > > > On Mon, Mar 23, 2009 at 01:09:12PM -0400, Brandon Hilkert wrote: > > > >> Does postfix have the ability to send out emails placed in a specific > >> folder through the file s

Re: Mail drop

2009-03-23 Thread Brandon Hilkert
- Original Message - From: "Victor Duchovni" To: Sent: Monday, March 23, 2009 3:37 PM Subject: Re: Mail drop On Mon, Mar 23, 2009 at 03:33:01PM -0400, Brandon Hilkert wrote: We have a large text file with contents of the eml message for each person in a list. If I find a way to

Re: Mail drop

2009-03-23 Thread Victor Duchovni
On Mon, Mar 23, 2009 at 03:58:29PM -0400, Brandon Hilkert wrote: > Having said that, we build a huge text file (~30GB) with about 1 million > eml messages as its contents. The sender utility then parses out email by > email and submits it to the IIS SMTP. We're trying to not have to modify > th

Re: Mail drop

2009-03-23 Thread Brandon Hilkert
- Original Message - From: "Victor Duchovni" To: Sent: Monday, March 23, 2009 4:08 PM Subject: Re: Mail drop On Mon, Mar 23, 2009 at 03:58:29PM -0400, Brandon Hilkert wrote: Having said that, we build a huge text file (~30GB) with about 1 million eml messages as its contents. The

Re: Mail drop

2009-03-23 Thread Victor Duchovni
On Mon, Mar 23, 2009 at 04:16:06PM -0400, Brandon Hilkert wrote: >>> Having said that, we build a huge text file (~30GB) with about 1 million >>> eml messages as its contents. The sender utility then parses out email by >>> email and submits it to the IIS SMTP. We're trying to not have to modify >

Re: Mail drop

2009-03-23 Thread Brandon Hilkert
- Original Message - From: "Victor Duchovni" To: Sent: Monday, March 23, 2009 4:29 PM Subject: Re: Mail drop On Mon, Mar 23, 2009 at 04:16:06PM -0400, Brandon Hilkert wrote: Having said that, we build a huge text file (~30GB) with about 1 million eml messages as its contents. The

Re: Mail drop

2009-03-23 Thread Victor Duchovni
On Mon, Mar 23, 2009 at 04:32:43PM -0400, Brandon Hilkert wrote: >> The application won't run any faster than the code that serially parses >> the 30GB file. If this code can use a pool of SMTP sender "threads" and >> can parse the file quickly enough, you could try that. > > The parsing isn't a b

Re: Mail drop

2009-03-23 Thread Brandon Hilkert
- Original Message - From: "Victor Duchovni" To: Sent: Monday, March 23, 2009 4:43 PM Subject: Re: Mail drop On Mon, Mar 23, 2009 at 04:32:43PM -0400, Brandon Hilkert wrote: The application won't run any faster than the code that serially parses the 30GB file. If this code can us

Re: Mail drop

2009-03-23 Thread Melvyn Sopacua
On Monday 23 March 2009 21:16:06 Brandon Hilkert wrote: > I appreciate the insight. Unfortunately the process is what it is. I don't > have any control over development. My job is to make sure the systems work > properly. I'm trying to help as asked. The file also contains html to allow > a user t

Re: Mail drop

2009-03-23 Thread Victor Duchovni
On Mon, Mar 23, 2009 at 04:51:17PM -0400, Brandon Hilkert wrote: > > - Original Message - From: "Victor Duchovni" > > To: > Sent: Monday, March 23, 2009 4:43 PM > Subject: Re: Mail drop > > >> On Mon, Mar 23, 2009 at 04:32:43PM -0400, Brandon Hilkert wrote: >> The application won't

Re: Mail drop

2009-03-23 Thread Brandon Hilkert
- Original Message - From: "Victor Duchovni" To: Sent: Monday, March 23, 2009 5:15 PM Subject: Re: Mail drop On Mon, Mar 23, 2009 at 04:51:17PM -0400, Brandon Hilkert wrote: - Original Message - From: "Victor Duchovni" To: Sent: Monday, March 23, 2009 4:43 PM Subject:

Re: Mail drop

2009-03-23 Thread Wietse Venema
Brandon Hilkert: > I"m not disputing this fact. I used smtp-source with 10 connections. > > Without DKIM signing - 14,634 emails/min > With DKIM signing - 4,762 emails/min > > I think we would both agree that that's a large discrepancy. Yes. > I'm using DKIM-milter. During the testing, the CPU

Re: Mail drop

2009-03-23 Thread Victor Duchovni
On Mon, Mar 23, 2009 at 05:34:42PM -0400, Brandon Hilkert wrote: >> if DKIM consumes all available CPU, find a faster DKIM engine. If DKIM >> clobbers the disk capacity, consider placing the working area of the DKIM >> process in tmpfs, because neither milters nor SMTP proxies queue mail, so >> th

Re: Mail drop

2009-03-23 Thread Brandon Hilkert
- Original Message - From: "Wietse Venema" To: "Postfix users" Sent: Monday, March 23, 2009 5:39 PM Subject: Re: Mail drop Brandon Hilkert: I"m not disputing this fact. I used smtp-source with 10 connections. Without DKIM signing - 14,634 emails/min With DKIM signing - 4,762 emai

Re: Mail drop

2009-03-23 Thread Victor Duchovni
On Mon, Mar 23, 2009 at 05:54:07PM -0400, Brandon Hilkert wrote: >> dkim-milter is one program that you are asking to sign lots of >> messages in parallel. To implement parallelism, dkim-milter uses >> mutiple threads in one process. To keep the threads from tripping >> over each other, dkim-milte

Re: Mail drop

2009-03-23 Thread Brandon Hilkert
- Original Message - From: "Victor Duchovni" To: Sent: Monday, March 23, 2009 5:57 PM Subject: Re: Mail drop On Mon, Mar 23, 2009 at 05:54:07PM -0400, Brandon Hilkert wrote: dkim-milter is one program that you are asking to sign lots of messages in parallel. To implement parallel

Special Characters in Address

2009-03-23 Thread Mischa Gresser
Hello all, I'm having an issue that I believe is coming from Postfix. I am sending mail to an address which contains special characters. Those characters aid me in routing the mail but unfortunately it seems to be rejected before being relayed. The format is as follows, a block of text followed by

Re: Special Characters in Address

2009-03-23 Thread Evan Platt
At 03:54 PM 3/23/2009, you wrote: Hello all, I'm having an issue that I believe is coming from Postfix. I am sending mail to an address which contains special characters. Those characters aid me in routing the mail but unfortunately it seems to be rejected before being relayed. The format is a

Re: Special Characters in Address

2009-03-23 Thread Mischa Gresser
Thanks for the quick reply. Sure thing on the logs. 20090320 22:42:55 38236 49A2055900086768 QUEUE From=> Size=1203 Relay=192.168.xxx.xxx 20090320 22:42:55 38237 49A2055900086768 QUEUE Recipient=> 20090320 22:42:55 38238 49A2055900086768 QUEUE Message-ID=< 11b8df6cb

Re: Special Characters in Address

2009-03-23 Thread Aaron Wolfe
On Mon, Mar 23, 2009 at 7:11 PM, Mischa Gresser wrote: > Thanks for the quick reply. Sure thing on the logs. > > 20090320 22:42:55 38236   49A2055900086768 QUEUE > From= Size=1203 Relay=192.168.xxx.xxx > > 20090320 22:42:55 38237   49A2055900086768 QUEUE > Recipient= > > 20090320 2

Re: Mail drop

2009-03-23 Thread Victor Duchovni
On Mon, Mar 23, 2009 at 06:15:13PM -0400, Brandon Hilkert wrote: >> MEASURE! Find out what is slowing it down. When you know what that >> is, ask the question again. > > What are the best tools to get a feel for hardware performance and > utilitization? Top, atop, vmstat ? > > As you can probably

Re: Special Characters in Address

2009-03-23 Thread Melvyn Sopacua
On Monday 23 March 2009 23:54:24 Mischa Gresser wrote: > The format is as follows, a block of text followed by an "=" > followed by more text and a number, followed by a "|" and then numbers @ > the domain.com ie: "text=option1|123456...@address.com". > When sending from Gmail for instance I get t

Re: Special Characters in Address

2009-03-23 Thread Victor Duchovni
On Mon, Mar 23, 2009 at 07:15:02PM -0400, Aaron Wolfe wrote: > > 20090320 22:42:57 38247?? 49A2055900086768 DSN > > For= Action=Failed Status=5.5.0 (other or undefined > > protocol status) Diagnostic 501 5.1.3 Bad recipient address syntax > > > > those don't look like postfix logs. also

Re: Mail drop

2009-03-23 Thread Wietse Venema
Victor Duchovni: > and may be causing high disk latency. You have to tune the milter > configuration There is no need for dkim-milter to touch the disk. It receives header and body content from Postfix via the Milter protocol. I know this, because I implemented the Postfix side of the protocol.

Re: Mail drop

2009-03-23 Thread Wietse Venema
Brandon Hilkert: [ Charset ISO-8859-1 unsupported, converting... ] > > - Original Message - > From: "Wietse Venema" > To: "Postfix users" > Sent: Monday, March 23, 2009 5:39 PM > Subject: Re: Mail drop > > > > Brandon Hilkert: > >> I"m not disputing this fact. I used smtp-source with

Re: Special Characters in Address

2009-03-23 Thread Wietse Venema
Aaron Wolfe: > > 20090320 22:42:56 38242?? 49A2055900086768 SMTP RCPT TO > > got reply '501 5.1.3 Bad recipient address > > syntax' The above logging is from the system that is sending mail into Postfix. To find out what commands the client sends you need to turn on logging (debug_peer_l

Re: Mail drop

2009-03-23 Thread Victor Duchovni
On Mon, Mar 23, 2009 at 07:24:50PM -0400, Wietse Venema wrote: > Victor Duchovni: > > and may be causing high disk latency. You have to tune the milter > > configuration > > There is no need for dkim-milter to touch the disk. It receives > header and body content from Postfix via the Milter prot

Best method to throttle mail to one user

2009-03-23 Thread jeffs
I have a postfix system set up that works fine (well, maybe that is because it is not totally on-line yet :-\ ). But testing has been great. Once it goes live this system is going to be used to send email alerts to users based on certain database activity. Actually, a script which runs again

Re: Best method to throttle mail to one user

2009-03-23 Thread Terry Carmen
jeffs wrote: I have a postfix system set up that works fine (well, maybe that is because it is not totally on-line yet :-\ ). But testing has been great. Once it goes live this system is going to be used to send email alerts to users based on certain database activity. Actually, a script whi

Re: Special Characters in Address

2009-03-23 Thread Aaron Wolfe
On Mon, Mar 23, 2009 at 7:44 PM, Mischa Gresser wrote: > Is this the correct log? > > Mar 20 10:13:01 hostname postfix/qmgr[15441]: 39F9BAD0063: removed > Mar 20 10:13:31 hostname postfix/smtpd[31210]: connect from > qw-out-2122.google.com[74.125.92.26] > Mar 20 10:13:32 hostname postfix/smtpd[312

Re: Special Characters in Address

2009-03-23 Thread Wietse Venema
Mischa Gresser: > Mar 20 10:13:32 hostname postfix/smtpd[31210]: warning: Illegal address > syntax from qw-out-2122.google.com[74.125.92.26] in RCPT command: 1231231...@xxx.ca <4034767...@crebifax.ca>> The RCPT command syntax is: RCPT TO:<4034767...@crebifax.ca> Not: RCPT TO:> The aut

Re: Best method to throttle mail to one user

2009-03-23 Thread jeffs
Sahil Tandon wrote: On Mon, 23 Mar 2009, jeffs wrote: There is the slight potential for abuse by these logged in users that one or two may figure out a way to send spam through this system by forging (not login) credentials that the database uses to sort out outbound email. This

Re: Special Characters in Address

2009-03-23 Thread Mischa Gresser
Is this the correct log? Mar 20 10:13:01 hostname postfix/qmgr[15441]: 39F9BAD0063: removed Mar 20 10:13:31 hostname postfix/smtpd[31210]: connect from qw-out-2122.google.com[74.125.92.26] Mar 20 10:13:32 hostname postfix/smtpd[31210]: warning: Illegal address syntax from qw-out-2122.google.com[7

Re: Mail drop

2009-03-23 Thread Brandon Hilkert
- Original Message - From: "Wietse Venema" To: Sent: Monday, March 23, 2009 7:42 PM Subject: Re: Mail drop Victor Duchovni: On Mon, Mar 23, 2009 at 07:24:50PM -0400, Wietse Venema wrote: > Victor Duchovni: > > and may be causing high disk latency. You have to tune the milter > >

Re: Best method to throttle mail to one user

2009-03-23 Thread Sahil Tandon
On Mon, 23 Mar 2009, jeffs wrote: > There is the slight potential for abuse by these logged in users that > one or two may figure out a way to send spam through this system by > forging (not login) credentials that the database uses to sort out > outbound email. This is really shady. Why c

Re: Mail drop

2009-03-23 Thread Wietse Venema
Victor Duchovni: > On Mon, Mar 23, 2009 at 07:24:50PM -0400, Wietse Venema wrote: > > > Victor Duchovni: > > > and may be causing high disk latency. You have to tune the milter > > > configuration > > > > There is no need for dkim-milter to touch the disk. It receives > > header and body content

OT Re: Best method to throttle mail to one user

2009-03-23 Thread Terry Carmen
jeffs wrote: Sahil Tandon wrote: On Mon, 23 Mar 2009, jeffs wrote: There is the slight potential for abuse by these logged in users that one or two may figure out a way to send spam through this system by forging (not login) credentials that the database uses to sort out outbound email

Re: header_checks for a specific client or sender

2009-03-23 Thread mouss
Martin Strand a écrit : > Is it possible to make a header_checks rule apply only to a certain client? > No. > I've got an annoying piece of software which sends messages through Postfix. > This software insists on including a "Sender" header that I wish to filter > out with Postfix, but only fo

Re: header_checks for a specific client or sender

2009-03-23 Thread Martin Strand
On Mon, 23 Mar 2009 16:22:42 +0100, Noel Jones wrote: >> No, it's only the "Sender" *header* that's causing problems, not the actual >> envelope sender. >> I added an IGNORE line to filter out all Sender headers, but I would prefer >> to only apply that filter to this specific client. >> After r

Re: Mail drop

2009-03-23 Thread Victor Duchovni
On Mon, Mar 23, 2009 at 07:46:16PM -0400, Brandon Hilkert wrote: >>> Tracing the system calls in the milter may help (when sending just >>> one message to reduce confusion). >> >> strace-ing a multi-threaded program, have fun. That's why only one message should be sent. There should not be too ma

Re: Special Characters in Address

2009-03-23 Thread Victor Duchovni
On Mon, Mar 23, 2009 at 07:44:28PM -0400, Mischa Gresser wrote: > Is this the correct log? > > > Mar 20 10:13:01 hostname postfix/qmgr[15441]: 39F9BAD0063: removed > Mar 20 10:13:31 hostname postfix/smtpd[31210]: connect from > qw-out-2122.google.com[74.125.92.26] > Mar 20 10:13:32 hostname post

Re: Special Characters in Address

2009-03-23 Thread Aaron Wolfe
On Mon, Mar 23, 2009 at 8:11 PM, Wietse Venema wrote: > Mischa Gresser: >> Mar 20 10:13:32 hostname postfix/smtpd[31210]: warning: Illegal address >> syntax from qw-out-2122.google.com[74.125.92.26] in RCPT command: > 1231231...@xxx.ca <4034767...@crebifax.ca>> > > The RCPT command syntax is: > >

MAIL TO DEAD DESTINATION

2009-03-23 Thread Ashwin Muni
I have a query i want postfix not to try sending mails to a destination which is dead. Does postfix maintains cache or is there any settings to be done for it. Tried googleing found this two directives. But dont exactly know it really works . minimal_backoff_time = 86400 maximal_backoff_time = 86

Re: MAIL TO DEAD DESTINATION

2009-03-23 Thread Sahil Tandon
On Tue, 24 Mar 2009, Ashwin Muni wrote: > I have a query i want postfix not to try sending mails to a destination > which is dead. Does postfix maintains cache or is there any settings to be > done for it. Tried googleing found this two directives. But dont exactly > know it really works . > > mi

Re: MAIL TO DEAD DESTINATION

2009-03-23 Thread Jim Wright
On Mar 23, 2009, at 11:01 PM, Ashwin Muni wrote: Ex: I'm sending a mail to xyz.com and my server could not connect to the xyz.com smtp server. My mail gets deffered and then it tries as per my setting but later another user of mine tries to send mail to the same domain and it happens again.

Re: MAIL TO DEAD DESTINATION

2009-03-23 Thread Victor Duchovni
On Tue, Mar 24, 2009 at 09:31:03AM +0530, Ashwin Muni wrote: > I have a query i want postfix not to try sending mails to a destination > which is dead. Does postfix maintains cache or is there any settings to be > done for it. Tried googleing found this two directives. But dont exactly > know it r

Re: MAIL TO DEAD DESTINATION

2009-03-23 Thread Ashwin Muni
On Tue, Mar 24, 2009 at 9:31 AM, Ashwin Muni wrote: > I have a query i want postfix not to try sending mails to a destination > which is dead. Does postfix maintains cache or is there any settings to be > done for it. Tried googleing found this two directives. But dont exactly > know it really wo

MAX SMTP connection

2009-03-23 Thread Ashwin Muni
what is the directive to limit no of smtp connection to a same destination (Not Message) and what is the directive that can set no of messages per smtp connections -- Ashwin R.

Re: MAX SMTP connection

2009-03-23 Thread Barney Desmond
2009/3/24 Ashwin Muni : > what is the directive to limit no of smtp connection to a same destination > (Not Message) and what is the directive that can set no of messages per smtp > connections http://www.postfix.org/postconf.5.html#default_destination_concurrency_limit http://www.postfix.org/pos

Re: restricting sender to send outside and allow only as defined (now ok)

2009-03-23 Thread aio shin
On 3/17/09, Charles Marcus wrote: > On 3/16/2009, aio shin (aios...@gmail.com) wrote: >> here the result of postconf -n > > Please don't FORMAT it (ie, add blank lines, etc)... just copy/paste it > AS IS. > > I fyou really want help on the postfix list, you really do need to read > the DEBUG_READM