On Jan 2, 2019 7:41 AM, mabi <[email protected]> wrote: > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > On Wednesday, January 2, 2019 1:53 PM, Oscar Carlsson <[email protected]> > wrote: > > > As far as I know sub-addressing is enabled by default. I haven't found > > anything in my configuration that explicitly enables it, but it works > > out of the box here. > > That's also what I thought by checking the smtpd.conf man page but I presume > my issue here is that I use a recipients table in order to check if an e-mail > address is valid or not before sending to Amavis and then Dovecot. The > relevant part of my smtpd.conf file looks like this: > > table recipients postgres:/etc/mail/postgresql.conf > match from any for domain <domains> rcpt-to <recipients> action "relay_amavis" > > So here I presume that the rcpt-to option of match does not support having a > "+" in the e-mail address. > > A workaround would be having to manually define the valid "+" recipients in > my recipients table but that really sound stupid and is not very useful... >
I recently switched to dspam. It ties into smtpd very similarly to amavis. Plus it doesn't appear to need the additional <recipients> table, and delimeters still work out of the box. Everything you need to know is included in the README plus the specific readme for postgres backend. Might be worth a look. Plus it doesn't seem to be such a memory hog as the perl alternatives. I'm pretty sure that's why I stopped using amavis originally. It is very easy cause problems. Edgar b��yǢ��m�+&j)[yƮ�쨹���r��y�h�+����kiv��N�����r��zǧu���[h�+��칻�&ޢ���kiv��
