Re: postfix/virtual can't deliver to virtual mailbox

2012-06-04 Thread Wietse Venema
Alvin Wong: Hi, First thank you for trying to help, but it seems that you missed a part: if I execute `postfix stop; postfix start` manually in the terminal, the problem is solved until the next reboot. Check your SELINUX, APPARMOR etc. security configuration. Wietse

Re: turn off mailer daemon returns

2012-06-04 Thread Wael MANAI
I read the links and tried some configuration modifications with soft_bounce and internal_mail_filter_classes parameters but the notification is still sent to sender. I need to intercept this message in order to modify one parameter value before sending it. Le vendredi 01 juin 2012 à 15:09 +0200,

After delivery processing ?

2012-06-04 Thread Peter Sørensen
Hi, I use postfix 2.7.0 on Ubuntu 10.04 LTS I have some dynamic mail list saved in a Mysq table. Outside programs save the list of users to deliver to and then send mail to an alias for the list. This is normally low frequency mail. I use a policy server to restrict access to these list and

Re: After delivery processing ?

2012-06-04 Thread Wietse Venema
Peter S?rensen: Hi, I use postfix 2.7.0 on Ubuntu 10.04 LTS I have some dynamic mail list saved in a Mysq table. Outside programs save the list of users to deliver to and then send mail to an alias for the list. This is normally low frequency mail. I use a policy server to restrict

SV: After delivery processing ?

2012-06-04 Thread Peter Sørensen
Actually the policy servers just give control back to postfix and let it handle the final delivery. I would prefer that. So the policy server only put's on the lock. Fra: owner-postfix-us...@postfix.org [owner-postfix-us...@postfix.org] P#229; vegne af

Understanding priviliges when delivering to external commands

2012-06-04 Thread Andrew Beverley
I've been using the default_privs setting to control which user Postfix uses to deliver mail to external commands. However, I note from the manual that this setting is only used from an aliases file that is owned by root, or when delivery is done on behalf of root. I've come across instances when

Re: postfix/virtual can't deliver to virtual mailbox

2012-06-04 Thread Alvin Wong
Thanks, it's really the SELinux problem. The labels of some files in `/var/spool/postfix/pid` have the wrong label set. Running `/sbin/restorecon -rv /var/spool/postfix/pid/*` fixed the problem. So my problem is now solved. But I have no idea why the labels are changed themselves, though. Will it

Re: turn off mailer daemon returns

2012-06-04 Thread DTNX Postmaster
On Jun 4, 2012, at 10:31, Wael MANAI wrote: I read the links and tried some configuration modifications with soft_bounce and internal_mail_filter_classes parameters but the notification is still sent to sender. I need to intercept this message in order to modify one parameter value before

Domain wide maildir quota

2012-06-04 Thread Elaconta.com Webmaster
Hello This has been a nut that i haven't been able to crack for a long time now and i was wondering how one would solve this problem. My setup is the following: a) Multiple domains hosted in a single box b) Postfix delivers emails to virtual mailboxes (so all the domains run under the same

Re: mynetworks support for ipv6 link local (fe80) hosts

2012-06-04 Thread Derek Atkins
Wietse Venema wie...@porcupine.org writes: For the record: mynetworks has always supported net/mask notation. Of course, but that wasn't what I was talking about, and it never was. I was talking about permit_mynetworks working properly with an ipv6 link local address specified in mynetworks,

Re: Domain wide maildir quota

2012-06-04 Thread Benny Pedersen
Den 2012-06-04 15:23, Elaconta.com Webmaster skrev: I'm getting kind of desperate so i'm probably going to do something very hacky like running a routine every 10 minutes or so that does the following: desperate ?, but where is the sources ? :=) with dovecot one could make dict in mysql,

Re: Domain wide maildir quota

2012-06-04 Thread Elaconta.com Webmaster
Benny Pedersen escreveu: Den 2012-06-04 15:23, Elaconta.com Webmaster skrev: I'm getting kind of desperate so i'm probably going to do something very hacky like running a routine every 10 minutes or so that does the following: desperate ?, but where is the sources ? :=) with dovecot one

Re: Domain wide maildir quota

2012-06-04 Thread Benny Pedersen
Den 2012-06-04 15:51, Elaconta.com Webmaster skrev: I'm using Courier-IMAP, not Dovecot. What do you mean by sources? :/ then make an perl policyd that checks imap protocol and reports back to policy protocol in postfix, no scripting is needed

Re: Domain wide maildir quota

2012-06-04 Thread Elaconta.com Webmaster
Benny Pedersen escreveu: Den 2012-06-04 15:51, Elaconta.com Webmaster skrev: I'm using Courier-IMAP, not Dovecot. What do you mean by sources? :/ then make an perl policyd that checks imap protocol and reports back to policy protocol in postfix, no scripting is needed Okay, but how would

Re: Domain wide maildir quota

2012-06-04 Thread Benny Pedersen
Den 2012-06-04 16:05, Elaconta.com Webmaster skrev: Okay, but how would i make such a policyd? I'd have to check the quota for all the Mailboxes in the domain of the receiving email and add them to get the total domain quota, right? Each time a email is received? policy protocol in postfix is

Re: Repeated emails

2012-06-04 Thread Octavio
Hi Banyan after a couple of tries the email goes in the mailbox drwxrwsr-x 2 root mail   (/var/spool/mail/) Octavio --- El vie, 6/1/12, Banyan He ban...@rootong.com escribió: De: Banyan He ban...@rootong.com Asunto: Re: Repeated emails A: Octavio octaviomai...@yahoo.com Cc:

Re: SV: After delivery processing ?

2012-06-04 Thread Wietse Venema
Peter S?rensen: Any way to get a hook that make it possible to do some handling after the mail is delivered? Wietse If the mail delivering program is outside Postfix, wrap the program in a script that unlocks your table after successful email delivery, before it returns control to Postfix.

postscreen service not available rejection msg

2012-06-04 Thread james
We are seeing a message that I don't understand on our postfix servers with postscreen enabled. Here is a rejection message from maillog when a test tries to e-mail abuse@ address: 2012-06-04T12:45:23.773219-04:00 mx2 postfix/postscreen[4312]: NOQUEUE: reject: RCPT from [174.133.202.226]:2860:

Re: postscreen service not available rejection msg

2012-06-04 Thread Brian Evans - Postfix List
On 6/4/2012 2:07 PM, james wrote: We are seeing a message that I don't understand on our postfix servers with postscreen enabled. Here is a rejection message from maillog when a test tries to e-mail abuse@ address: 2012-06-04T12:45:23.773219-04:00 mx2 postfix/postscreen[4312]: NOQUEUE:

Re: postscreen service not available rejection msg

2012-06-04 Thread Reindl Harald
Am 04.06.2012 20:07, schrieb james: Service currently unavailable doesn't make sense as a rejection message it make sperfectly sense because this is as example how greylisting works, a proper sender will try later signature.asc Description: OpenPGP digital signature

RE: postscreen service not available rejection msg

2012-06-04 Thread James Chase
You enabled some deep protocol tests as documented: http://www.postfix.org/POSTSCREEN_README.html#after_220 OK, I wondered if this was part of it because I did see that it couldn't pass the connection over to smtpd and would require the other host to try again. I guess I wasn't expecting to

Re: postscreen service not available rejection msg

2012-06-04 Thread Reindl Harald
Am 04.06.2012 22:00, schrieb James Chase: You enabled some deep protocol tests as documented: http://www.postfix.org/POSTSCREEN_README.html#after_220 OK, I wondered if this was part of it because I did see that it couldn't pass the connection over to smtpd and would require the other

RE: postscreen service not available rejection msg

2012-06-04 Thread James Chase
you see in your log usually the same as the client get as answer what is helpful if someone is complaining to you about getting message XYZ you see in your log usually the same as the client get as answer what is helpful if someone is complaining to you about getting message XYZ I agree

Re: Understanding priviliges when delivering to external commands

2012-06-04 Thread /dev/rob0
On Mon, Jun 04, 2012 at 10:38:02AM +0100, Andrew Beverley wrote: I've been using the default_privs setting to control which user Postfix uses to deliver mail to external commands. However, I note from the manual that this setting is only used from an aliases file that is owned by root, or

RE: postscreen service not available rejection msg

2012-06-04 Thread James Chase
yes, but you are missing that this message is the answer of postgrey which is only redirected via postfix to the client, from the view of SMTP it is 450 That's OK -- postgrey is supplying me with useful information which quickly leads me to the answer to my question: why is this message 450?

Re: postfix/virtual can't deliver to virtual mailbox

2012-06-04 Thread mouss
Le 04/06/2012 11:48, Alvin Wong a écrit : Thanks, it's really the SELinux problem. The labels of some files in `/var/spool/postfix/pid` have the wrong label set. Running `/sbin/restorecon -rv /var/spool/postfix/pid/*` fixed the problem. So my problem is now solved. But I have no idea why

Re: postscreen service not available rejection msg

2012-06-04 Thread Ralf Hildebrandt
* james ja...@wintercastle.net: We are seeing a message that I don't understand on our postfix servers with postscreen enabled. Here is a rejection message from maillog when a test tries to e-mail abuse@ address: 2012-06-04T12:45:23.773219-04:00 mx2 postfix/postscreen[4312]: NOQUEUE: