Re: RESOLVED : was : Postfix@-.service failed question

2021-08-30 Thread raf
On Mon, Aug 30, 2021 at 08:57:36PM +0200, Jean-François Bachelet wrote: > Re-Re-Hello ^^) > > spamassassin unix - n n - - pipe > > user=spamd argv=/usr/bin/spamc -f -e /usr/bin/sendmail -oi -f ${sender} > ${recipient} > > Î_ see ? there is NO space or tab before 'user' and just for this postf

RESOLVED : was : Postfix@-.service failed question

2021-08-30 Thread Jean-François Bachelet
Re-Re-Hello ^^) Le 30/08/2021 à 17:02, Jean-François Bachelet a écrit : Re-Hello ^^) Le 30/08/2021 à 16:00, Jean-François Bachelet a écrit : Hello ^^) After I've installed spamassassin I get a run failure when doing 'systemctl status' I can see that my server is running 'degraded' as one

Re: Whitelist sender if past recipient

2021-08-30 Thread Benny Pedersen
On 2021-08-30 17:34, Sebastian Hyrwall wrote: Thanks for the answers (patpro also). Yes I looked at check_policy_service and no problem hacking some script+db together myself. Just wanted to make sure I didn't re-invent the wheel. +1 I'll start doing it tomorrow just in case so no one emails

Re: Whitelist sender if past recipient

2021-08-30 Thread Sebastian Hyrwall
Hi Thanks for the answers (patpro also). Yes I looked at check_policy_service and no problem hacking some script+db together myself. Just wanted to make sure I didn't re-invent the wheel. I'll start doing it tomorrow just in case so no one emails and says "just use this" :D Postfix is so ful

Re: Postfix@-.service failed question

2021-08-30 Thread Jean-François Bachelet
Re-Hello ^^) Le 30/08/2021 à 16:00, Jean-François Bachelet a écrit : Hello ^^) After I've installed spamassassin I get a run failure when doing 'systemctl status' I can see that my server is running 'degraded' as one service failed to start. then I ask 'systemctl;' and see that it's post

Postfix@-.service failed question

2021-08-30 Thread Jean-François Bachelet
Hello ^^) After I've installed spamassassin I get a run failure when doing 'systemctl status' I can see that my server is running 'degraded' as one service failed to start. then I ask 'systemctl;' and see that it's postfix.service loaded active exited    Postfix Mail Transport Agent ● postf

Re: Whitelist sender if past recipient

2021-08-30 Thread Benny Pedersen
On 2021-08-30 13:01, Sebastian Hyrwall wrote: The reason I thought of trying this is because I recently had emails sent to a completely legit domain that happened to reside on some shared server which got dnsbl listed everywhere. https://www.mail-archive.com/amavis-user@lists.sourceforge.net/m

Re: Whitelist sender if past recipient

2021-08-30 Thread postfix
I would like to whitelist any sender that a user on my mail server has sent an email to. Overriding some spamchecks,greylisting etc, depending on where it is in the smtpd_recipient_restrictions order. I do not believe there is a solution out of the box. But postfix gives you the tools to custom

Re: limit record in map

2021-08-30 Thread natan
W dniu 30.08.2021 o 15:09, post...@ptld.com pisze: >> What is a limit (if exists) character limit in this map for one query >> >> smtpd_sender_login_maps = >> proxy:ldap:/etc/postfix/ldap_sender_login_maps.cf - for >> reject_sender_login_mismatch >> >> I create a one record with ~120 e-mail (It doe

Re: Whitelist sender if past recipient

2021-08-30 Thread patpro
Hello, I'm pretty sure Postfix will not handle that by itself. IIRC you have a corresponding feature in Amavisd-new ("pen pal") that will store recipient addresses of outgoing messages into a DB (redis, memory or SQL) and use that info when a reply is coming in. Never tried it, though. patpro

Re: limit record in map

2021-08-30 Thread postfix
What is a limit (if exists) character limit in this map for one query smtpd_sender_login_maps = proxy:ldap:/etc/postfix/ldap_sender_login_maps.cf - for reject_sender_login_mismatch I create a one record with ~120 e-mail (It doesn't work for some endpoints) You don't want to return multiple em

limit record in map

2021-08-30 Thread natan
Hi What is a limit (if exists) character limit in this map for one query smtpd_sender_login_maps = proxy:ldap:/etc/postfix/ldap_sender_login_maps.cf - for reject_sender_login_mismatch I create a one record with ~120 e-mail (It doesn't work for some endpoints) like us...@domain.ltd us...@domain.l

Whitelist sender if past recipient

2021-08-30 Thread Sebastian Hyrwall
Hi Hope someone can help me with this. Feels like it should be simple. I would like to whitelist any sender that a user on my mail server has sent an email to. Overriding some spamchecks,greylisting etc, depending on where it is in the smtpd_recipient_restrictions order. For example, s...@k