Re: Performance tuning

2009-03-21 Thread Ralf Hildebrandt
* Brandon Hilkert bhilk...@vt.edu: any thoughts on how to mount the ramfs to get a true test of running the queue in memory? In /etc/fstab: /dev/shm /var/spool/postfix tmpfs defaults,size=300m,mode=770,uid=0,gid=0 0 0 -- Ralf Hildebrandt Postfix - Einrichtung, Betrieb und

Re: (postfix newbe) Postfix broken after MailScanner upgrade

2009-03-21 Thread Gregory Machin
On Sat, Mar 21, 2009 at 1:26 AM, mouss mo...@ml.netoyen.net wrote: Gregory Machin a écrit : Hi I'm green to Postfix. I have 2 anti-spam servers that I upgraded MailScanner to the latest version and a completely new install of MailScanner and postfix etc. All three have the same problems . the

SRS or RPR in Postfix

2009-03-21 Thread Yves Kreis
Dear, Is it (technically) possible to implement SRS or RPR in Postfix using either a milter plugin or a policy? Does anyone know of such an implementation? Is the new sendmail socketmap functionality available in Postfix? Thanks, Yves

Re: Performance tuning

2009-03-21 Thread Wietse Venema
Brandon Hilkert: I was able to mount it to a tmpfs partition. There was no change in throughput with my script on a tmpfs vs ext3 drive. That depends entirely on how good the script is. You were talking about sending mail from Exchange though Postfix. Now you are talking about a home-grown

Re: bounce the permanent error messages in queue

2009-03-21 Thread Wietse Venema
Tony Liu: Any thoughts on how to bounce the following permanent messages immediately - without being in queue for a long time(for example in queue 5 days)? I can' -t do it by setting maximal_queue_lifetime and bounce_queue_lifetime for ther -e any other messages need to be sent again.

Re: broken_sasl_auth_clients?

2009-03-21 Thread Ralf Hildebrandt
* Victor Duchovni victor.ducho...@morganstanley.com: On Wed, Jan 21, 2009 at 10:34:01AM +0100, Patrick Ben Koetter wrote: * Ralf Hildebrandt postfix-users@postfix.org: With today's clients, is broken_sasl_auth_clients = yes still required? Which clients require it anyway? Outlook

Re: Performance tuning

2009-03-21 Thread Brandon Hilkert
- Original Message - From: Wietse Venema wie...@porcupine.org To: Brandon Hilkert bhilk...@vt.edu Cc: postfix-users@postfix.org Sent: Saturday, March 21, 2009 7:23 AM Subject: Re: Performance tuning Brandon Hilkert: I was able to mount it to a tmpfs partition. There was no change

Re: Performance tuning

2009-03-21 Thread Brandon Hilkert
- Original Message - From: Ralf Hildebrandt ralf.hildebra...@charite.de To: postfix-users@postfix.org Sent: Saturday, March 21, 2009 5:28 AM Subject: Re: Performance tuning * Brandon Hilkert bhilk...@vt.edu: any thoughts on how to mount the ramfs to get a true test of running the

Re: Performance tuning

2009-03-21 Thread Terry Carmen
Brandon Hilkert wrote: So tmpfs does use the ram ? I as able to get tmpfs to work, but there was some notion that it too uses the disk. It uses RAM, but will swap to disk if it needs to. There's no guarantee that it won't cause disk activity. Terry

Re: VERP Bounce Intercept

2009-03-21 Thread mouss
Chris Dos a écrit : [snip] I have read what the the bounce service does. I wish to intercept ALL hard bounces and process them internally with a script. I don't want it to bounce back to the sender that sent the bad message. I haven't been able to figure out a way to do it yet. If the

Re: SRS or RPR in Postfix

2009-03-21 Thread Sahil Tandon
On Sat, 21 Mar 2009, Yves Kreis wrote: Is it (technically) possible to implement SRS or RPR in Postfix using either a milter plugin or a policy? Does anyone know of such an implementation? It is technically possible with an SMTP-based content filter; I don't know of any existing

Re: Issue with pipe mail to script

2009-03-21 Thread mouss
Simon a écrit : [snip] OK.. sorry, just wanted to understand the issue. I have now changed this: 127.0.0.1:10025 inet n - n - - smtpd .. -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks to this: 127.0.0.1:10025 inet n -

Re: cyrus sasl2 and authentication [LONG]

2009-03-21 Thread mouss
LuKreme a écrit : [snip] OK, ripping out cyrus as soon as I find a good walkthrough for dovecot. Especially if I can find one about ADDING dovecot. if you use courier and have authdaemon working, then configure cyrus sasl to use it instead of sql: pwcheck_method: authdaemond mech_list:

Re: address rewriting with pcre?

2009-03-21 Thread mouss
Charles Marcus a écrit : On 3/17/2009, LuKreme (krem...@kreme.com) wrote: On 17-Mar-2009, at 06:09, Erwan David wrote: I would fear it breaks recipient validation, accepting mail for eavery address with a _ as valid. That is a drawback. Oh... well, if it does indeed do what Erwan said,

Re: protect mailing-/distribution list

2009-03-21 Thread Heiko Baumann
On Sat, 21 Mar 2009 00:22:24 +0100, mouss mo...@ml.netoyen.net wrote: Heiko Baumann a écrit : hello, in our postfix setup we use virtual_alias_maps to build some simple mailing-/distribution lists. now we want to reject every mail to a list where the sender is not a member of the list.

Re: protect mailing-/distribution list

2009-03-21 Thread Noel Jones
Heiko Baumann wrote: On Sat, 21 Mar 2009 00:22:24 +0100, mouss mo...@ml.netoyen.net wrote: Heiko Baumann a écrit : hello, in our postfix setup we use virtual_alias_maps to build some simple mailing-/distribution lists. now we want to reject every mail to a list where the sender is not a

Re: Performance tuning

2009-03-21 Thread Ralf Hildebrandt
* Brandon Hilkert bhilk...@vt.edu: In /etc/fstab: /dev/shm /var/spool/postfix tmpfs defaults,size=300m,mode=770,uid=0,gid=0 0 0 So tmpfs does use the ram ? Yep -- Ralf Hildebrandt Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155

Re: Performance tuning

2009-03-21 Thread Victor Duchovni
On Sat, Mar 21, 2009 at 02:08:51AM +, Duane Hill wrote: I'm just following this thread because of curiosity. tmpfs? Or, do you mean ramfs (like Ralf spoke of). I believe there was a response already made by Wietse with regards to tmpfs that stated: tmpfs is backed by the swap file,

Re: Performance tuning

2009-03-21 Thread Victor Duchovni
On Sat, Mar 21, 2009 at 09:05:34AM -0400, Terry Carmen wrote: Brandon Hilkert wrote: So tmpfs does use the ram ? I as able to get tmpfs to work, but there was some notion that it too uses the disk. It uses RAM, but will swap to disk if it needs to. There's no guarantee that it won't

Re: broken_sasl_auth_clients?

2009-03-21 Thread Victor Duchovni
On Sat, Mar 21, 2009 at 12:28:58PM +0100, Ralf Hildebrandt wrote: * Victor Duchovni victor.ducho...@morganstanley.com: On Wed, Jan 21, 2009 at 10:34:01AM +0100, Patrick Ben Koetter wrote: * Ralf Hildebrandt postfix-users@postfix.org: With today's clients, is broken_sasl_auth_clients

Re: Postfix and virtual users with additional_condition

2009-03-21 Thread Victor Duchovni
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 reject mail not listed in that MySQL table? _email2email.cf points at DB I use to decide

Re: protect mailing-/distribution list

2009-03-21 Thread mouss
Heiko Baumann a écrit : On Sat, 21 Mar 2009 00:22:24 +0100, mouss mo...@ml.netoyen.net wrote: [snip] use a list manager (mailman, sympa, ...). i guess a list manager is overkill for our setup. we just export the alias maps from a db and only need the additional feature to block mails to a

Re: address rewriting with pcre?

2009-03-21 Thread mouss
Victor Duchovni a écrit : On Sat, Mar 21, 2009 at 03:19:44PM +0100, mouss wrote: Charles Marcus a ?crit : On 3/17/2009, LuKreme (krem...@kreme.com) wrote: On 17-Mar-2009, at 06:09, Erwan David wrote: I would fear it breaks recipient validation, accepting mail for eavery address with a _ as

Re: address rewriting with pcre?

2009-03-21 Thread Victor Duchovni
On Sat, Mar 21, 2009 at 07:31:24PM +0100, mouss wrote: alternatively, you can add an smtpd in the chain using proxy_filter: - smtpd on port 25 does the rewrite. it then uses proxy_filter to pass mail to an smtpd on port 10020. Rewriting is done by cleanup(8). This can't work. I

Re: address rewriting with pcre?

2009-03-21 Thread mouss
Victor Duchovni a écrit : On Sat, Mar 21, 2009 at 07:31:24PM +0100, mouss wrote: alternatively, you can add an smtpd in the chain using proxy_filter: - smtpd on port 25 does the rewrite. it then uses proxy_filter to pass mail to an smtpd on port 10020. Rewriting is done by cleanup(8). This

Re: SRS or RPR in Postfix

2009-03-21 Thread Yves Kreis
On 21.03.2009, at 14:41, Sahil Tandon wrote: Is it (technically) possible to implement SRS or RPR in Postfix using either a milter plugin or a policy? Does anyone know of such an implementation? It is technically possible with an SMTP-based content filter; I don't know of any existing

How to index maildir

2009-03-21 Thread Jeff Huang
Hi,my mailserver is postfix and the mailbox is set to /Maildir. But I found if there are too many email in maildir,the imap is very slow. Can we set the Maildir indexing?So we can accelerate to read/find the email from Maildir. Thank you. Jeff Huang 2009-03-22

Re: How to index maildir

2009-03-21 Thread Terry Carmen
Jeff Huang wrote: Hi,my mailserver is postfix and the mailbox is set to /Maildir. But I found if there are too many email in maildir,the imap is very slow. Can we set the Maildir indexing?So we can accelerate to read/find the email from Maildir. Postfix doesn't do IMAP. You might have

Re: How to index maildir

2009-03-21 Thread vg_us
-- From: Jeff Huang jbhu...@scut.edu.cn Sent: Saturday, March 21, 2009 9:58 PM To: postfix-users postfix-users@postfix.org Subject: How to index maildir Hi,my mailserver is postfix and the mailbox is set to /Maildir. But I found if there are

Re: Domain Based Fall - Back Relay

2009-03-21 Thread Ashwin Muni
Hi, Actually i have specified in the main.cf transport_maps = hash:/etc/postfix/transport abc.com smtp:[1.1.1.1]:25 123.com smtp:[2.2.2.2]:25 xyz.comsmtp:[3.3.3.3]:25 I want if the the primary smtp of the domain are down then it should try the the other ip which i mention. Say

hey alright, I finally can send an e-mail

2009-03-21 Thread Justin Mattock
finally after sometime I'm able to send. as for balsa I'll have to come back to that issue later on. but for now using alpine as the client and postfix sends like there's no tomorrow!! cat /var/log/mail.log(gives only the missing cert); postfix/postfix-script[1779]: starting the Postfix mail

Re: Domain Based Fall - Back Relay

2009-03-21 Thread Sahil Tandon
On Sun, 22 Mar 2009, Ashwin Muni wrote:

Re: hey alright, I finally can send an e-mail

2009-03-21 Thread Sahil Tandon
On Sat, 21 Mar 2009, Justin Mattock wrote: finally after sometime I'm able to send. as for balsa I'll have to come back to that issue later on. but for now using alpine as the client and postfix sends like there's no tomorrow!! cat /var/log/mail.log(gives only the missing cert);