Issue regarding header checks

2011-07-25 Thread punit jain
Hi, I have configured postfix to DISCARD messages with specific To: header using the rule below : - header_checks=pcre:/etc/postfix/header_checks cat /etc/postfix/header_checks : /^To: (\d)+@test\.com/i DISCARD So basically any email sent as num...@test.com should be discarded. However

Re: Issue regarding header checks

2011-07-25 Thread Ralf Hildebrandt
* punit jain contactpunitj...@gmail.com: Hi, I have configured postfix to DISCARD messages with specific To: header using the rule below : - header_checks=pcre:/etc/postfix/header_checks cat /etc/postfix/header_checks : /^To: (\d)+@test\.com/i DISCARD So basically any email

'smtpd_proxy_filter' and 'action DISCARD'

2011-07-25 Thread Ralf Zimmermann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have used a content_filter and changed my configuration to smtpd_proxy_filter. In my configuration I use spamtrap email addresses with action discard. After I changed my configuration to smtpd_proxy_filter I got the following messages. -

mail clients stop sending mail

2011-07-25 Thread kibirango moses
Hullo users, I am trying to block/blacklist a recipient email address from receiving mail from my mail server. But When i do the configuration below in postfix , , smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/recipient_access I can not send mail outside using mail

Re: mail clients stop sending mail

2011-07-25 Thread Robert Schetterer
Am 25.07.2011 11:30, schrieb kibirango moses: Hullo users, I am trying to block/blacklist a recipient email address from receiving mail from my mail server. But When i do the configuration below in postfix , , ?? sorry you want to block what ? smtpd_recipient_restrictions =

virtual domain can't recieve mail

2011-07-25 Thread Amira Othman
hi all; I am using postfix-2.3.3-2.3.el5_6,dovecot-1.2.17-0_115.el5 on centos 5.6.I have two domains and iam using virtual domains the problem is one domain is working fin ewhile the other can't send mail when i check for mx record it can't reach it.i don't know if i am missing some configuration

Re: rewriting local users to user@domain instat of user@host.domain

2011-07-25 Thread Erik - versatel
I have read and re-read this pages and other documents but still it seems not to work I have changed a few things in my configuration: in main.cf I have changfed myorigen from myorigen=host.domain.tld into myorigen=$mydomain (mydomain=domain.tld) NOW the from is rewriten, so i have a good

Re: virtual domain can't recieve mail

2011-07-25 Thread Marc Weber
Excerpts from Amira Othman's message of Mon Jul 25 12:17:46 +0200 2011: I am using postfix-2.3.3-2.3.el5_6,dovecot-1.2.17-0_115.el5 on centos 5.6.I Consider upgrading to 2.8. I tried 2.2 in the past and failed. Don't know whether 2.3.3 works much better. Marc Weber

Re: virtual domain can't recieve mail

2011-07-25 Thread Brian Evans - Postfix List
On 7/25/2011 6:17 AM, Amira Othman wrote: hi all; I am using postfix-2.3.3-2.3.el5_6,dovecot-1.2.17-0_115.el5 on centos 5.6.I have two domains and iam using virtual domains the problem is one domain is working fin ewhile the other can't send mail when i check for mx record it can't reach it.i

Re: 'smtpd_proxy_filter' and 'action DISCARD'

2011-07-25 Thread Wietse Venema
Ralf Zimmermann: Hi, I have used a content_filter and changed my configuration to smtpd_proxy_filter. In my configuration I use spamtrap email addresses with action discard. After I changed my configuration to smtpd_proxy_filter I got the following messages.

Re: Issue regarding header checks

2011-07-25 Thread Ralf Hildebrandt
* Ralf Hildebrandt ralf.hildebra...@charite.de: * punit jain contactpunitj...@gmail.com: Hi, I have configured postfix to DISCARD messages with specific To: header using the rule below : - header_checks=pcre:/etc/postfix/header_checks cat /etc/postfix/header_checks :

Re: Issue regarding header checks

2011-07-25 Thread punit jain
/^To: (\d)+@test\.com/i DISCARD So basically any email sent as num...@test.com should be discarded. No. Any mail containing a TO: header with numb...@test.com should bei discarded! How do we make sure this only applies to outgoing messages and doesnot ffect incoming ? Regards,

Re: Issue regarding header checks

2011-07-25 Thread punit jain
Thanks I forgot to update it did work

Problems migrating CentOS 6

2011-07-25 Thread Jonathan Gazeley
I've been running a postfix server on CentOS 5 for a while with no problem. I set up a new CentOS 6 box with postfix, and basically transplanted my configs across to the new one. The service starts, but doesn't work properly: it doesn't accept email on 25 or 587 (TLS), but instead this appears

Re: Problems migrating CentOS 6

2011-07-25 Thread Wietse Venema
Jonathan Gazeley: I've been running a postfix server on CentOS 5 for a while with no problem. I set up a new CentOS 6 box with postfix, and basically transplanted my configs across to the new one. The service starts, but doesn't work properly: it doesn't accept email on 25 or 587 (TLS), but

Re: Problems migrating CentOS 6

2011-07-25 Thread Jonathan Gazeley
On 07/25/2011 05:42 PM, Wietse Venema wrote: Jonathan Gazeley: I've been running a postfix server on CentOS 5 for a while with no problem. I set up a new CentOS 6 box with postfix, and basically transplanted my configs across to the new one. The service starts, but doesn't work properly: it

Re: Problems migrating CentOS 6

2011-07-25 Thread Wietse Venema
Jonathan Gazeley: Jul 25 17:12:43 helios postfix/smtpd[14436]: fatal: open database /etc/postfix/virtual.db: No such file or directory I do have a virtual.db, though. I deleted all my *.db and recreated them with postmap to ensure they were OK. The ownership and perms seem OK:

Re: Problems migrating CentOS 6

2011-07-25 Thread Jonathan Gazeley
On 07/25/2011 06:12 PM, Wietse Venema wrote: Jonathan Gazeley: Jul 25 17:12:43 helios postfix/smtpd[14436]: fatal: open database /etc/postfix/virtual.db: No such file or directory I do have a virtual.db, though. I deleted all my *.db and recreated them with postmap to ensure they were OK. The

Re: Problems migrating CentOS 6

2011-07-25 Thread Bastian Blank
On Mon, Jul 25, 2011 at 05:20:07PM +0100, Jonathan Gazeley wrote: [root@helios postfix]# ls -la virtual.db -rw-r--r--. 1 root mail 12288 Jul 25 17:05 virtual.db This file have security attributes assigned. SELinux is disabled on this system, so it's not an obscure issue with security

Re: rewriting local users to user@domain instat of user@host.domain

2011-07-25 Thread Jeroen Geilman
On 2011-07-25 14:22, Erik - versatel wrote: I have read and re-read this pages and other documents but still it seems not to work I have changed a few things in my configuration: in main.cf I have changfed myorigen from myorigen=host.domain.tld into myorigen=$mydomain (mydomain=domain.tld)

Re: virtual domain can't recieve mail

2011-07-25 Thread Victor Duchovni
On Mon, Jul 25, 2011 at 04:59:32PM +0200, Marc Weber wrote: I am using postfix-2.3.3-2.3.el5_6,dovecot-1.2.17-0_115.el5 on centos 5.6.I Consider upgrading to 2.8. I tried 2.2 in the past and failed. Don't know whether 2.3.3 works much better. While the older releases are no longer

Re: Problems migrating CentOS 6

2011-07-25 Thread Victor Duchovni
On Mon, Jul 25, 2011 at 05:20:07PM +0100, Jonathan Gazeley wrote: I've been running a postfix server on CentOS 5 for a while with no problem. I set up a new CentOS 6 box with postfix, and basically transplanted my configs across to the new one. The service starts, but doesn't work

Re: Problems migrating CentOS 6

2011-07-25 Thread Wietse Venema
Victor Duchovni: On Mon, Jul 25, 2011 at 05:20:07PM +0100, Jonathan Gazeley wrote: I've been running a postfix server on CentOS 5 for a while with no problem. I set up a new CentOS 6 box with postfix, and basically transplanted my configs across to the new one. The service starts, but

Re: Problems migrating CentOS 6

2011-07-25 Thread Wietse Venema
Victor Duchovni: On Mon, Jul 25, 2011 at 03:52:31PM -0400, Wietse Venema wrote: Another idea is to add a -F (fingerprint) command-line option to every executable that dumps mail_version and build_info information. Some people may not be comfortable with egrep and such. If we're to go

Re: Problems migrating CentOS 6

2011-07-25 Thread Victor Duchovni
On Mon, Jul 25, 2011 at 04:44:25PM -0400, Wietse Venema wrote: All this said, I doubt it is worth the effort. The existing fingerprints are probably enough. The odds of the same version installed with different build options is quite small. That's essentially my view. --