content filter after postfix/discard by transport

2009-02-01 Thread Evelio Vila
Hi everyone, I use transport_maps = proxy:pgsql:/etc/postfix/pgsql-transport.cf to discard mails being send to non-existing destinations inside my mta. However I´ve installed amavis-newd to make some content-filtering (spamassasin, clamav) But since then my mails are filtered bef

Re: Mail Undeliverable error with Postfix

2009-02-01 Thread mouss
jan gestre a écrit : > Hi guys, > > I have several mail servers running postfix 2.4/2.5 with postfixadmin > and mysql as backend and dovecot for imap/pop3. I can access the inbox > from outside the office using Outlook/Thunderbird but whenever I tried > to send an outside email even to an internal

Re: check_client_access

2009-02-01 Thread mouss
Rocco Scappatura a écrit : > [snip] > > :-D > > [snip] dogs ate logs? - show logs that prove what you claimed - show 'postmap -q' results (for all the keys that postfix uses. see the man page of access for the lookup order). you also need to make your mind: the subject contains "check_client

RE: SMTP sessions

2009-02-01 Thread Rocco Scappatura
Hello, >> > 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 wit

Re: check_client_access

2009-02-01 Thread mouss
Rocco Scappatura a écrit : > Mouss, > >>> [snip] >>> >>> :-D >>> >>> [snip] >> dogs ate logs? >> > > Very cool from you.. as usual! > > You have won a prize.. :-) <-- Is it ok so? ;-) > depends on what the prize is :) >> - show logs that prove what you claimed > > Feb 1 06:02:50 av5 postf

Re: Limit no of messages per relayhost

2009-02-01 Thread Jack Knowlton
On Sat, January 31, 2009 3:01 pm, Wietse Venema wrote: > Jack Knowlton: >> Hi all. >> I have an postfix installation configured to use my ISP's server as >> relayhost. >> I don't want to put too much load on it (and get blacklisted) so I'd >> like >> to limit the number of messages sent per minute.

Re: Mail Undeliverable error with Postfix

2009-02-01 Thread jan gestre
Hi Mouss, I've just replicated the issue right now, from /var/log/maillog: Feb 1 21:26:38 mail postfix/cleanup[19777]: 55E6C148049: hold: header Received: from [127.0.0.1] (unknown [122.53.207.8])??by mail.ddblocal.com(Postfix) with ESMTP id 55E6C148049??for < rages...@xinapse.net>; Sun, 1 Feb 2

Re: Dead RBL

2009-02-01 Thread Justin Piszcz
On Sun, 1 Feb 2009, mouss wrote: Justin Piszcz a écrit : RIP: dnsbl.clue-by-4.org http://dnsbl.clue-by-4.org/parking.php?domain_name=clue-by-4.org Not sure exactly when but FYI, this RBL appears to be no more. This is the first time I hear about such DNSBL... can you please send a mail t

Re: Mail Undeliverable error with Postfix

2009-02-01 Thread mouss
jan gestre a écrit : > Hi Mouss, > > I've just replicated the issue right now, from /var/log/maillog: > > Feb 1 21:26:38 mail postfix/cleanup[19777]: 55E6C148049: hold: header > Received: from [127.0.0.1] (unknown [122.53.207.8])??by > mail.ddblocal.com (Postfix) with

Re: check_client_access

2009-02-01 Thread mouss
Rocco Scappatura a écrit : > > > Mouss, > and your explanation was about a "receiver". That's 3 different things... >>> So.. What I have to do to block a message based on the receiver? >>> >> check_recipient_access. >> PS. it would be safer to put your check_sender_access in

Re: Mail Undeliverable error with Postfix

2009-02-01 Thread jan gestre
Hi Daniel, Just like I said, postmaster account exists, I don't know why this is happening. On Sun, Feb 1, 2009 at 10:04 PM, Daniel V. Reinhardt wrote: > Hi Mouss, > > I've just replicated the issue right now, from /var/log/maillog: > > Feb 1 21:26:38 mail postfix/cleanup[19777]: 55E6C148049: hol

Re: Limit no of messages per relayhost

2009-02-01 Thread Wietse Venema
Jack Knowlton: > On Sat, January 31, 2009 3:01 pm, Wietse Venema wrote: > > Jack Knowlton: > >> Hi all. > >> I have an postfix installation configured to use my ISP's server as > >> relayhost. > >> I don't want to put too much load on it (and get blacklisted) so I'd > >> like > >> to limit the numb

Re: Mail Undeliverable error with Postfix

2009-02-01 Thread Daniel V. Reinhardt
Hi Mouss, I've just replicated the issue right now, from /var/log/maillog: Feb 1 21:26:38 mail postfix/cleanup[19777]: 55E6C148049: hold: header Received: from [127.0.0.1] (unknown [122.53.207.8])??by mail.ddblocal.com (Postfix) with ESMTP id 55E6C148049??for ; Sun, 1 Feb 2009 21:26:37 +080

Re: content filter after postfix/discard by transport

2009-02-01 Thread mouss
Evelio Vila a écrit : > Hi everyone, > > > > I use > > transport_maps = proxy:pgsql:/etc/postfix/pgsql-transport.cf > > > > to discard mails being send to non-existing destinations inside my mta. > why do you discard mail? > > > However I´ve installed amavis-newd to make some conten

Re: Mail Undeliverable error with Postfix

2009-02-01 Thread mouss
jan gestre a écrit : > Hi Mouss, > > This is from my inbox, user jan.ges...@ddblocal.com > is a real user. > you need to check the postfix logs (/var/log/maillog or /var/log/mail.log or the like), not bounce messages. for obvious reasons, postfix won't tell ever

Dead RBL

2009-02-01 Thread Justin Piszcz
RIP: dnsbl.clue-by-4.org http://dnsbl.clue-by-4.org/parking.php?domain_name=clue-by-4.org Not sure exactly when but FYI, this RBL appears to be no more. Justin.

Re: Mail Undeliverable error with Postfix

2009-02-01 Thread jan gestre
Hi Mouss, This is from my inbox, user jan.ges...@ddblocal.com is a real user. This is the mail system at host mail.ddblocal.com. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to pos

Re: check_client_access

2009-02-01 Thread Rocco Scappatura
Mouss, >>> and your explanation was about a "receiver". That's 3 different >>> things... >> >> So.. What I have to do to block a message based on the receiver? >> > > check_recipient_access. > >>> PS. it would be safer to put your check_sender_access in >>> smtpd_sender_restrictions so that an

Re: check_client_access

2009-02-01 Thread Rocco Scappatura
>> How do I have to modify it so that I could block an email address either >> if is the sender or one of the recipients, AND either if the message is >> incoming or outgoing? >> >> Maybe so (assuming that the action will never be "OK")... >> >> smtpd_client_restrictions = >> check_client_acces

Re: check_client_access

2009-02-01 Thread Rocco Scappatura
Mouss, >> [snip] >> >> :-D >> >> [snip] > > dogs ate logs? > Very cool from you.. as usual! You have won a prize.. :-) <-- Is it ok so? ;-) > - show logs that prove what you claimed Feb 1 06:02:50 av5 postfix/smtpd[32172]: NOQUEUE: reject: RCPT from unknown[83.103.67.197]: 550 5.1.1 to= p

Re: Dead RBL

2009-02-01 Thread mouss
Justin Piszcz a écrit : > RIP: dnsbl.clue-by-4.org > http://dnsbl.clue-by-4.org/parking.php?domain_name=clue-by-4.org > > Not sure exactly when but FYI, this RBL appears to be no more. > This is the first time I hear about such DNSBL... can you please send a mail to webmas...@spamlinks.net so t

Re: check_client_access

2009-02-01 Thread Rocco Scappatura
Sorry, >>> How do I have to modify it so that I could block an email address >>> either >>> if is the sender or one of the recipients, AND either if the message is >>> incoming or outgoing? >>> >>> Maybe so (assuming that the action will never be "OK")... >>> >>> smtpd_client_restrictions = >>>

Re: check_client_access

2009-02-01 Thread mouss
Rocco Scappatura a écrit : > > Sorry, > How do I have to modify it so that I could block an email address either if is the sender or one of the recipients, AND either if the message is incoming or outgoing? Maybe so (assuming that the action will never be "OK")... >>

Re: Mail Undeliverable error with Postfix

2009-02-01 Thread Benny Pedersen
On Sun, February 1, 2009 14:41, jan gestre wrote: > Feb 1 21:26:42 mail postfix/pipe[19788]: D9A6D148050: to=< > postmas...@ddblocal.com>, relay=dovecot, delay=5.6, > delays=5.6/0.01/0/0.03, > dsn=5.1.1, status=bounced (user unknown) this is a bounce from dovecot not from postfix, postmaster ex

Re: Mail Undeliverable error with Postfix

2009-02-01 Thread Benny Pedersen
On Sun, February 1, 2009 16:17, mouss wrote: > I guess the alias is defined in alias_maps, but this map is only > consulted by "local", which you don't use (you deliver via dovecot, > not via local). > > use virtual_alias_maps instead. postfixadmin handle this when configured to do so :) for th

HELO/EHLO isn't passed to milter when XCLIENT is enabled

2009-02-01 Thread Bokhan Artem
In the next example postfix does not pass HELO from XCLIENT line to the milter if "EHLO spike.porcupine.org" is ommited. It looks like bug. 220 server.example.com ESMTP Postfix EHLO client.example.com 250-server.example.com 250-PIPELINING 250-SIZE 1024 250-VRFY 250-ETRN 250-XCLIENT NAME ADD

Re: HELO/EHLO isn't passed to milter when XCLIENT is enabled

2009-02-01 Thread Wietse Venema
Bokhan Artem: > In the next example postfix does not pass HELO from XCLIENT line to the > milter if "EHLO spike.porcupine.org" is ommited. > It looks like bug. This is not a bug. After XCLIENT, Postfix must reset the Milter session and start from scratch with the new client IP address and host

Re: HELO/EHLO isn't passed to milter when XCLIENT is enabled

2009-02-01 Thread Victor Duchovni
On Sun, Feb 01, 2009 at 05:16:18PM -0500, Wietse Venema wrote: > Bokhan Artem: > > In the next example postfix does not pass HELO from XCLIENT line to the > > milter if "EHLO spike.porcupine.org" is ommited. > > It looks like bug. > > This is not a bug. > > After XCLIENT, Postfix must reset t

Re: HELO/EHLO isn't passed to milter when XCLIENT is enabled

2009-02-01 Thread Bokhan Artem
Wietse Venema пишет: Bokhan Artem: In the next example postfix does not pass HELO from XCLIENT line to the milter if "EHLO spike.porcupine.org" is ommited. It looks like bug. This is not a bug. The behavior of mail proxy (nginx) is not to send EHLO after XCLIENT. Thank you. After XCLIE

Re: HELO/EHLO isn't passed to milter when XCLIENT is enabled

2009-02-01 Thread Wietse Venema
Victor Duchovni: > On Sun, Feb 01, 2009 at 05:16:18PM -0500, Wietse Venema wrote: > > > Bokhan Artem: > > > In the next example postfix does not pass HELO from XCLIENT line to the > > > milter if "EHLO spike.porcupine.org" is ommited. > > > It looks like bug. > > > > This is not a bug. > > >

Re: check_client_access

2009-02-01 Thread Rocco Scappatura
Mouss, > How do I have to modify it so that I could block an email address > either > if is the sender or one of the recipients, AND either if the message > is > incoming or outgoing? > > Maybe so (assuming that the action will never be "OK")... > > smtpd_client

Postfix installation problem

2009-02-01 Thread Mayuresh Kasture
Hello everyone, I am trying to install postfix. When I do make install, I get an error, */etc/postfix/post-install: Error: no /usr/sbin/postconf command found. Re-run this command as /etc/postfix/post-install command_directory=/some/where. make: *** [install] Error 1 * But, I can see postconf in /

Re: Postfix installation problem

2009-02-01 Thread Terry Carmen
Mayuresh Kasture wrote: Hello everyone, I am trying to install postfix. When I do make install, I get an error, //etc/postfix/post-install: Error: no /usr/sbin/postconf command found. Re-run this command as /etc/postfix/post-install command_directory=/some/where. make: *** [install] Error 1 /

Re: Postfix installation problem

2009-02-01 Thread Mayuresh Kasture
Thanks, Terry, for your reply. I am not sure if I am using SELinux, AppArmor. I didn't install any of these explicitly. I am not sure if they run by default. While doing make, I used *make makefiles 'CCARGS=-DHAS_MYSQL ** -I/usr/local/mysql/include/mysql -DUSE_SASL_AUTH -I/usr/local/include/sasl

Re: Postfix installation problem

2009-02-01 Thread Victor Duchovni
On Sun, Feb 01, 2009 at 10:07:32PM -0500, Mayuresh Kasture wrote: > Thanks, Terry, for your reply. > > I am not sure if I am using SELinux, AppArmor. I didn't install any of these > explicitly. I am not sure if they run by default. > > While doing make, I used > *make makefiles 'CCARGS=-DHAS_MYS

virtual_maibox_maps, ldap lookups, and multiple attributes

2009-02-01 Thread ben thielsen
hi- i'm using an ldap lookup map for virtual_maibox_maps and haven't been able to get the lookup to work quite the way i'd like. users exist in the ldap tree as uid=user,ou=people,ou=users,ou=accounts,dc=example,dc=com, and currently i'm using the mailLocalAddress attribute to store addr

Re: virtual_maibox_maps, ldap lookups, and multiple attributes

2009-02-01 Thread ben thielsen
On Feb 01, 2009, at 23.15, ben thielsen wrote: hi- i'm using an ldap lookup map for virtual_maibox_maps and haven't been able to get the lookup to work quite the way i'd like. users exist in the ldap tree as uid=user,ou=people,ou=users,ou=accounts,dc=example,dc=com, and currently i'm u

Re: virtual_maibox_maps, ldap lookups, and multiple attributes

2009-02-01 Thread Victor Duchovni
On Sun, Feb 01, 2009 at 11:15:00PM -0500, ben thielsen wrote: > dn: uid=user,ou=people,ou=users,ou=accounts,dc=example,dc=com > mailLocalAddress: u...@foo.com- delivered to foo.com/user/Maildir/ > mailLocalAddress: u...@bar.net- delivered to bar.net/user/Maildir/ > mailLocalAddres

Re: Postfix installation problem

2009-02-01 Thread Mayuresh Kasture
Okay. As of now I have installed postfix w/o mysql support. I will add that support later. Thanks for your help. - Mayuresh On Sun, Feb 1, 2009 at 10:41 PM, Victor Duchovni < victor.ducho...@morganstanley.com> wrote: > On Sun, Feb 01, 2009 at 10:07:32PM -0500, Mayuresh Kasture wrote: > > > Than

dovecot sasl build problem

2009-02-01 Thread rpyne
I am having trouble compiling postfix (2.5.6) with dovecot sasl support. I get: gcc -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE="dovecot" -DUSE_TLS - I/usr/include/openssl -DHAS_PCRE -g -march=pentium3 -O2 - march=pentium3 -I. -I../..