Re: "Aliasing" of local mail account not working

2009-01-29 Thread Marcial Rion
Wietse Venema wrote: > Marcial Rion: > >> Wietse Venema wrote: >> >>> According to the logs, the local delivery agent forwards mail with >>> the correct recipient, so we need to have more detail about what >>> the cleanup server is doing, and whether it is responsible for >>> replacing the

PATCH: 2.5.6 scheduler feedback parameter names (was: Defer Retry)

2009-01-29 Thread Victor Duchovni
On Thu, Jan 29, 2009 at 11:54:00PM -0500, Victor Duchovni wrote: > > slow_destination_concurrency_failed_cohort_limit = 0 > > This is what you should have in main.cf, however there is a bug > in either the implementation or the documentation and the queue manager > is looking for: > > slow

Re: Email delivered to wrong person.

2009-01-29 Thread Sahil Tandon
On Thu, 29 Jan 2009, Jim Wright wrote: > On Jan 29, 2009, at 4:54 PM, Magnus Bäck wrote: > >> You can easily find the relevant log entries by grepping your maillog >> for the queue id, which is found in the first Received: header added by >> your system. In this case look at this header: >> >>

Re: Defer Retry

2009-01-29 Thread Victor Duchovni
On Thu, Jan 29, 2009 at 07:32:57PM -0800, Jacky Chan wrote: > Jan 30 11:16:36 mailgw1 postfix-slow/smtp[16362]: 6EB522EDD17: > to=, relay=d.mx.mail.yahoo.com[66.196.82.7]:25, > delay=214, delays=0.11/176/35/2.3, dsn=2.0.0, status=sent (250 ok dirdel 4/1) > > Jan 30 11:16:36 mailgw1 postfix/qmgr[16

Re: Email delivered to wrong person.

2009-01-29 Thread Jim Wright
On Jan 29, 2009, at 4:54 PM, Magnus Bäck wrote: You can easily find the relevant log entries by grepping your maillog for the queue id, which is found in the first Received: header added by your system. In this case look at this header: Received: from TRXOMOPC (unknown [77.81.179.110]) b

Re: Defer Retry

2009-01-29 Thread Jacky Chan
# postconf default_destination_concurrency_failed_cohort_limit default_destination_concurrency_failed_cohort_limit = 1 After one successful delivery (The following shows the first delivery for 5 recipients has been successful) Jan 30 11:16:28 mailgw1 postfix-slow/smtp[16362]: connect to b.mx.mai

Re: Defer Retry

2009-01-29 Thread Victor Duchovni
On Thu, Jan 29, 2009 at 05:52:09PM -0800, Jacky Chan wrote: > > Thx, I did "postfix reload". > How do I verify the _failed_cohort_limit = 0 is been taking effect since > postconf doesn't show self-defined transport parameter. Just make sure "postconf default_destination_concurrency_failed_cohort

Re: Defer Retry

2009-01-29 Thread Jacky Chan
Thx, I did "postfix reload". How do I verify the _failed_cohort_limit = 0 is been taking effect since postconf doesn't show self-defined transport parameter. Wietse Venema wrote: > > Jacky Chan: >> >> I tried to set slow_destination_concurrency_failed_cohort_limit = 0, and >> send > > And you

Re: Defer Retry

2009-01-29 Thread Wietse Venema
Jacky Chan: > > I tried to set slow_destination_concurrency_failed_cohort_limit = 0, and send And you also need to "postfix reload" before the change takes effect. > Jan 30 09:09:35 mailgw1 postfix/error[15341]: B10952EDE00: > to=, relay=none, delay=4.1, delays=0.1/4/0/0.04, > dsn=4.0.0, status=

Re: "Aliasing" of local mail account not working

2009-01-29 Thread Wietse Venema
Marcial Rion: > Wietse Venema wrote: > > According to the logs, the local delivery agent forwards mail with > > the correct recipient, so we need to have more detail about what > > the cleanup server is doing, and whether it is responsible for > > replacing the new recipient with the old one. > > >

Re: Defer Retry

2009-01-29 Thread Jacky Chan
I tried to set slow_destination_concurrency_failed_cohort_limit = 0, and send 20 messages with number of recipients is 5 for each message (I used a self made JAVA program, and re-establish SMTP connection to my Postfix server for each message), slow_destination_rate_delay = 300s, the first message

Re: "Aliasing" of local mail account not working

2009-01-29 Thread Marcial Rion
Wietse Venema wrote: > According to the logs, the local delivery agent forwards mail with > the correct recipient, so we need to have more detail about what > the cleanup server is doing, and whether it is responsible for > replacing the new recipient with the old one. > > Wietse > Here ar

Re: Email delivered to wrong person.

2009-01-29 Thread Magnus Bäck
On Thursday, January 29, 2009 at 23:47 CET, Evan Platt wrote: > Unless I'm missing something, he was BCC'd. Common tactic of spammers. > > I e-mail some...@example.com , bcc you, you'd see To:some...@example.com .. Note that BCC is a MUA term that has no relevance in SMTP. A "BCC recipient

Re: Email delivered to wrong person.

2009-01-29 Thread Magnus Bäck
On Thursday, January 29, 2009 at 23:48 CET, David Schraeder wrote: > Magnus Bäck wrote: > > > And this very message was addressed to postfix-users@postfix.org, > > yet it was delivered to your mailbox. > > > > Headers are not used for message delivery. The actual recipient > > addresses are

Re: Email delivered to wrong person.

2009-01-29 Thread David Schraeder
Magnus Bäck wrote: > On Thursday, January 29, 2009 at 23:39 CET, > David Schraeder wrote: > >> I just got this postfix server going a few days ago. I have one >> person receiving some emails that are not address to him. Yes they >> are spam and I am running spamassassin. But looking at

Re: Email delivered to wrong person.

2009-01-29 Thread Evan Platt
At 02:39 PM 1/29/2009, you wrote: Hello I just got this postfix server going a few days ago. I have one person receiving some emails that are not address to him. Yes they are spam and I am running spamassassin. But looking at the headers it should not be delivered to the one person at all.

Re: Email delivered to wrong person.

2009-01-29 Thread Magnus Bäck
On Thursday, January 29, 2009 at 23:39 CET, David Schraeder wrote: > I just got this postfix server going a few days ago. I have one > person receiving some emails that are not address to him. Yes they > are spam and I am running spamassassin. But looking at the headers > it should not be

Email delivered to wrong person.

2009-01-29 Thread David Schraeder
Hello I just got this postfix server going a few days ago. I have one person receiving some emails that are not address to him. Yes they are spam and I am running spamassassin. But looking at the headers it should not be delivered to the one person at all. Here is an example header. > Retu

Re: "Aliasing" of local mail account not working

2009-01-29 Thread Wietse Venema
According to the logs, the local delivery agent forwards mail with the correct recipient, so we need to have more detail about what the cleanup server is doing, and whether it is responsible for replacing the new recipient with the old one. Wietse

Re: Is result_format being ignored?

2009-01-29 Thread Victor Duchovni
On Thu, Jan 29, 2009 at 04:46:01PM -0500, Jason Voorhees wrote: > Ok, something else. Maybe isn't too appropiate for this post to use > jvoorhe...@gmail.com as result_format because has no relation with my > virtual domains scenario. > What I really try to do is: > > When accountActive=TRUE for s

Re: Is result_format being ignored?

2009-01-29 Thread Brian Evans - Postfix List
Jason Voorhees wrote: > Hi there: > > I'm a little tired of making some tests with gnarwl and postfix, so I > started to reduce directives. I have something like this in main.cf > (postconf -n): > > > virtual_alias_maps = ldap:/etc/postfix/phamm_alias.cf, $alias_maps > virtual_mailbox_maps = ldap:/

Re: Is result_format being ignored?

2009-01-29 Thread Magnus Bäck
On Thursday, January 29, 2009 at 22:34 CET, Jason Voorhees wrote: > I'm a little tired of making some tests with gnarwl and postfix, so I > started to reduce directives. I have something like this in main.cf > (postconf -n): Further reductions are possible. > inet_interfaces = all Default

Re: Is result_format being ignored?

2009-01-29 Thread Jason Voorhees
Ok, something else. Maybe isn't too appropiate for this post to use jvoorhe...@gmail.com as result_format because has no relation with my virtual domains scenario. What I really try to do is: When accountActive=TRUE for some use, then return (result_format) %...@autoreply.domain.com But Postfix n

Is result_format being ignored?

2009-01-29 Thread Jason Voorhees
Hi there: I'm a little tired of making some tests with gnarwl and postfix, so I started to reduce directives. I have something like this in main.cf (postconf -n): alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon

"Aliasing" of local mail account not working

2009-01-29 Thread Marcial Rion
Hi I am trying to realize a simple postfix setup. The mailer is serving one domain with just one (maybe more later on) email address, which should be aliased to another, external email address. However, I cannot manage to have the aliasing work. Whenever a mail is received, it is first forwarded

Re: Calling smtpd restriction/filter from within master.cf

2009-01-29 Thread Steve
Original-Nachricht > Datum: Thu, 29 Jan 2009 20:38:26 +0100 > Von: "Steve" > An: postfix-users@postfix.org > Betreff: Re: Calling smtpd restriction/filter from within master.cf > > Original-Nachricht > > Datum: Thu, 29 Jan 2009 19:44:53 +0100 > > Von: mouss

Re: Calling smtpd restriction/filter from within master.cf

2009-01-29 Thread Steve
Original-Nachricht > Datum: Thu, 29 Jan 2009 19:44:53 +0100 > Von: mouss > An: postfix-users@postfix.org > Betreff: Re: Calling smtpd restriction/filter from within master.cf > Steve a écrit : > > Original-Nachricht > >> Datum: Thu, 29 Jan 2009 17:14:08 +0100

Re: fax to inbox

2009-01-29 Thread mouss
bharathan kailath a écrit : > hi > trying to implement a fax store and forward with cisco AS5300. but while > forwarding fax to the MTA it format recipient address as > 'fax=3690...@example.com ';the server that > is receiving this message is not allowing to put '=' in t

Re: Calling smtpd restriction/filter from within master.cf

2009-01-29 Thread mouss
Steve a écrit : > Original-Nachricht >> Datum: Thu, 29 Jan 2009 17:14:08 +0100 >> Von: mouss > [snip] >> PS If you are using this to do per recipient filtering, don't forget >> that only one filter will run. so if a message is sent to multiple >> recipients, the last FILTER state

END OF THREAD: was: Aliases question - can I alias a user name to a name that is not a local user account?

2009-01-29 Thread Victor Duchovni
On Thu, Jan 29, 2009 at 11:53:24AM -0500, Dave wrote: > I want to challenge this statement too. No fights on this list please, we are busy enough with useful discussion. Further posts along these lines will result in the termination of the poster's subscription. Some humility when joining an esta

Re: Aliases question - can I alias a user name to a name that is not a local user account?

2009-01-29 Thread Sahil Tandon
On Jan 29, 2009, at 11:53 AM, Dave wrote: On Thu, Jan 29, 2009 at 1:43 AM, Evan Platt wrote: At 10:37 PM 1/28/2009, you wrote: What's with you guys on this list who have the answers yet are just handing out clues one by one and making me guess about the answer over the course of seve

Re: Sender_dependent_relayhost_maps table syntax

2009-01-29 Thread Gilles Albusac
Thanks - Original Message - From: "Wietse Venema" To: "Postfix users" Sent: Thursday, January 29, 2009 3:23 PM Subject: Re: Sender_dependent_relayhost_maps table syntax Wietse Venema: Gilles Albusac: > I have a syntax problem in my sender_dependent_relayhost_maps table > (hash t

Re: Aliases question - can I alias a user name to a name that is not a local user account?

2009-01-29 Thread Dave
On Thu, Jan 29, 2009 at 1:43 AM, Evan Platt wrote: > At 10:37 PM 1/28/2009, you wrote: > > What's with you guys on this list who have the answers yet are just >> handing out clues one by one and making me guess about the answer over the >> course of several email exchanges? Fortunately, there a

Re: Aliases question - can I alias a user name to a name that is not a local user account?

2009-01-29 Thread Dave
On Thu, Jan 29, 2009 at 7:54 AM, Wietse Venema wrote: > Dave: > > What's with you guys on this list who have the answers yet are just > handing > > out clues one by one and making me guess about the answer over the course > of > > several email exchanges? Fortunately, there are some guys on this

fax to inbox

2009-01-29 Thread bharathan kailath
hi trying to implement a fax store and forward with cisco AS5300. but while forwarding fax to the MTA it format recipient address as 'FAX= 3690...@example.com';the server that is receiving this message is not allowing to put '=' in the alias name to the recipient (it is not a postfix server unfortu

Re: Calling smtpd restriction/filter from within master.cf

2009-01-29 Thread Steve
Original-Nachricht > Datum: Thu, 29 Jan 2009 17:14:08 +0100 > Von: mouss > An: postfix-users@postfix.org > Betreff: Re: Calling smtpd restriction/filter from within master.cf > Steve a écrit : > > Hello list > > > > I just don't get it. I have created a smtpd restriction and w

Re: Calling smtpd restriction/filter from within master.cf

2009-01-29 Thread Steve
Original-Nachricht > Datum: Thu, 29 Jan 2009 11:00:21 -0500 > Von: Brian Evans - Postfix List > An: postfix-users@postfix.org > Betreff: Re: Calling smtpd restriction/filter from within master.cf > Steve wrote: > > Hello list > > > > I just don't get it. I have created a smtpd

Re: Calling smtpd restriction/filter from within master.cf

2009-01-29 Thread mouss
Steve a écrit : > Hello list > > I just don't get it. I have created a smtpd restriction and would like to use > that restriction from within master.cf. Something like that: > > main.cf: > > smtpd_restriction_classes = > my_filter > > filter = > check_recipient_access proxy:mysql:$

Re: XCLIENT question

2009-01-29 Thread mouss
Geert Hendrickx a écrit : > On Thu, Jan 29, 2009 at 12:22:13PM +0100, mouss wrote: >> Jan 29 00:38:17 imlil postmx/smtpd[26222]: NOQUEUE: reject: RCPT from >> unknown[147.203.208.166]: 550 5.7.1 Client host rejected: cannot find >> your hostname, [147.203.208.166]; >> from=<3ff.4.69709687-17084...@

Re: Calling smtpd restriction/filter from within master.cf

2009-01-29 Thread Brian Evans - Postfix List
Steve wrote: > Hello list > > I just don't get it. I have created a smtpd restriction and would like to use > that restriction from within master.cf. Something like that: > > main.cf: > > smtpd_restriction_classes = > my_filter > > filter = > check_recipient_access proxy:mysql:${confi

Calling smtpd restriction/filter from within master.cf

2009-01-29 Thread Steve
Hello list I just don't get it. I have created a smtpd restriction and would like to use that restriction from within master.cf. Something like that: main.cf: smtpd_restriction_classes = my_filter filter = check_recipient_access proxy:mysql:${config_directory}/my_filter.cf proxy_r

Re: smtp_*_restrictions and syntax access-files

2009-01-29 Thread Thomas Ackermann
Victor Duchovni schrieb: I can't honestly recommend anything other than start with the default: I suspect, you are right :) After another check of my logfiles, i reduced my restriction lists to the following: smtpd_client_restrictions = reject_unknown_reverse_client_hostname, check_clien

Re: Aliases question - can I alias a user name to a name that is not a local user account?

2009-01-29 Thread Jorey Bump
Dave wrote, at 01/29/2009 01:37 AM: > What's with you guys on this list who have the answers yet are just > handing out clues one by one and making me guess about the answer over > the course of several email exchanges? You'll find that they are often being considerate, and are trying to avoid gi

Re: Sender_dependent_relayhost_maps table syntax

2009-01-29 Thread Wietse Venema
Wietse Venema: > Gilles Albusac: > > I have a syntax problem in my sender_dependent_relayhost_maps table (hash > > table). > > > > I would like to add a default relay at the end of the file (the line with > > *). > > > > /etc/postfix/sender_relay = > > @domain1.com [192.168.1.1] > > @domain2.c

Re: Sender_dependent_relayhost_maps table syntax

2009-01-29 Thread Wietse Venema
Gilles Albusac: > I have a syntax problem in my sender_dependent_relayhost_maps table (hash > table). > > I would like to add a default relay at the end of the file (the line with *). > > /etc/postfix/sender_relay = > @domain1.com [192.168.1.1] > @domain2.com [192.168.1.2] > * [192.168.1.3

AUTH error with proxy-smtp

2009-01-29 Thread Heinz A. Krebs
hi! i'm struggling around to implement a before-queue spamcheck. but the problem ist not the spamcheck itself, but a problem with smtp-authentication (pam_mysql) :( up to now i'm running the system with after-queue spamcheck with postfix/spamassassin/amavid-new, everything works fine, user c

Sender_dependent_relayhost_maps table syntax

2009-01-29 Thread Gilles Albusac
I have a syntax problem in my sender_dependent_relayhost_maps table (hash table). I would like to add a default relay at the end of the file (the line with *). /etc/postfix/sender_relay = @domain1.com [192.168.1.1] @domain2.com [192.168.1.2] * [192.168.1.3] Regards Gilles

Re: Aliases question - can I alias a user name to a name that is not a local user account?

2009-01-29 Thread Wietse Venema
Dave: > What's with you guys on this list who have the answers yet are just handing > out clues one by one and making me guess about the answer over the course of > several email exchanges? Fortunately, there are some guys on this list that > don't engage in those psychological games and I have gr

Re: XCLIENT question

2009-01-29 Thread Wietse Venema
Geert Hendrickx: > On Thu, Jan 29, 2009 at 12:22:13PM +0100, mouss wrote: > > Jan 29 00:38:17 imlil postmx/smtpd[26222]: NOQUEUE: reject: RCPT from > > unknown[147.203.208.166]: 550 5.7.1 Client host rejected: cannot find > > your hostname, [147.203.208.166]; > > from=<3ff.4.69709687-17084...@cherr

Re: XCLIENT question

2009-01-29 Thread Geert Hendrickx
On Thu, Jan 29, 2009 at 12:22:13PM +0100, mouss wrote: > Jan 29 00:38:17 imlil postmx/smtpd[26222]: NOQUEUE: reject: RCPT from > unknown[147.203.208.166]: 550 5.7.1 Client host rejected: cannot find > your hostname, [147.203.208.166]; > from=<3ff.4.69709687-17084...@cherryimprovise.com> to= > proto

Re: XCLIENT question

2009-01-29 Thread mouss
Artem Bokhan a écrit : > Ok, let's start with beginning... > > What is the difference between NAME and REVERSE_NAME from postfix's view? > What is the difference between "SMTP client hostname" and "PTR record > value"? > NAME is "verified". REVERSE_NAME is not. so you have 3 cases: - NAME=REVER

RE: SMTP sessions

2009-01-29 Thread Rocco Scappatura
> > I have a mail gateway system that consists of several > > Postfix+MySQL+Amavisd-new machines behind a load balancer. > > > > I have defined a balancing policy based on number of SMTP sessions > that > > every server has to manage. > > New connections are given to the server with the fewest con

Re: XCLIENT question

2009-01-29 Thread Artem Bokhan
Ok, let's start with beginning... What is the difference between NAME and REVERSE_NAME from postfix's view? What is the difference between "SMTP client hostname" and "PTR record value"? The NAME attribute specifies an SMTP client hostname (not an SMTP client address), [UNAVAILABLE] when clien

Re: Defer Retry

2009-01-29 Thread Victor Duchovni
On Thu, Jan 29, 2009 at 12:47:42AM -0800, Jacky Chan wrote: > > Hi all, > > I implemented slow transport with delay of 5 mins in Postfix 2.5, when my > client send a lot of messages at a time, I notice that Postfix active queued > queued most of this messages. A symptom occurs when one of the sl

Defer Retry

2009-01-29 Thread Jacky Chan
Hi all, I implemented slow transport with delay of 5 mins in Postfix 2.5, when my client send a lot of messages at a time, I notice that Postfix active queued queued most of this messages. A symptom occurs when one of the slow transport destination MX temporarly defered the current processing mes

Re: smtpd_tls_session_cache_database - correct config?

2009-01-29 Thread mouss
Dave a écrit : > > > The cache file previously listed (/var/run/smtpd_tls_session_cache) is > not present. I didn't delete it. Maybe postfix did? > no. the file has a .db sufix. > BTW, an answer as simple as "use rm" is helpful because (I'm told) there > are certain files that should not be de

Re: Aliases question - can I alias a user name to a name that is not a local user account?

2009-01-29 Thread Victor Duchovni
On Thu, Jan 29, 2009 at 02:24:15AM -0500, Aaron Wolfe wrote: > Case in point, the regex solution I suggested earlier is not the best > way to return a single result for all inputs Important limitation, generally "static" is limited to a result that contains no white-space or "," characters. Not b