Multiple email forwards by roundcube or client don't work

RickDeckard

Verified User
Joined
Mar 18, 2011
Messages
106
Hi i'have a strange usse.

I f i try to forward, as example, 10 emails (as attached files) from roundcube or a client (Thunderdird tested) the email result sent, i've no error on log but is never delivered.
Any suggestions?

Thanks
 
It's too little info to go on.
What does Thunderbird say, that the mail is send?
You might not need an error, but it is neede to see what the log is saying when you send the mail.
So what does the Exim logfile say?
 
It's too little info to go on.
What does Thunderbird say, that the mail is send?
You might not need an error, but it is neede to see what the log is saying when you send the mail.
So what does the Exim logfile say?
Thanks for reply.
In both roundcube and thunderbird email result as sent.

I've just tried again, This is the log;

2023-04-18 16:36:17 1pomRP-005qoE-0M <= [email protected] H=localhost (vps.senderdomain.com) [127.0.0.1] P=esmtpa A=login:[email protected] S=114366 id=[email protected] T="Fwd: Title from first forwarded email" from <[email protected]> for [email protected] [email protected]
2023-04-18 16:36:17 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1pomRP-005qoE-0M
2023-04-18 16:36:17 1pomRP-005qoE-0M => discarded (system filter)
2023-04-18 16:36:17 1pomRP-005qoE-0M Completed
 
I presume this is from Roundcube. I see some things which could be causing the issue.
First... P=esmtpa, normally these days mails is send securely, so one should see something like P=esmtps X=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256 etc..

Then the most important one:
discarded (system filter)
So the mail is discarded due to systemfilter settings.

Did you customize anything in Exim or in the /etc/system_filter.exim file?

Can you check your version of Exim and exim.pl?
It should be:
Exim version 4.96-58-g4e9ed49f8
and Exim.pl version #32.

Also... be sure to use a subject in your mail. If you did not use a subject, that could be a cause too.
 
Aaaah... wait!!

I think I found the answer to your issue. It's attached e-mails, so I presume from Thunderbird.
TB uses the .eml format which is mentioned in the system_filter.exim file.

You might want to remove the "eml" from the system filter and then restart Exim, then it should work.
I'm not sure if the system_filter.exim is overwritten on a Exim update.

Edit: Yes it will be overwritten, here's a solution.
 
Thanks to all.
I've done:

mkdir -p /usr/local/directadmin/custombuild/custom/exim
cd /usr/local/directadmin/custombuild/custom/exim
[ -f ./system_filter.exim ] || cp -p /etc/system_filter.exim .

nano system_filter.exim

REMOVED ALL
|eml

CHECK
cat /usr/local/directadmin/custombuild/custom/exim/system_filter.exim | grep '|eml|'

cd /usr/local/directadmin/custombuild
./build exim_conf

Tested several time, now any forward with .eml attached is delivered
 
Back
Top