DKIM Signing (postfix + amavis-new)

2016-01-31 Thread John A @ KLaM
1. This maybe off topic. 2. I am currently unable to get at the output of postconf -n etc. In the past we have had occasional problems with DKIM signing not working. It would be one or two emails and we would not find out about the problem immediately. Often the sender would put it down a tran

Re: moving configs from /usr/local/etc/postfix to /etc/postfix

2016-01-31 Thread Curtis Villamizar
In message <49c94ad9-3c94-4c48-9726-0e81e1109...@dukhovni.org> Viktor Dukhovni writes: > > On Jan 31, 2016, at 1:01 AM, Curtis Villamizar > > wrote: > > > > I use tcsh so: > > > > # sh -c 'postconf -c $(postconf -dh config_directory ) \ > > -h multi_instance_directories' > > postconf: w

Re: moving configs from /usr/local/etc/postfix to /etc/postfix

2016-01-31 Thread LuKreme
On Jan 30, 2016, at 22:42, Curtis Villamizar wrote: > It would be: > > cd /usr/local/etc > mv postfix postfix.old > ln -s ../../../etc/postfix postfix No, it most certainly would not. Your configuration files ARE in local, if you want to pretend they are in /etc, then create a link in etc.

Re: postfix to mailman: User doesn't exist/relay access denied

2016-01-31 Thread Larry Stone
> Mailman requires local(8) delivery via an aliases(5) file that > belongs to the mailman user. With any luck the OP will post actual > configuration details to this list, rather than some website most > readers won't bother to look at, and someone how knows Postfix<->mailman > integration will p

Re: postfix to mailman: User doesn't exist/relay access denied

2016-01-31 Thread Viktor Dukhovni
On Sun, Jan 31, 2016 at 11:35:51PM -0500, Steven Kiehl wrote: > Another thing to try is running the 'postfix check' command to test if > there are any obvious configuration errors. Neither the debug level suggestion nor this one are likely to be of any use. > I'd have to defer to someone else mo

Re: postfix to mailman: User doesn't exist/relay access denied

2016-01-31 Thread Steven Kiehl
Another thing to try is running the 'postfix check' command to test if there are any obvious configuration errors. As I said before, I'm not familiar with a 'virtual_email2email' configuration, which is not documented on the Postfix website; I believe people just use that as their alias map config

Re: postfix to mailman: User doesn't exist/relay access denied

2016-01-31 Thread wal...@ifkuk.org
dead steven i ve just checked, bot variables virtual_alias_maps and virtual_email2email point to the file /var/lib/mailman/data/virtual_mailman, which contains: mail...@lists.ifkuk.org  mailman mailman-ad...@lists.ifkuk.org    mailman-adm

Re: postfix to mailman: User doesn't exist/relay access denied

2016-01-31 Thread Steven Kiehl
Not having used Mailman in a Postfix setup before, I can only speculate a bit. From what I can tell, all your mail is delivering through the dovecot transport and no transport designation is being performed for the mailman address aliases. I'm not familiar with a virtual_email2email configuration

postfix to mailman: User doesn't exist/relay access denied

2016-01-31 Thread wal...@ifkuk.org
Hey guys since three days I am stuck with a problem and it seems to me I am blind for the solution by digging into it so much, so I need your help to have a look at it please! our server is up and running dovecot/postfix on debian 8 for three years by now, without any problems. I urgently needed

Re: Spawning milter processes

2016-01-31 Thread Robert Schetterer
Am 31.01.2016 um 18:04 schrieb Ron Garret: > > On Jan 31, 2016, at 1:28 AM, Robert Schetterer wrote: > >> Am 31.01.2016 um 09:56 schrieb Ron Garret: >>> Hello, >>> >>> What is the usual way to start a milter process? Can postfix be configured >>> to spawn it automatically, or does the milter h

Re: Spawning milter processes

2016-01-31 Thread Ron Garret
OK, that’s exactly what I needed to know. Thanks! On Jan 31, 2016, at 9:16 AM, Steve Jenkins wrote: > On Sun, Jan 31, 2016 at 9:04 AM, Ron Garret wrote: > OK, but is there any way to get Postfix to restart a milter if it goes down? > By default, if a milter goes down, it takes postfix down w

Re: Spawning milter processes

2016-01-31 Thread Steve Jenkins
On Sun, Jan 31, 2016 at 9:04 AM, Ron Garret wrote: > OK, but is there any way to get Postfix to restart a milter if it goes > down? By default, if a milter goes down, it takes postfix down with it. The usual way to start a milter service is to have it autostart when the server boots, just as y

Re: Spawning milter processes

2016-01-31 Thread Ron Garret
On Jan 31, 2016, at 1:28 AM, Robert Schetterer wrote: > Am 31.01.2016 um 09:56 schrieb Ron Garret: >> Hello, >> >> What is the usual way to start a milter process? Can postfix be configured >> to spawn it automatically, or does the milter have to be set up as a >> separate service? If the f

Re: PCRE regex in header_checks ignored - why?

2016-01-31 Thread Sebastian Wolfgarten
Hi, spot on: I did have indeed the override_options set not to do any header_body_checks. I just removed the option which should hopefully fix my problem. Many thanks again. I didn’t think of this. Best regards Sebastian > Am 31.01.2016 um 14:44 schrieb wilfried.es...@essignetz.de: > > Hi, >

Re: PCRE regex in header_checks ignored - why?

2016-01-31 Thread wilfried.es...@essignetz.de
Hi, do you use amavis in before or after queue mode? If before, you should possibly look to your master.cf, to the lines who get the mail from amavis back. Do you have somthing like -o receive_override_options=no_header_body_checks or -o header_checks= there ? Willi Am 31.01.2

SV: PCRE regex in header_checks ignored - why?

2016-01-31 Thread Sebastian Nielsen
No, you can use PCRE lists with check_sender_access too. I use it successfully to block certain tld's and partial domains. However, I would suggest using DISCARD instead of REJECT. With REJECT, you tell the spammer that he got blocked, thus he will switch to a new domain. With DISCARD, it will si

Re: PCRE regex in header_checks ignored - why?

2016-01-31 Thread Sebastian Wolfgarten
Hi Sebastian, yes but this would require me to actually know all the hostnames upfront, i.e. I cannot use a PCRE regex if I am not mistaken, or? Thanks. Best regards Sebastian > Am 31.01.2016 um 12:52 schrieb Sebastian Nielsen : > > I would suggest use check_sender_access intead of header che

SV: PCRE regex in header_checks ignored - why?

2016-01-31 Thread Sebastian Nielsen
I would suggest use check_sender_access intead of header checks. Then you can reject based on MAIL FROM:, since apparently the hosts are using their e**. hostname in MAIL FROM. -Ursprungligt meddelande- Från: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] För S

PCRE regex in header_checks ignored - why?

2016-01-31 Thread Sebastian Wolfgarten
Hi, I have a problem with a PCRE-based rule in header_checks which seems to be ignored and I can’t understand why this is the case. Hopefully you guys have an idea on how to fix this :-) So here is my setup: I am using Postfix 2.11.7 on FreeBSD 10 and as I am being bombarded with emails from c

Re: Spawning milter processes

2016-01-31 Thread Robert Schetterer
Am 31.01.2016 um 09:56 schrieb Ron Garret: > Hello, > > What is the usual way to start a milter process? Can postfix be configured > to spawn it automatically, or does the milter have to be set up as a separate > service? If the former, how do you do it? > > Thanks, > rg > milters are usual

Spawning milter processes

2016-01-31 Thread Ron Garret
Hello, What is the usual way to start a milter process? Can postfix be configured to spawn it automatically, or does the milter have to be set up as a separate service? If the former, how do you do it? Thanks, rg