sieve passing body as arguments to executed script

2023-08-01 Thread Jonathan Davis
I ran into an issue when trying to wildcard match the email body where the variable was empty, which lead me to extracttext and forverypart, however I am running into an odd error. When I deliver an email with the body of 'this is the body text of email' it dies with the following error: sog

Re: Forcing imap authentication failure for certain IP addresses

2023-08-01 Thread Hippo Man
Oh, OK. I'll investigate and test it. Thank you! -- hippo...@gmail.com Take a hippopotamus to lunch today. .-, 0__0 / ( oo'---, /oo\ ,\ | | \,=__/ \ / / /--| /| |__|-'|__|'

Re: Forcing imap authentication failure for certain IP addresses

2023-08-01 Thread aki.tuomi via dovecot
1.2.3.4: nopasswordI think. Didn't have a chance to test it.Aki Original message From: Hippo Man Date: 8/1/23 19:03 (GMT+02:00) To: "aki.tuomi" Cc: dovecot@dovecot.org Subject: Re: Forcing imap authentication failure for certain IP addresses Thank you very much!In yo

Re: Forcing imap authentication failure for certain IP addresses

2023-08-01 Thread Hippo Man
Thank you very much! In your example, what would be the contents of the /etc/dovecot/deny.ip file? -- hippo...@gmail.com Take a hippopotamus to lunch today. .-, 0__0 / ( oo'---, /oo\ ,\ | | \,=__/ \

RE: Forcing imap authentication failure for certain IP addresses

2023-08-01 Thread aki.tuomi via dovecot
One way is to use  https://doc.dovecot.org/configuration_manual/authentication/auth_policy/or you can use passdb {  driver = passwd-file  deny = yes  args = username_formar=%{rip} /etc/dovecot/deny.ip}or you can use https://doc.dovecot.org/configuration_manual/authentication/lua_based_authentica

Forcing imap authentication failure for certain IP addresses

2023-08-01 Thread Hippo Man
I'm running dovecot 2.3.18 under Debian 11. I want to do something that's a bit unusual: when IMAP connections are attempted from a few specific IP addresses, I want to force an IMAP authentication failure from those connections, no matter what user ID and password are specified. I know that I ca

Postlogin script ACL_GROUPS from LDAP

2023-08-01 Thread Andrzej Milewski
Hello, I am testing the Dovecot mail server with the iRedMail configuration. My backend is based on LDAP. I would like to set up the "Public" folders in such a way as to grant permissions to specific groups of users. To achieve this, I created the following entry in the configuration: acl = vfile: