Re: Specific domain rejects address extensions

2019-12-04 Thread @lbutlr
On 04 Dec 2019, at 09:52, Viktor Dukhovni wrote: >$ config_directory=$(postconf config_directory) >$ maps="proxy:mysql:$config_directory/mysql_virtual_alias_maps.cf > hash:$config_directory/virtual" >$ postmap -q ama...@myvirtualdomain.tld $maps Aha! I was only checking virtual inste

Re: How to trigger a script based on header

2019-12-04 Thread Quasar
Hi Angelo, thanks for your quick reply. I had a look at your solution, but I'd need a filter on the subject, not on sender or recipient. Can your solution be modified to include subject filtering as well? Grazie :-) On Wed, 4 Dec 2019 at 21:20, Fazzina, Angelo wrote: > Hi, AFA I know there is th

Re: How to trigger a script based on header

2019-12-04 Thread Noel Jones
On 12/4/2019 2:01 PM, Quasar wrote: Hi there, I need some help, tried to find the answer googling for it, but no luck. Here's my question: I'd need to trigger a script whenever an email is processed and sent. This trigger should be based on some header fields (e.g. subject). I tried playing wi

Re: silent drop from sender *unless* to...

2019-12-04 Thread Noel Jones
On 12/4/2019 1:55 PM, Jonathan Engbrecht wrote: thanks all.  Looks like I can mostly do this with restriction classes, though the drop ends up being a 5xx reject rather than a silent drop, which is a bit too bad. tester = check_recipient_access hash:/etc/postfix/maps/privileged_recipients, *r

RE: How to trigger a script based on header

2019-12-04 Thread Fazzina, Angelo
Hi, AFA I know there is the “argv” parameter in master.cf that can run scripts you create, there may be others. This is my test config: autoreply unix - n n - - pipe flags=DFuser=nobody argv=/usr/local/bin/angelo $sender $recipient $original

How to trigger a script based on header

2019-12-04 Thread Quasar
Hi there, I need some help, tried to find the answer googling for it, but no luck. Here's my question: I'd need to trigger a script whenever an email is processed and sent. This trigger should be based on some header fields (e.g. subject). I tried playing with header_checks but without getting anyt

Re: silent drop from sender *unless* to...

2019-12-04 Thread Jonathan Engbrecht
thanks all. Looks like I can mostly do this with restriction classes, though the drop ends up being a 5xx reject rather than a silent drop, which is a bit too bad. tester = check_recipient_access hash:/etc/postfix/maps/privileged_recipients, *reject* being able to use "discard" here would be gre

Re: Advice: NFS, hardware, SATA vs SAS etc

2019-12-04 Thread lists
You ruled out cloud solutions? (Original text deleted for brevity.) 

Advice: NFS, hardware, SATA vs SAS etc

2019-12-04 Thread venbian
Hello gurus, As 2020 nears I wanted to ask opinions about the current state of hardware requirements for a small business email platform. $dayjob asked me to enhance our existing platform to improve performance and add redundancy. Main questions (TLDR): Can NFS handle heavy IMAP, LDA, HTTP wor

Re: Specific domain rejects address extensions

2019-12-04 Thread Viktor Dukhovni
On Wed, Dec 04, 2019 at 08:10:20AM -0700, @lbutlr wrote: > On 03 Dec 2019, at 15:27, @lbutlr wrote: > > I have several domains, all of which have addresses with address delimiters > > in use. One domain is rejecting all addresses with address extensions in > > the lmtpd stage (after passing in s

Re: Specific domain rejects address extensions

2019-12-04 Thread @lbutlr
On 03 Dec 2019, at 15:27, @lbutlr wrote: > I have several domains, all of which have addresses with address delimiters > in use. One domain is rejecting all addresses with address extensions in the > lmtpd stage (after passing in smtpd). # postconf -n alias_database = hash:$config_directory/al