Re: Rewrite with Pattern

2008-12-02 Thread Victor Duchovni
On Tue, Dec 02, 2008 at 09:23:14PM -0600, Noel Jones wrote: > If you need to fix the To: (or From:) header also, use > header_checks with IGNORE to remove it. It's possible to use > REWRITE to transform it, but that gets pretty tricky. Noel meant "REPLACE", and it is very difficult to parse RF

Re: Rewrite with Pattern

2008-12-02 Thread Noel Jones
Fat Bear Mail Services wrote: Hi Noel, The issue here is that these e-mail addresses are in use for QE purposes such as testing new account signups for a given service. What happens is that during a "signup test", some 10,000 e-mails will be sent out to addresses matching the pattern such as:

Re: Avoiding (trivial) spoofed "mail from"

2008-12-02 Thread DJ Lucas
Noel Jones wrote: Very likely there are other, better ways to combat this spam. Look for other traits you can use to reject it. I am, by no means, anything even close to expert WRT the whole SMTP process, but, I do think that I can provide (or at least what I believe to be) a valid, albeit

Re: Rewrite with Pattern

2008-12-02 Thread Fat Bear Mail Services
Hi Noel, Fat Bear Mail Services wrote: Noel Jones wrote: Fat Bear Mail Services wrote: How would one setup Postfix that uses /etc/passwd for authentication so that e-mails of the pattern: [EMAIL PROTECTED] is delivered to: [EMAIL PROTECTED] where there is a 1:1 mapping between com

Re: Rewrite with Pattern

2008-12-02 Thread Noel Jones
Fat Bear Mail Services wrote: Noel Jones wrote: Fat Bear Mail Services wrote: How would one setup Postfix that uses /etc/passwd for authentication so that e-mails of the pattern: [EMAIL PROTECTED] is delivered to: [EMAIL PROTECTED] where there is a 1:1 mapping between companyID and

Re: Rewrite with Pattern

2008-12-02 Thread Fat Bear Mail Services
Noel Jones wrote: Fat Bear Mail Services wrote: How would one setup Postfix that uses /etc/passwd for authentication so that e-mails of the pattern: [EMAIL PROTECTED] is delivered to: [EMAIL PROTECTED] where there is a 1:1 mapping between companyID and companyDomain? For example:

Re: Rewrite with Pattern

2008-12-02 Thread Noel Jones
Fat Bear Mail Services wrote: How would one setup Postfix that uses /etc/passwd for authentication so that e-mails of the pattern: [EMAIL PROTECTED] is delivered to: [EMAIL PROTECTED] where there is a 1:1 mapping between companyID and companyDomain? For example: [EMAIL PROTEC

Re: FW: Help Needed with odd configuration...

2008-12-02 Thread Noel Jones
Spahn, Daniel wrote: I am running A recent build of Postfix on a Gentoo server- I am pretty sure it is about 3-4 months old. The problem I have is that the line the mail is sent out on is buggy- I get lots of packet sequence errors, slow speeds, etc. I need any advice I can get on configuring f

Rewrite with Pattern

2008-12-02 Thread Fat Bear Mail Services
How would one setup Postfix that uses /etc/passwd for authentication so that e-mails of the pattern: [EMAIL PROTECTED] is delivered to: [EMAIL PROTECTED] where there is a 1:1 mapping between companyID and companyDomain? For example: [EMAIL PROTECTED] >>> [EMAIL PROTECTED] Note a

Re: Limiting simultaneous transport usage

2008-12-02 Thread Noel Jones
Egoitz Aurrekoetxea wrote: I have been talking about smtp client threads of postfix... but imagine now (for understanding better...) amavis for example... you launch two amavis processes as you specified in amavisd.conf. So if you set the proccess_limit for amavis to 2 in master.cf

Re: Limiting simultaneous transport usage

2008-12-02 Thread Egoitz Aurrekoetxea
> > For Wietse : > I agree, assuming that he is talking about a small number of sending > processes. > > If, on the other hand, he is talking about a small number of > receiving processes, Nope I was talking about smtp client proccess for send from postfix queue to another smtp servers (Outs

Re: Avoiding (trivial) spoofed "mail from"

2008-12-02 Thread Noel Jones
J.P. Trosclair wrote: I have been working on a similar if not the exact same problem from what I've seen in this thread. The problem being from = to address and how to stop spam that does this. My idea for a solution to this problem was to require any mail claiming to be from a local account to

Re: sender restrictions

2008-12-02 Thread Victor Duchovni
On Tue, Dec 02, 2008 at 02:05:20PM -0600, Cengiz Vural wrote: > hello all, > > I am trying to place some restrictions on a local user account. I would like > to redirect any emails sent from a specific user to another local user > regardless of what email address the user enters in the recipient

Re: sender restrictions

2008-12-02 Thread Brian Evans
Brian Evans - Postfix List wrote: > Cengiz Vural wrote: > >> hello all, >> >> I am trying to place some restrictions on a local user account. I >> would like to redirect any emails sent from a specific user to another >> local user regardless of what email address the user enters in the >> recip

Re: sender restrictions

2008-12-02 Thread Brian Evans - Postfix List
Cengiz Vural wrote: > hello all, > > I am trying to place some restrictions on a local user account. I > would like to redirect any emails sent from a specific user to another > local user regardless of what email address the user enters in the > recipient list.Is it possible to do this with postfi

sender restrictions

2008-12-02 Thread Cengiz Vural
hello all, I am trying to place some restrictions on a local user account. I would like to redirect any emails sent from a specific user to another local user regardless of what email address the user enters in the recipient list.Is it possible to do this with postfix? In summary, whenever [EMAIL

Re: always_bcc

2008-12-02 Thread Victor Duchovni
On Tue, Dec 02, 2008 at 05:50:38PM -0200, M?rcio Luciano Donada wrote: > Victor Duchovni escreveu: > > On Tue, Dec 02, 2008 at 04:40:41PM -0200, M?rcio Luciano Donada wrote: > > > >> My e-mail server traffic is high (about 6.5 Gb / day) and are now > >> requiring the use always_bcc now. Is there

Re: Avoiding (trivial) spoofed "mail from"

2008-12-02 Thread J.P. Trosclair
Roman Medina-Heigl Hernandez wrote: DJ Lucas escribió: Return-Path: <[EMAIL PROTECTED]> X-Original-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] ... Received: from gangotri.ubuntu.com (localhost.localdomain [127.0.0.1]) by gangotri.ubuntu.com (Postfix) with ESMTP id 0C222318376 f

Re: always_bcc

2008-12-02 Thread Márcio Luciano Donada
Victor Duchovni escreveu: > On Tue, Dec 02, 2008 at 04:40:41PM -0200, M?rcio Luciano Donada wrote: > >> My e-mail server traffic is high (about 6.5 Gb / day) and are now >> requiring the use always_bcc now. Is there a parameter to avoid >> performance problems? > > You could set: > > good_

Re: always_bcc

2008-12-02 Thread Victor Duchovni
On Tue, Dec 02, 2008 at 04:40:41PM -0200, M?rcio Luciano Donada wrote: > My e-mail server traffic is high (about 6.5 Gb / day) and are now > requiring the use always_bcc now. Is there a parameter to avoid > performance problems? You could set: good_performance_when_set_empty = (this is

Re: Limiting simultaneous transport usage

2008-12-02 Thread Wietse Venema
Noel Jones: > Egoitz Aurrekoetxea wrote: > > Yes, adjust the maxproc column in master.cf to > > adjust the total number of daemons a particular transport can spawn. > > If the maxproc column is "-", then default_process_limit is used. > > > > > > Ok but this couldn

always_bcc

2008-12-02 Thread Márcio Luciano Donada
Hi list, My e-mail server traffic is high (about 6.5 Gb / day) and are now requiring the use always_bcc now. Is there a parameter to avoid performance problems? -- Márcio Luciano Donada Aurora Alimentos - Cooperativa Central Oeste Catarinense Departamento de T.I.

Re: Limiting simultaneous transport usage

2008-12-02 Thread Noel Jones
Egoitz Aurrekoetxea wrote: Yes, adjust the maxproc column in master.cf to adjust the total number of daemons a particular transport can spawn. If the maxproc column is "-", then default_process_limit is used. Ok but this couldn't cause that if for example you hav

Re: DKIM message forwarding, body altered

2008-12-02 Thread Victor Duchovni
On Tue, Dec 02, 2008 at 10:02:37AM -0800, David Jonas wrote: > > What version of Postfix are you using? > > 2.3.8 and 2.4.6-- yea, we're a little behind. Perhaps I'll bring us up > to 2.5 today. I am not aware of any "transparency" issues in either of those releases. You don't need to upgrade. Th

Re: DKIM message forwarding, body altered

2008-12-02 Thread David Jonas
Victor Duchovni wrote: > On Mon, Dec 01, 2008 at 05:55:28PM -0800, David Jonas wrote: > > >> We provide forwarding to external accounts (e.g. gmail.com) and it >> appears that in some cases postfix is invalidating the DKIM signatures. >> The most prominent and obvious case is eBay and PayPal whe

Re: Avoiding (trivial) spoofed "mail from"

2008-12-02 Thread mouss
Roman Medina-Heigl Hernandez a écrit : >> Why is the mail not being rejected due to >> reject_unauthenticated_sender_login_mismatch? I must have a silly bug but I >> couldn't find it... :-( > > I got to solve it by: > smtpd_sender_login_maps = $virtual_mailbox_maps > do not reuse maps this way

Re: Limiting simultaneous transport usage

2008-12-02 Thread Egoitz Aurrekoetxea
> > Yes, adjust the maxproc column in master.cf to adjust the total number of > daemons a particular transport can spawn. If the maxproc column is "-", > then default_process_limit is used. Ok but this couldn't cause that if for example you have 20 messages to be redirected for a transport (by t

Re: 3dm2 (3ware daemon) smtp/e-mail issue (lost connection after QUIT)

2008-12-02 Thread Victor Duchovni
On Tue, Dec 02, 2008 at 07:52:19AM -0500, Charles Marcus wrote: > On 12/1/2008 12:40 PM, Victor Duchovni wrote: > >>> There is nothing wrong with lost connections after QUIT. Newer versions > >>> of Postfix only log "lost connection" in the SMTP server during data > >>> transfer or when sending th

Re: Avoiding (trivial) spoofed "mail from"

2008-12-02 Thread Noel Jones
Roman Medina-Heigl Hernandez wrote: [EMAIL PROTECTED] ~]# telnet mail.lucasit.com 25 Trying 192.168.xxx.xxx... Connected to mail.lucasit.com. Escape character is '^]'. 220 postal.lucasit.com ESMTP Postfix ehlo somehost.lucasit.com 250-postal.lucasit.com 250-PIPELINING Isn't a good idea to disa

Re: Limiting simultaneous transport usage

2008-12-02 Thread Noel Jones
Egoitz Aurrekoetxea wrote: [we heard you the first time, no need to keep posting the same question. Note that gmail suppresses the "duplicate" of your post arriving from the list.] [please press the "Plain Text" button when posting from gmail] Hi all!, I wanted to ensure postfix can only

Re: What is table='t'

2008-12-02 Thread Stephen Liu
--- Barney Desmond <[EMAIL PROTECTED]> wrote: > Stephen Liu wrote: > > Sorry, it is /etc/postfix/mysql_relay_domains.cf > > > > > >>> user=mail > >>> password=mypasswd > >>> dbname=maildb > >>> table='t' > >>> select_field=domains > >>> where_field=domains > >>> hosts=127.0.0.1 > >>> additional

Re: Avoiding (trivial) spoofed "mail from"

2008-12-02 Thread Roman Medina-Heigl Hernandez
Roman Medina-Heigl Hernandez escribió: > DJ Lucas escribió: >>> Return-Path: <[EMAIL PROTECTED]> >>> X-Original-To: [EMAIL PROTECTED] >>> Delivered-To: [EMAIL PROTECTED] >>> ... >>> Received: from gangotri.ubuntu.com (localhost.localdomain [127.0.0.1]) >>> by gangotri.ubuntu.com (Postfix) wit

Limiting simultaneous transport usage

2008-12-02 Thread Egoitz Aurrekoetxea
Hi all!, I wanted to ensure postfix can only use the number of transport daemons I specify for it... for example if I have 10 smtp client daemons I wanted the queue manager to know I only have 10 smtp daemons and should organize deliveries knowing that can only use 10 (for avoiding unknown mail tr

Limiting total simultaneous connections to a transport

2008-12-02 Thread Egoitz Aurrekoetxea
Hi all!, I wanted to ensure postfix can only use the number of transport daemons I specify for it... for example if I have 10 smtp client daemons I wanted the queue manager to know I only have 10 smtp daemons and should organize deliveries knowing that can only use 10 (for avoiding unknown mail tr

Limiting total transport usage

2008-12-02 Thread Egoitz Aurrekoetxea
Hi all!, I wanted to ensure postfix can only use the number of transport daemons I specify for it... for example if I have 10 smtp client daemons I wanted the queue manager to know I only have 10 smtp daemons and should organize deliveries knowing that can only use 10 (for avoiding unknown mail tr

Re: Avoiding (trivial) spoofed "mail from"

2008-12-02 Thread Roman Medina-Heigl Hernandez
DJ Lucas escribió: >> Return-Path: <[EMAIL PROTECTED]> >> X-Original-To: [EMAIL PROTECTED] >> Delivered-To: [EMAIL PROTECTED] >> ... >> Received: from gangotri.ubuntu.com (localhost.localdomain [127.0.0.1]) >> by gangotri.ubuntu.com (Postfix) with ESMTP id 0C222318376 >> for <[EMAIL PROTECT

Re: Problems with backscaters and require authentication

2008-12-02 Thread mouss
[EMAIL PROTECTED] a écrit : > Hi, > > i have some problems with spammers and i would like to ask how to set > postfix to validate sender email addresses only for our domains. Is > there some way to do this? what do you mean exactly by "validate"? check that the address exists? you can use reject_

Re: What is table='t'

2008-12-02 Thread Barney Desmond
Stephen Liu wrote: > Sorry, it is /etc/postfix/mysql_relay_domains.cf > > >>> user=mail >>> password=mypasswd >>> dbname=maildb >>> table='t' >>> select_field=domains >>> where_field=domains >>> hosts=127.0.0.1 >>> additional_conditions = and enabled = 1 >> At a guess, it's going to perform the q

Re: remote smtp auth clients - header rewrite question

2008-12-02 Thread Dan Langille
On Dec 1, 2008, at 11:11 PM, Victor Duchovni wrote: On Mon, Dec 01, 2008 at 09:35:18PM -0500, Dan Langille wrote: Did you see header_checks documented as a supported parameter in http://www.postfix.org/smtpd.8.html (rhetorical question, the answer is no). A closer look at the documentation sh

Re: 3dm2 (3ware daemon) smtp/e-mail issue (lost connection after QUIT)

2008-12-02 Thread Charles Marcus
On 12/1/2008 12:40 PM, Victor Duchovni wrote: >>> There is nothing wrong with lost connections after QUIT. Newer versions >>> of Postfix only log "lost connection" in the SMTP server during data >>> transfer or when sending the "." response. The client is free to >>> disconnect without "QUIT" at al

Problems with backscaters and require authentication

2008-12-02 Thread [EMAIL PROTECTED]
Hi, i have some problems with spammers and i would like to ask how to set postfix to validate sender email addresses only for our domains. Is there some way to do this? Other thing that i want to ask. I have this problem: i connect thru telnet to the smtp server and send email this way: helo my

Re: What is table='t'

2008-12-02 Thread Stephen Liu
--- Barney Desmond <[EMAIL PROTECTED]> wrote: > Stephen Liu wrote: > > I have a /etc/postfix/mysql_*.cf file with following content; > > You haven't told us what this file is called. We dunno what it does, > we > have no way to tell. Hi Barney, Sorry, it is /etc/postfix/mysql_relay_domains.c

dspam alias on postfix

2008-12-02 Thread setan langit
hi all, I'm trrying to implement postfix-2.5.5 with amavisd-2.6.1 I also intalled so it can be called from amavis the problem is when I put spam and ham for dspam aliases in /etc/aliases it bounce my mail and return this error status=bounced (Command died with status 1: "/usr/local/bin/dspam --u

Re: What is table='t'

2008-12-02 Thread Barney Desmond
Stephen Liu wrote: > I have a /etc/postfix/mysql_*.cf file with following content; You haven't told us what this file is called. We dunno what it does, we have no way to tell. > user=mail > password=mypasswd > dbname=maildb > table='t' > select_field=domains > where_field=domains > hosts=127.0.0.

Re: What is table='t'

2008-12-02 Thread Stephen Liu
--- mouss <[EMAIL PROTECTED]> wrote: > Stephen Liu a écrit : > > Hi folks, > > > > > > I have a /etc/postfix/mysql_*.cf file with following content; > > user=mail > > password=mypasswd > > dbname=maildb > > table='t' > > select_field=domains > > where_field=domains > > hosts=127.0.0.1 > > addit