prevent NDRs for sieve-forwarded emails

2018-04-19 Thread mj
Hi, Here is our situation: We have an email server at ourdomain.com where some folks setup a sieve redirect to other mailboxes. Now, consider the case where a us...@randomdomain.com sends an email to our u...@ourdomain.com, and it is sieve-forwarded to u...@forwarddomain.com. But suppose t

Bogofilter and whitelist

2018-04-19 Thread Christos Chatzaras
I scan incoming mail with bogofilter. Here is the related part of master.cf : smtp inet n - n - - smtpd -o content_filter=filter: -o receive_override_options=no_address_mappings filterunix - n n - - pipe flags=Rq user=

Re: Postfix performance problem (cleanup process)

2018-04-19 Thread Matus UHLAR - fantomas
Emanuel writes: Can the files header/body_checks generate overload? On 19.04.18 00:05, micah wrote: Yes. I recently tried to load the malware patrol header check list, which has 49349 lines as a regexp body check, and I quickly had to stop doing that because the resource usage of the machine

Re: prevent NDRs for sieve-forwarded emails

2018-04-19 Thread Matus UHLAR - fantomas
On 19.04.18 09:08, mj wrote: Here is our situation: We have an email server at ourdomain.com where some folks setup a sieve redirect to other mailboxes. Now, consider the case where a us...@randomdomain.com sends an email to our u...@ourdomain.com, and it is sieve-forwarded to u...@forwardd

Re: user unknown in virtual mailbox table

2018-04-19 Thread Alfredo De Luca
Hi all. Here is my postfix config.of course with domains and ip changed. I had a look also on the ldap section and given what are the reccommandation here (http://www.postfix.org/LDAP_README.html#config) it seems to be that ldap queries when we received an unknow user with a different domain f

Re: Bogofilter and whitelist

2018-04-19 Thread Wietse Venema
Christos Chatzaras: > I scan incoming mail with bogofilter. Here is the related part of master.cf : > > smtp inet n - n - - smtpd > -o content_filter=filter: > -o receive_override_options=no_address_mappings > filterunix - n n -

Re: Bogofilter and whitelist

2018-04-19 Thread Christos Chatzaras
Great. Thank you for your reply :-) > On 19 Apr 2018, at 17:05, Wietse Venema wrote: > > Christos Chatzaras: >> I scan incoming mail with bogofilter. Here is the related part of master.cf : >> >> smtp inet n - n - - smtpd >> -o content_filter=filter: >> -o

Outbound address rewriting

2018-04-19 Thread Kevin Miller
Some years back a local ISP/cable company hosted the alaska.com domain. They had just leased the domain, and a couple years ago the owners didn't renew the lease. GCI registered a new domain, alaskan.com (note the "n" in alaskan). When my users send to some...@alaska.com, it bounces as there

Re: Outbound address rewriting

2018-04-19 Thread Wietse Venema
Kevin Miller: > Some years back a local ISP/cable company hosted the alaska.com > domain. They had just leased the domain, and a couple years ago > the owners didn't renew the lease. GCI registered a new domain, > alaskan.com (note the "n" in alaskan). When my users send to > some...@alaska.com,

Re: Outbound address rewriting

2018-04-19 Thread Viktor Dukhovni
> On Apr 19, 2018, at 4:24 PM, Wietse Venema wrote: > > In both maps, > >@alaska.com@alaskan.com > > would do the domain translation. > > Caution: with this, Postfix will accept email for any addr...@alaska.com > including addresses that are later found to be undeliverable. If >

RE: Outbound address rewriting

2018-04-19 Thread Kevin Miller
-Original Message- > I think in this case both domains are remote, in which case the > bounce issue may be moot. Only users authorized to send outbound > mail can create email for the destination in question, and the > goal is to "correct" the destination domain. Right. As it stands now,

RE: Outbound address rewriting

2018-04-19 Thread Kevin Miller
> Use canonical_maps to rewrite all instances of the address > (header, envelope, sender, recipient). > Use virtual_alias_maps (not virtual_aias_domains) to rewrite > the envelope recipient only. Quick question: In the docs I don't see a reference to a line in main.cf. Will postfix pick up on

Re: Outbound address rewriting

2018-04-19 Thread Tom Hendrikx
On 19-04-18 23:26, Kevin Miller wrote: > -Original Message- >> I think in this case both domains are remote, in which case the >> bounce issue may be moot. Only users authorized to send outbound >> mail can create email for the destination in question, and the >> goal is to "correct" the d

Re: Outbound address rewriting

2018-04-19 Thread /dev/rob0
On Thu, Apr 19, 2018 at 09:47:27PM +, Kevin Miller wrote: > Quick question: In the docs I don't see a reference to a line in > main.cf. Will postfix pick up on the existence of the table > automatically once I hash it, or do I need to add something along > the lines of: > virtual_alias_ma

RE: Outbound address rewriting

2018-04-19 Thread Kevin Miller
Thanks for the feedback. It's working as advertised although in the end I used the canonical map. ...Kevin -- Kevin Miller Network/email Administrator, CBJ MIS Dept. 155 South Seward Street Juneau, Alaska 99801 Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User No: 307357 -Or

integrating p0f with postfix

2018-04-19 Thread David Mehler
Hello, Does anyone have p0f going with postfix? I'm wanting to add a header for email connecting OS. Thanks. Dave.