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

2009-03-21 Thread justinmattock
On Sun, 22 Mar 2009, Sahil Tandon wrote: 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(g

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); >

Re: Domain Based Fall - Back Relay

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

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 syst

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 i

Re: Domain Based Fall - Back Relay

2009-03-21 Thread Victor Duchovni
On Sun, Mar 22, 2009 at 08:35:28AM +0530, Ashwin Muni wrote: > Hi, > > I have several domains configured to receive mails in postfix say > abc.com > 123.com > xyz.org > > I want abc.com to have fallback relay as 1.1.1.1 > 123.com as 2.2.2.2 >

Domain Based Fall - Back Relay

2009-03-21 Thread Ashwin Muni
Hi, I have several domains configured to receive mails in postfix say abc.com 123.com xyz.org I want abc.com to have fallback relay as 1.1.1.1 123.com as 2.2.2.2 xyz.org as 3.3.3.3 and also can i use

Re: Re: How to index maildir

2009-03-21 Thread Jeff Huang
OK,Thanks. I'll try cyrus imap. Now I use Courier-imap as my imap/pop3 server. Jeff Huang 2009-03-22 发件人: vg...@hotmail.com 发送时间: 2009-03-22 10:33:00 收件人: jbhu...@scut.edu.cn; postfix-users 抄送: 主题: Re: How to index maildir -- From: "Jeff H

Re: How to index maildir

2009-03-21 Thread vg_us
-- From: "Jeff Huang" Sent: Saturday, March 21, 2009 9:58 PM To: "postfix-users" Subject: How to index maildir 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

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 b

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: 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 imple

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

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'

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 >

Re: protect mailing-/distribution list

2009-03-21 Thread mouss
Heiko Baumann a écrit : > On Sat, 21 Mar 2009 00:22:24 +0100, mouss 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 > list from an

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 decid

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 : > > On Wed, Jan 21, 2009 at 10:34:01AM +0100, Patrick Ben Koetter wrote: > > > > > * Ralf Hildebrandt : > > > > With today's clients, is broken_sasl_auth_clients = yes > > > > still required? Which clients req

Re: address rewriting with pcre?

2009-03-21 Thread Victor Duchovni
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 valid. > >

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 i

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

Re: Performance tuning

2009-03-21 Thread Ralf Hildebrandt
* Brandon Hilkert : >> 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 http://www.computerb

Re: protect mailing-/distribution list

2009-03-21 Thread Noel Jones
Heiko Baumann wrote: On Sat, 21 Mar 2009 00:22:24 +0100, mouss 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. exam

Re: protect mailing-/distribution list

2009-03-21 Thread Heiko Baumann
On Sat, 21 Mar 2009 00:22:24 +0100, mouss 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. >> >> >> ex

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

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: 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 ine

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 impleme

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

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: Performance tuning

2009-03-21 Thread Brandon Hilkert
- Original Message - From: "Wietse Venema" To: "Brandon Hilkert" Cc: 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 in throughput with my script on a tmpfs vs ext3 drive. T

Re: Performance tuning

2009-03-21 Thread Brandon Hilkert
- Original Message - From: "Ralf Hildebrandt" To: Sent: Saturday, March 21, 2009 5:28 AM Subject: Re: Performance tuning * Brandon Hilkert : 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/po

Re: broken_sasl_auth_clients?

2009-03-21 Thread Ralf Hildebrandt
* Victor Duchovni : > On Wed, Jan 21, 2009 at 10:34:01AM +0100, Patrick Ben Koetter wrote: > > > * Ralf Hildebrandt : > > > With today's clients, is broken_sasl_auth_clients = yes > > > still required? Which clients require it anyway? > > > > Outlook 2000 to 2003 > > Outlook Express ? to 6 > > >

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. /etc/po

Re: bounce the permanent error messages in queue

2009-03-21 Thread Ralf Hildebrandt
* 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 there any other messages need to be sent > again. use

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

bounce the permanent error messages in queue

2009-03-21 Thread 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 there any other messages need to be sent again. -

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: (postfix newbe) Postfix broken after MailScanner upgrade

2009-03-21 Thread Gregory Machin
On Sat, Mar 21, 2009 at 1:26 AM, mouss 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 >> one thin

Re: Performance tuning

2009-03-21 Thread Ralf Hildebrandt
* Brandon Hilkert : > 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 Wartung T