Re: Is it possible to use header checks on multiple headers

2019-04-16 Thread Nick Howitt
On 13/04/2019 09:26, Andrey Repin wrote: Greetings, Nick Howitt! I am receiving some not very nice spam and I was wondering if I could use as a single filter: To: contains mydomain From: is the same as To: (inside < and >) Return-Path: is not from my domain Or am I using completely the wrong

Re: Is it possible to use header checks on multiple headers

2019-04-16 Thread Dominic Raferd
On Tue, 16 Apr 2019 at 10:25, Nick Howitt wrote: > > > On 13/04/2019 09:26, Andrey Repin wrote: > > Greetings, Nick Howitt! > > > >> I am receiving some not very nice spam and I was wondering if I could > >> use as a single filter: > >> To: contains mydomain > >> From: is the same as To: (inside

LMTP not working

2019-04-16 Thread Silas
Hi! I'm trying to setup Postfix + Dovecot for virtual user delivery via LMTP. Configuration seems fine (output of postconf -nf below) but I still get "User unknown in local recipient table". Details follow: Apr 15 20:08:09 example postfix/smtpd[7817]: Anonymous TLS connection established

Re: LMTP not working

2019-04-16 Thread Matus UHLAR - fantomas
On 16.04.19 11:14, Silas wrote: I'm trying to setup Postfix + Dovecot for virtual user delivery via LMTP. Configuration seems fine (output of postconf -nf below) but I still get "User unknown in local recipient table". Details follow: Apr 15 20:08:09 example postfix/smtpd[7817]: NOQUEUE: r

Re: LMTP not working

2019-04-16 Thread Silas
On Tue, Apr 16, 2019 at 11:14:42AM -0300, Silas wrote: Hi! I'm trying to setup Postfix + Dovecot for virtual user delivery via LMTP. Configuration seems fine (output of postconf -nf below) but I still get "User unknown in local recipient table". Details follow: [snip] mydestination = $my

Re: Is it possible to use header checks on multiple headers

2019-04-16 Thread Noel Jones
On 4/16/2019 5:05 AM, Dominic Raferd wrote: On Tue, 16 Apr 2019 at 10:25, Nick Howitt > wrote: On 13/04/2019 09:26, Andrey Repin wrote: > Greetings, Nick Howitt! > >> I am receiving some not very nice spam and I was wondering if I could

"Is a directory"?

2019-04-16 Thread James Moe
Hello, Postfix 3.3.1 The message was delivered. What I am curious about is the bit at the end that says postfix tried to open a directory. 'Tis true, is a directory. There are 3 other directories there: cur, new, tmp. I suspect this is a mis-configuration. 2019-04-16T07:23:02-0700 sma-st

Re: "Is a directory"?

2019-04-16 Thread Wietse Venema
If you want maildir style delivery for UNIX accounts, specify /etc/postfix/main.cf: mail_spool_directory = /var/mail/ Documentation: mail_spool_directory (default: see postconf -d output) The directory where local(8) UNIX-style mailboxes are kept. The default setting depends o

Re: "Is a directory"?

2019-04-16 Thread Bill Cole
On 16 Apr 2019, at 14:07, James Moe wrote: Hello, Postfix 3.3.1 The message was delivered. Your log lines show 2 different messages: B670515E4E and A531515E50. B670515E4E delivered via relay to mail.sma.com. A531515E50 is a NDN which was not delivered. What I am curious about is the

Re: Is it possible to use header checks on multiple headers

2019-04-16 Thread Ralph Seichter
* Noel Jones: > If you need arbitrary header checks, milter-regex can do complex > regular expression matching on multiple headers or the body of the > message. I can recommend milter-regex. It is small, effective, and easy to configure. Also, the author added a useful feature after I asked him f

Selective use of alias by way of a header filter (help appreciated)

2019-04-16 Thread MK
My current setup is this:  * Mail is received by postscreen (which filters RBLs and basic checks)  * Passed to smtpd  * applies content_filter which passes the mail to amavis-new port 10024  * Amavis-new passes the mail back on 10025  * LOCAL mail is sent to the virtual_transport (dovecot LMTP)

Some bugs I think I've found

2019-04-16 Thread ecsd
(1) the control "check_relay_domains" is not documented. I had this: smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination permit_auth_destination If I remove "reject_unauth_destination" to see if it would fix a problem: smtpd_relay_restrictions = p