[exim] tainted search query is not properly quoted (router localWrite_gw, /etc/exim/configure 914)

2024-11-15 Thread Luca Bertoncello via Exim-users
Hi list! I'm porting the "old" configuration from 4.94.2 to 4.98. First I had to change somethings due to SRS, but now I get a strange error... My Router: localWrite_gw: driver = redirect allow_filter domains = +local_domains user = ${lookup mysql {select case count(*) when 0 then DEF

[exim] Re: Unable to start Exim 4.98

2024-11-15 Thread Luca Bertoncello via Exim-users
Am 15.11.2024 um 15:26 schrieb Odhiambo Washington via Exim-users: > [Service] > Type=forking > Restart=no > TimeoutSec=5min > IgnoreSIGPIPE=no > KillMode=process > GuessMainPID=no > RemainAfterExit=yes > SuccessExitStatus=5 6 > ExecStart=/etc/init.d/exim4 start > ExecStop=/etc/init.d/exim4 stop >

[exim] Re: Unable to start Exim 4.98

2024-11-15 Thread Luca Bertoncello via Exim-users
Am 15.11.2024 um 15:34 schrieb Jeremy Harris via Exim-users: > On 15/11/2024 14:09, Luca Bertoncello via Exim-users wrote: >> What am I doing wrong this time? > > Misreading the documentation? > > The time value needs to be part of the -q option. > > Also, there is little point in having your re

[exim] Re: Unable to start Exim 4.98

2024-11-15 Thread Odhiambo Washington via Exim-users
On Fri, Nov 15, 2024 at 5:11 PM Luca Bertoncello via Exim-users < exim-users@lists.exim.org> wrote: > Hi again! > > Next problem trying to install Exim 4.98 (compiled from source) on a > fresh Debian 12... > > I always used a start script that started these instances: > > start-stop-daemon --s

[exim] Re: Unable to start Exim 4.98

2024-11-15 Thread Jeremy Harris via Exim-users
On 15/11/2024 14:09, Luca Bertoncello via Exim-users wrote: What am I doing wrong this time? Misreading the documentation? The time value needs to be part of the -q option. Also, there is little point in having your receiving daemon separate from your main queue-runner daemon. -- Cheers, Je

[exim] Re: mysql_servers syntax for ipv6-only database server

2024-11-15 Thread Jeremy Harris via Exim-users
On 15/11/2024 06:59, Jan Ingvoldstad via Exim-users wrote: That dot feels unwise to me, much closer to established practice would be: [ipv6]:port. Note that some IPv6 address have "."'s: - :::192.0.2.1 - ::192.0.2.1 [...] But your point is valid. RFC 6052 section 2.4 (https://w

[exim] Unable to start Exim 4.98

2024-11-15 Thread Luca Bertoncello via Exim-users
Hi again! Next problem trying to install Exim 4.98 (compiled from source) on a fresh Debian 12... I always used a start script that started these instances: start-stop-daemon --start --pidfile /var/run/exim1.pid --quiet --exec $DAEMON -- "-bd" echo "exim runner 1" start-stop-daemon -

[exim] Re: tainted search query is not properly quoted (router localWrite_gw, /etc/exim/configure 914)

2024-11-15 Thread Jeremy Harris via Exim-users
On 15/11/2024 12:25, Luca Bertoncello via Exim-users wrote: I cannot understand "tainted search query is not properly quoted"... Wow, that's pretty unreadable just due to the size of it. Does mysql not have stored-procedures? Anyway, I spot (at least) a bare "$message_headers" in there. An at

[exim] Re: Unable to start Exim 4.98

2024-11-15 Thread Odhiambo Washington via Exim-users
On Fri, Nov 15, 2024 at 5:55 PM Luca Bertoncello via Exim-users < exim-users@lists.exim.org> wrote: > Am 15.11.2024 um 15:26 schrieb Odhiambo Washington via Exim-users: > > > [Service] > > Type=forking > > Restart=no > > TimeoutSec=5min > > IgnoreSIGPIPE=no > > KillMode=process > > GuessMainPID=no

[exim] SRS configuration

2024-11-15 Thread Luca Bertoncello via Exim-users
Hi again! Next problem: on the old server, with Exim 4.94.2, I compiled Exim with "EXPERIMENTAL_SRS" and it worked very well. Exim 4.98 does not have this option anymore, but it has SUPPORT_SRS, so I compiled Exim so. But now the old syntax in the configure file is not valid anymore... I checke

[exim] Re: Unable to start Exim 4.98

2024-11-15 Thread Andrew C Aitchison via Exim-users
On Fri, 15 Nov 2024, Luca Bertoncello via Exim-users wrote: I always used a start script that started these instances: start-stop-daemon --start --pidfile /var/run/exim1.pid --quiet --exec $DAEMON -- "-bd" echo "exim runner 1" start-stop-daemon --start --pidfile /var/run/exim2.pid -

[exim] Re: Unable to start Exim 4.98

2024-11-15 Thread Jeremy Harris via Exim-users
On 15/11/2024 14:55, Luca Bertoncello via Exim-users wrote: Also, there is little point in having your receiving daemon separate from your main queue-runner daemon. Sorry, I really don't understand what you mean... Could you please explain, maybe with a little example? ecim -bd -q5m -- Cheers

[exim] Re: Unable to start Exim 4.98

2024-11-15 Thread Luca Bertoncello via Exim-users
Am 15.11.2024 um 16:56 schrieb Jeremy Harris via Exim-users: > On 15/11/2024 14:55, Luca Bertoncello via Exim-users wrote: >>> Also, there is little point in having your receiving daemon >>> separate from your main queue-runner daemon. >> >> Sorry, I really don't understand what you mean... >> Coul