Re: Postfix/cleanup warning

2011-07-11 Thread Rytec
Hello Noel, Thanks for your fast reply, this is the output: btree cidr environ hash internal mysql nis proxy regexp sdbm static tcp texthash unix So I'm afraid pcre is no

Re: spawn give a command time limit exceeded

2011-07-11 Thread Damien Robinet
Dear Jeroen, Dear Viktor, If I put "grey0 = dunno", when this value is used, Postfix return a Warning on le logfiles. The rules from Viktor work "grey0 = check_client_access static:dunno" work. Postfix understand the value and don't give a warning on the logfiles. With my other script and the pr

Forcing postfix to check the MX entry

2011-07-11 Thread Damien Robinet
Hi All Postfix Users, Is there a solution to force postfix to check the MX of a domain name ? I can not prevent users from adding the domain name in the mail system. We limit the rights, but the solution is not optimal. For example, if a user adds the domain "mma.fr" in the mail system, it will

Re: Forcing postfix to check the MX entry

2011-07-11 Thread Reindl Harald
Am 11.07.2011 12:03, schrieb Damien Robinet: > Hi All Postfix Users, > > Is there a solution to force postfix to check the MX of a domain name ? it does normally > I can not prevent users from adding the domain name in the mail system > We limit the rights, but the solution is not optimal. wh

Re: Forcing postfix to check the MX entry

2011-07-11 Thread Damien Robinet
Hi Harald, We have many agencies that can use our mail server. Each agency has one or more domain name. They can add their domain in our system to receive their emails professionals. We have already limited the users who have the right to the domain name in the system, but there are always "failu

Re: Forcing postfix to check the MX entry

2011-07-11 Thread Mark Goodge
On 11/07/2011 11:40, Damien Robinet wrote: Hi Harald, We have many agencies that can use our mail server. Each agency has one or more domain name. They can add their domain in our system to receive their emails professionals. We have already limited the users who have the right to the domain na

Re: Forcing postfix to check the MX entry

2011-07-11 Thread Wietse Venema
Damien Robinet: > For example, if a user adds the domain "mma.fr" in the mail system, it > will receive all emails from users who are sending to MMA.FR. > The problem is that MMA.FR does not point to the mail server and all > messages are "stolen" by the user with a catchall... Postfix works as de

can sent but not recieve - how to find what reaces Postfix on port 25

2011-07-11 Thread Klaus Friis Østergaard
Hi, I am new to postfix, and I am trying to set-up postfix with dovecot on FreeBSD, following the tutorial on purplehat.org. I have installed all files, I have the postfix servere running on a DMZ, locally I can telnet it telnet localhost 25, from my lan inside I can also telnet 192.168.x.x 25 an

Re: Postfix terminating on signal 15 caused by Amavis error?

2011-07-11 Thread Wietse Venema
Noel Jones: > > Jul 9 14:32:10 mail postfix/master[3409]: terminating on > > signal 15 > > > [Post in plain text only next time please -- no html] > > Postfix master process crashed. No. The master received the SIGTERM signal, which Postfix uses internally with "postfix stop". If you don't wa

Re: can sent but not recieve - how to find what reaces Postfix on port 25

2011-07-11 Thread Wietse Venema
Klaus Friis ?stergaard: > How do I trace down if it is a firewall problem or Postfix problem? http://www.postfix.org/DEBUG_README.html#sniffer > Where can I see what actually reaches Postfix? http://www.postfix.org/DEBUG_README.html#logging Wietse

Re: Postfix/cleanup warning

2011-07-11 Thread Stan Hoeppner
On 7/11/2011 4:17 AM, Rytec wrote: > So I'm afraid pcre is not available Strange that Debian installs postfix-pcre by default but Ubuntu doesn't. They both seem to include all the others. > Or I can install the postfix-pcre module in Ubuntu but Would it do harm or > willI > have to reconfigur

Postfix legacy releases 2.7.5, 2.6.11 and 2.5.14

2011-07-11 Thread Wietse Venema
[An on-line version of this announcement will be available at http://www.postfix.org/announcements/postfix-2.7.5.html] Postfix legacy releases 2.7.5, 2.6.11 and 2.5.14 are available. These contain fixes and workarounds that were already included with Postfix stable release 2.8.4. Fixed with Postf

strange behaviour : incoming queue

2011-07-11 Thread Tom Kinghorn
Hi List. I have a string issue whereby the old queue files appear to remain behind after the delivery. The queue, therefore appears to be growing, even though it is not. has anyone experienced the same problem? If yes, how can I rectify this. mail_version = 2.5.6 SpamAssassin Server version

Re: Forcing postfix to check the MX entry

2011-07-11 Thread Benny Pedersen
On Mon, 11 Jul 2011 12:03:46 +0200, Damien Robinet wrote: Is there a solution to force postfix to check the MX of a domain name ? why ?, an a record is fine with me? I can not prevent users from adding the domain name in the mail system. We limit the rights, but the solution is not optimal.

Re: strange behaviour : incoming queue

2011-07-11 Thread Wietse Venema
Tom Kinghorn: > Hi List. > > I have a string issue whereby the old queue files appear to remain > behind after the delivery. > > The queue, therefore appears to be growing, even though it is not. > > has anyone experienced the same problem? > If yes, how can I rectify this. > > mail_version =

Re: spawn give a command time limit exceeded

2011-07-11 Thread Victor Duchovni
On Fri, Jul 08, 2011 at 10:19:14PM +0200, Jeroen Geilman wrote: >> Just don't return any result for lookup key. >> > > > Didn't the OP say that that produced a warning ? No, what produced a warning, was returning a restring name that expands to an empty list. Instead, the lookup key should not be

Re: Forcing postfix to check the MX entry

2011-07-11 Thread Бак Микаел
Damien Robinet wrote: > Hi Harald, > > We have many agencies that can use our mail server. > Each agency has one or more domain name. They can add their domain in > our system to receive their emails professionals. > > We have already limited the users who have the right to the domain > name in t

Re: Forcing postfix to check the MX entry

2011-07-11 Thread Mark Goodge
On 11/07/2011 15:02, Бак Микаел wrote: Easy! Fix the software that your trusted users use to add their domain. Make THAT software check that the domain's MX record points to the right place BEFORE you actually add it to the database. That's not actually helpful, because if you want to avoid an

Re: Forcing postfix to check the MX entry

2011-07-11 Thread Benny Pedersen
On Mon, 11 Jul 2011 15:12:10 +0100, Mark Goodge wrote: Easy! Fix the software that your trusted users use to add their domain. Make THAT software check that the domain's MX record points to the right place BEFORE you actually add it to the database. That's not actually helpful, because if yo

Re: Forcing postfix to check the MX entry

2011-07-11 Thread Reindl Harald
Am 11.07.2011 16:12, schrieb Mark Goodge: > On 11/07/2011 15:02, Бак Микаел wrote: >> >> Easy! >> Fix the software that your trusted users use to add their domain. Make >> THAT software check that the domain's MX record points to the right >> place BEFORE you actually add it to the database. > >

Re: Forcing postfix to check the MX entry

2011-07-11 Thread Wietse Venema
Mark Goodge: > On 11/07/2011 15:02, ??? ?? wrote: > > > > Easy! > > Fix the software that your trusted users use to add their domain. Make > > THAT software check that the domain's MX record points to the right > > place BEFORE you actually add it to the database. > > That's not actually helpf

Re: can sent but not recieve - how to find what reaces Postfix on port 25

2011-07-11 Thread Klaus Friis Østergaard
Dear Wietse Venema, > > I have done the tcpdump I see that Postfix exchange some information and in > the maillog, I have turned the -v option on, I Don't see traces of the > communication 14:38 from the fast.it domain in the maillog, I see traces > in the maillog of the internal 192.168.100.52 se

Re: Forcing postfix to check the MX entry

2011-07-11 Thread Rainer Frey
On 11.07.2011, at 12:40, Damien Robinet wrote: This issue is not to be solved in postfix, but in any kind of front-end (organizational first, then maybe technical). > We have many agencies that can use our mail server. > Each agency has one or more domain name. They can add their domain in

Re: can sent but not recieve - how to find what reaces Postfix on port 25

2011-07-11 Thread Wietse Venema
Klaus Friis ?stergaard: > > > > I have done the tcpdump I see that Postfix exchange some information and in > > the maillog, I have turned the -v option on, I Don't see traces of the TURN OFF ALL -V OPTIONS. Postfix logs all SMTP connect and disconnect events as "connect from name[address]" and "

Relay mails if authenticated with certain user

2011-07-11 Thread Georg Schönweger
Hi, is it possible to tell postfix to relay all mails from user A (authenticated via SASL as user A) to a certain SMTP server? I would like to relay all mails by a user (identified by SASL authentication) regardless of the envelope sender... regards, Georg

Re: Relay mails if authenticated with certain user

2011-07-11 Thread Victor Duchovni
On Mon, Jul 11, 2011 at 04:49:19PM +0200, Georg Sch?nweger wrote: > Hi, > > is it possible to tell postfix to relay all mails from user A > (authenticated via SASL as user A) to a certain SMTP server? I would > like to relay all mails by a user (identified by SASL authentication) > regardless of

Re: Forcing postfix to check the MX entry

2011-07-11 Thread Mark Goodge
On 11/07/2011 15:21, Reindl Harald wrote: Am 11.07.2011 16:12, schrieb Mark Goodge: On 11/07/2011 15:02, Бак Микаел wrote: Easy! Fix the software that your trusted users use to add their domain. Make THAT software check that the domain's MX record points to the right place BEFORE you actuall

Re: Relay mails if authenticated with certain user

2011-07-11 Thread Georg Schönweger
Thank you Viktor, i will try this. - Georg Am 11.07.2011 16:57, schrieb Victor Duchovni: > On Mon, Jul 11, 2011 at 04:49:19PM +0200, Georg Sch?nweger wrote: > >> Hi, >> >> is it possible to tell postfix to relay all mails from user A >> (authenticated via SASL as user A) to a certain SMTP server

Re: Forcing postfix to check the MX entry

2011-07-11 Thread Per Jessen
Damien Robinet wrote: > I am looking for a solution in the Postfix configuration to force it > to always send emails to the outside and not try to deliver them > locally. We have such a setup, but afaik, it's only possible by using two postfix instances. We have an "inbound" and an "outbound" in

best practice for multiple hostnames but only specific username-domain combinations?

2011-07-11 Thread Brett Dikeman
Greetings, We used to have a separate server that handled some spam filtering duties, and among its functions was only allowing email to specific user and hostname combinations. We have a few legacy hostnames and some hostnames we provide email services for.  Say, apple.blah.com, banana.blah.com,

Re: best practice for multiple hostnames but only specific username-domain combinations?

2011-07-11 Thread Victor Duchovni
Local domains, listed in mydestination, are expected to have equivalent namespaces. That is every user valid in one, is valid in all. If you want email addresses to not be tied to the shared namespace of system accounts, configure the domains in question as either virtual_mailbox_domains or virtu

Relay host auth not working

2011-07-11 Thread Ron Garret
I'm trying to set up a relay host with authentication according to these instructions: http://anothersysadmin.wordpress.com/2009/02/06/postfix-as-relay-to-a-smtp-requiring-authentication/ but it's not working. I know my SMTP server is set up properly because I can send mail using various other

Re: Best method to post master.conf

2011-07-11 Thread jeffrey starin
I am trying to use the smtp_bind_address command so that three seperate ips can be used for 3 separate clients who are using email campaign software as explained in this howto: http://www.kutukupret.com/2010/01/02/postfix-bind-sender-domain-to-dedicated-outgoing-ip-address/ The error logs show the

Re: Relay host auth not working

2011-07-11 Thread Stan Hoeppner
On 7/11/2011 8:12 PM, Ron Garret wrote: > I'm trying to set up a relay host with authentication according to these > instructions: > > http://anothersysadmin.wordpress.com/2009/02/06/postfix-as-relay-to-a-smtp-requiring-authentication/ > > but it's not working. I know my SMTP server is set up p

Re: Best method to post master.conf

2011-07-11 Thread Stan Hoeppner
On 7/11/2011 11:16 PM, jeffrey starin wrote: > I am trying to use the smtp_bind_address command so that three seperate ips > can be used for 3 separate clients who are using email campaign software as > explained in this howto: > http://www.kutukupret.com/2010/01/02/postfix-bind-sender-domain-to-de

Re: Relay host auth not working

2011-07-11 Thread Ron Garret
On Jul 11, 2011, at 9:31 PM, Stan Hoeppner wrote: > On 7/11/2011 8:12 PM, Ron Garret wrote: >> I'm trying to set up a relay host with authentication according to these >> instructions: >> >> http://anothersysadmin.wordpress.com/2009/02/06/postfix-as-relay-to-a-smtp-requiring-authentication/ >>

Re: strange behaviour : incoming queue

2011-07-11 Thread Tom Kinghorn
On 11/07/2011 15:01, Wietse Venema wrote: Rule number one: present actual evidence of the problem. In this case, present actual evidence that mail stays in the Postfix queue. Wietse Apologies It was in the queues/incoming directory #ls -la queues/incoming/ | wc -l 384 # perl qshape

Re: Relay host auth not working

2011-07-11 Thread Jeroen Geilman
On 2011-07-12 07:12, Ron Garret wrote: On Jul 11, 2011, at 9:31 PM, Stan Hoeppner wrote: On 7/11/2011 8:12 PM, Ron Garret wrote: I'm trying to set up a relay host with authentication according to these instructions: http://anothersysadmin.wordpress.com/2009/02/06/postfix-as-relay-to-a-smtp-r

Re: Relay host auth not working

2011-07-11 Thread Stan Hoeppner
On 7/12/2011 12:12 AM, Ron Garret wrote: > > On Jul 11, 2011, at 9:31 PM, Stan Hoeppner wrote: > >> On 7/11/2011 8:12 PM, Ron Garret wrote: >>> I'm trying to set up a relay host with authentication according to these >>> instructions: >>> >>> http://anothersysadmin.wordpress.com/2009/02/06/postf

Re: Relay host auth not working

2011-07-11 Thread Ron Garret
On Jul 11, 2011, at 11:03 PM, Jeroen Geilman wrote: > On 2011-07-12 07:12, Ron Garret wrote: >> On Jul 11, 2011, at 9:31 PM, Stan Hoeppner wrote: >> >>> On 7/11/2011 8:12 PM, Ron Garret wrote: I'm trying to set up a relay host with authentication according to these instructions:

Re: Relay host auth not working

2011-07-11 Thread Stan Hoeppner
On 7/12/2011 1:09 AM, Ron Garret wrote: > > On Jul 11, 2011, at 11:03 PM, Jeroen Geilman wrote: > >> On 2011-07-12 07:12, Ron Garret wrote: >>> On Jul 11, 2011, at 9:31 PM, Stan Hoeppner wrote: >>> On 7/11/2011 8:12 PM, Ron Garret wrote: > I'm trying to set up a relay host with authentic

Re: Relay host auth not working

2011-07-11 Thread Ron Garret
On Jul 11, 2011, at 11:07 PM, Stan Hoeppner wrote: > On 7/12/2011 12:12 AM, Ron Garret wrote: >> >> On Jul 11, 2011, at 9:31 PM, Stan Hoeppner wrote: >> >>> On 7/11/2011 8:12 PM, Ron Garret wrote: I'm trying to set up a relay host with authentication according to these instructions:

Re: strange behaviour : incoming queue

2011-07-11 Thread Jeroen Geilman
On 2011-07-12 07:49, Tom Kinghorn wrote: On 11/07/2011 15:01, Wietse Venema wrote: Rule number one: present actual evidence of the problem. In this case, present actual evidence that mail stays in the Postfix queue. Wietse Apologies It was in the queues/incoming directory So show us

Re: Relay host auth not working

2011-07-11 Thread Mike Morris
On 07/11/2011 10:12 PM, Ron Garret wrote: > > On Jul 11, 2011, at 9:31 PM, Stan Hoeppner wrote: > >> On 7/11/2011 8:12 PM, Ron Garret wrote: >>> I'm trying to set up a relay host with authentication according to these >>> instructions: >>> >>> http://anothersysadmin.wordpress.com/2009/02/06/post

Re: Relay host auth not working

2011-07-11 Thread Ron Garret
On Jul 11, 2011, at 11:17 PM, Mike Morris wrote: > On 07/11/2011 10:12 PM, Ron Garret wrote: >> >> On Jul 11, 2011, at 9:31 PM, Stan Hoeppner wrote: >> >>> On 7/11/2011 8:12 PM, Ron Garret wrote: I'm trying to set up a relay host with authentication according to these instructions: >