Re: newbie: postfix rejects virtual user

2011-10-28 Thread Noel Jones
On 10/28/2011 9:29 PM, sean darcy wrote: > On 10/28/2011 09:40 PM, Noel Jones wrote: >> unsolicited advice: catchall addresses were useful once upon a time, >> but these days usually get around to biting you in the nether >> regions. Save yourself future trouble and get rid of the catchall. >> >

Re: newbie: postfix rejects virtual user

2011-10-28 Thread sean darcy
On 10/28/2011 09:40 PM, Noel Jones wrote: On 10/28/2011 4:29 PM, sean darcy wrote: grep virtual_m main.cf | grep -v \# virtual_mailbox_base = /home/vmail virtual_mailbox_maps = hash:/etc/postfix/vmailbox cat /etc/postfix/vmailbox # these are relative to /home/vmail # the slashes at the end of

Re: newbie: postfix rejects virtual user

2011-10-28 Thread Noel Jones
On 10/28/2011 4:29 PM, sean darcy wrote: > > grep virtual_m main.cf | grep -v \# > virtual_mailbox_base = /home/vmail > virtual_mailbox_maps = hash:/etc/postfix/vmailbox > > cat /etc/postfix/vmailbox > # these are relative to /home/vmail > # the slashes at the end of the path mean Maildir format,

Re: newbie: postfix rejects virtual user

2011-10-28 Thread Jeroen Geilman
On 2011-10-28 23:29, sean darcy wrote: grep virtual_m main.cf | grep -v \# virtual_mailbox_base = /home/vmail virtual_mailbox_maps = hash:/etc/postfix/vmailbox cat /etc/postfix/vmailbox # these are relative to /home/vmail # the slashes at the end of the path mean Maildir format, not Mailbox! te

newbie: postfix rejects virtual user

2011-10-28 Thread sean darcy
grep virtual_m main.cf | grep -v \# virtual_mailbox_base = /home/vmail virtual_mailbox_maps = hash:/etc/postfix/vmailbox cat /etc/postfix/vmailbox # these are relative to /home/vmail # the slashes at the end of the path mean Maildir format, not Mailbox! test1@ /test1/ @ /cat

Re: postfix on virtual machine

2011-10-28 Thread Andreas
- Original Message - From: "Amira Othman" To: Sent: Friday, October 28, 2011 2:44 PM Subject: postfix on virtual machine Hi all Iam using postfix 2.3 on virual machine cento 5.7 when I send mail from virtual machine to yahoo or gmail I get error host yahoo.com[98.139.180.149] sai

Re: PROPOSED PATCH: take 2. Please test (was: Odd postfix LDAP behavior)

2011-10-28 Thread Quanah Gibson-Mount
--On October 28, 2011 2:36:54 PM -0700 Quanah Gibson-Mount wrote: --On October 28, 2011 4:14:02 PM + Viktor Dukhovni wrote: FREE_RESULT)); +rc = ldap_parse_result(ld, res, &err, 0, 0, 0, 0, This should be dict_ldap->ld rather than just "ld". ;) Working on testing this now.

Re: PROPOSED PATCH: take 2. Please test (was: Odd postfix LDAP behavior)

2011-10-28 Thread Quanah Gibson-Mount
--On October 28, 2011 4:14:02 PM + Viktor Dukhovni wrote: FREE_RESULT)); +rc = ldap_parse_result(ld, res, &err, 0, 0, 0, 0, This should be dict_ldap->ld rather than just "ld". ;) Working on testing this now. --Quanah -- Quanah Gibson-Mount Principal Software Engineer Zimbra, In

Re: statistics tool for postfix log files

2011-10-28 Thread Simon Deziel
On 10/28/2011 02:23 PM, James Seymour wrote: > On Fri, 28 Oct 2011 13:17:12 +0200 > wei...@dfbnet.org wrote: > >> Hi all, > [snip] >> >> I read about mailgraph and pflogsumm but these stats are not >> as detailed as i try to have. > > You want *more* detail than Pflogsumm gives? Wow. Most peop

Re: statistics tool for postfix log files

2011-10-28 Thread James Seymour
On Fri, 28 Oct 2011 13:17:12 +0200 wei...@dfbnet.org wrote: > Hi all, [snip] > > I read about mailgraph and pflogsumm but these stats are not > as detailed as i try to have. You want *more* detail than Pflogsumm gives? Wow. Most people have been pestering me to *reduce* it. On Fri, 28 Oct 20

Re: statistics tool for postfix log files

2011-10-28 Thread Stan Hoeppner
On 10/28/2011 6:17 AM, wei...@dfbnet.org wrote: > Hi all, > > I try to create statistics for my postfix mailserver for reporting > puposes. I have different virtual domains on in and do mail routing > for customers. > > I want to see which servers connect to deliver, how many mails > are send to

PROPOSED PATCH: take 2. Please test (was: Odd postfix LDAP behavior)

2011-10-28 Thread Viktor Dukhovni
On Fri, Oct 28, 2011 at 02:27:32AM +, Viktor Dukhovni wrote: > A better solution is required, I'll post an updated proposal > tomorrow. Please try the below. It inlines the two-line (possibly deprecated) ldap_result2error() function, which just calls ldap_parse_result(). I don't believe we ac

Re: PROPOSED PATCH. Please test (was: Odd postfix LDAP behavior)

2011-10-28 Thread Viktor Dukhovni
On Fri, Oct 28, 2011 at 08:30:48AM -0700, Quanah Gibson-Mount wrote: > Reading the code in libraries/libldap/sasl.c, specifically the > function ldap_sasl_bind_s. This is from OpenLDAP 2.1.30. Note that > ldap_result2error is still called after ldap_parse_sasl_bind_result. Use of a function int

Re: PROPOSED PATCH. Please test (was: Odd postfix LDAP behavior)

2011-10-28 Thread Quanah Gibson-Mount
--On October 28, 2011 3:55:54 AM + Viktor Dukhovni wrote: On Thu, Oct 27, 2011 at 07:22:05PM -0700, Quanah Gibson-Mount wrote: The issue I fixed today would affect any postfix build with an OpenLDAP API at least as far back as OpenLDAP 2.1. What postfix revisions you fix are entirely

RE: Implementing quota based rejection

2011-10-28 Thread Duane Hill
On Thu, 27 Oct 2011, Fred Kilbourn wrote: Hi again, It figures, after finally giving up and posting this, I found what appears to be a simple solution. You can configure dovecot use various back ends, I'll just tell it to save quota information to mysql. I can then in postfix, use check_recip

Re: postfix on virtual machine

2011-10-28 Thread Steve Jenkins
On Fri, Oct 28, 2011 at 5:55 AM, Wietse Venema wrote: > Amira Othman: >> Hi all >> >> Iam using postfix 2.3 on virual machine cento 5.7 when I send mail from >> virtual machine to yahoo or gmail I get error As an aside, may I recommend updating your Postfix to the latest version (2.8)? The defaul

Re: statistics tool for postfix log files

2011-10-28 Thread Leslie León Sinclair
PFlogsumm could help you, there is a nice tutorial in [1], combined with and mailgraph, I think is a very good option. HTH, Leslie. [1] http://www.howtoforge.com/postfix-monitoring-with-mailgraph-and-pflogsumm-on-debian-lenny -- /*** *Leslie L

Re: postfix on virtual machine

2011-10-28 Thread Wietse Venema
Amira Othman: > Hi all > > Iam using postfix 2.3 on virual machine cento 5.7 when I send mail from > virtual machine to yahoo or gmail I get error > > host yahoo.com[98.139.180.149] said: 451 OutgoingFilter Connection timeout > [] (in reply to MAIL FROM command)) This text: 451 Outgoing

postfix on virtual machine

2011-10-28 Thread Amira Othman
Hi all Iam using postfix 2.3 on virual machine cento 5.7 when I send mail from virtual machine to yahoo or gmail I get error host yahoo.com[98.139.180.149] said: 451 OutgoingFilter Connection timeout [] (in reply to MAIL FROM command)) what may cause this error. Is not ok to test mail server con

statistics tool for postfix log files

2011-10-28 Thread weigel
Hi all, I try to create statistics for my postfix mailserver for reporting puposes. I have different virtual domains on in and do mail routing for customers. I want to see which servers connect to deliver, how many mails are send to which reciepients / domains, how many are send from these users

Re: 4.2.1 or 5.2.1 message with disabled mailboxes in sql virtual hosting

2011-10-28 Thread Robert Schetterer
Am 28.10.2011 05:06, schrieb /dev/rob0: > On Thursday 27 October 2011 20:59:47 Fred Kilbourn wrote: >> I have a virtual mailbox environment and mailboxes are mapped into >> postfix from mysql with the following map: >> >> virtual_mailbox_maps = >> proxy:mysql:.../mysql_virtual_mailbox_maps.cf

Re: 4.2.1 or 5.2.1 message with disabled mailboxes in sql virtual hosting

2011-10-28 Thread Robert Schetterer
Am 28.10.2011 03:59, schrieb Fred Kilbourn: > Hi, > > I have a virtual mailbox environment and mailboxes are mapped into postfix > from mysql with the following map: > > virtual_mailbox_maps = proxy:mysql:.../mysql_virtual_mailbox_maps.cf > > The map queries the database as such: > >