limit alias lookup to configured domains

2011-11-25 Thread Lars Täuber
Hi list, is it somehow possible to limit the lookup for aliases in virtual_alias_maps to domains the postfix system is responsible for? The problem: I want »abuse@...« to be aliased to »postmaster« for every domain the system is configured for. (virtual_mailbox_domains) Therefore I've done this:

Re: reinjection via unix socket

2011-07-20 Thread Lars Täuber
Hello everybody, Am Wed, 20 Jul 2011 08:43:29 -0400 (EDT) Wietse Venema schrieb: > Lars T?uber: > > > $ ls -ld /var/spool/postfix/private/ /var/spool/postfix/public/ > > > drwx-- 2 postfix root 4096 Jun 7 > > > 17:59 /var/spool/postfix/private/ drwx--x--- 2 postfix postdrop 4096 > > >

Re: reinjection via unix socket

2011-07-20 Thread Lars Täuber
Hi Victor, Am Tue, 19 Jul 2011 11:37:56 -0400 Victor Duchovni schrieb: > On Tue, Jul 19, 2011 at 05:02:34PM +0200, Lars T??uber wrote: > > > The unix socket can't be used by other users than root or postfix. > > Is there a way to configure ownership and/or permissions for the socket? > > No, th

Re: reinjection via unix socket

2011-07-20 Thread Lars Täuber
Sorry I had the automatic linebreaking activated in my mail program. The correct command line was this: # sudo -u postfix /usr/bin/socat - UNIX-CONNECT:/var/spool/postfix/dspam/filter 220 DSPAM LMTP 3.6.8 Ready quit 221 2.0.0 OK Best wishes Lars

Re: reinjection via unix socket

2011-07-20 Thread Lars Täuber
Hello Victor, Am Tue, 19 Jul 2011 11:37:56 -0400 Victor Duchovni schrieb: > On Tue, Jul 19, 2011 at 05:02:34PM +0200, Lars T??uber wrote: > > > The unix socket can't be used by other users than root or postfix. > > Is there a way to configure ownership and/or permissions for the socket? > > No,

Re: reinjection via unix socket

2011-07-19 Thread Lars Täuber
Hi Matthias, Am Tue, 19 Jul 2011 17:11:57 +0200 Matthias Andree schrieb: > Am 19.07.2011 17:02, schrieb Lars Täuber: > > Hi Wietse, > > > > the unix socket can't be used by other users than root or postfix. > > Is there a way to configure ownership and/or permis

Re: reinjection via unix socket

2011-07-19 Thread Lars Täuber
Hi Wietse, the unix socket can't be used by other users than root or postfix. Is there a way to configure ownership and/or permissions for the socket? I thought under Linux the filesystem permissions reflect the permissions to the unix socket. Here is my config and the socket: master.cf: backdoo

Re: reinjection via unix socket

2011-07-15 Thread Lars Täuber
Hello Wietse, Am Thu, 14 Jul 2011 12:08:34 -0400 (EDT) Wietse Venema schrieb: > If the connection is not AF_INET or AF_INET6, Postfix pretends it > is localhost[127.0.0.1]. thanks. This helps a lot! I just had a quick scan over the docs and couldn't find this info. Thanks Lars

reinjection via unix socket

2011-07-14 Thread Lars Täuber
Hello, our mail server does local content_filtering via lmtp over unix socket. This filter is capable of reinjecting the result via unix socket too. I'd like to use this. But I come across a problem. The inet-way of reinjection is defined in our master.cf as follows: 127.0.0.1:10026 in