And if that helps in any way:
"If the directory /configdirectory//log/smtpclient./smtp_backend/
exists, then telemetry logs for outgoing SMTP sessions will be created
in this directory."
I created the log directory and "touch" the files but they are empty.
Cheers
T
Dr. Thorsten Brandau via Info schrieb am 22.03.26 um 16:44:
Hello Дилян
thank you for your email. I really apologize for being so annoying and
not giving enough information. I have a hard time figuring out the
informatin cyrus gives back tp me. It seems like despite doing
exensive logging in the systemlog, there are no errormessages getting
there.
I know it helps to finish reading email prior to answering. Just not
that I do it always, so again apologies.
I stumped on the "sendmail configuration" in your email. And of
course, as with the old groupware (group-e from Endo7) and Cyrus
2.4/2.6 nevery a problem occurred, I just presumed that it was configured.
Now, with Cyrus 3.x it is not. So I configured it:
sendmail: /usr/bin/sendmail
sendmail_auth_id: CYRUS_SENDMAIL_AUTH_ID
smtp_backend: sendmail
smtp_host: localhost:587
# smtp_auth_authname:
# smtp_auth_password:
# smtp_auth_realm:
However, this also did not change anything. I tried different
mailservers (our local postfix, which works fine and the uplink mail
server, which works fine, either).
I am not sure how to invoke strace with vacation (= i.e. no clue).
I am really sorry to be so confusing. Cyrus is an unbelieveable black
box for me, I think that the documentation is pretty unless for
someone who did not develop cyrus himself (i.e. a pure user).
I do not find any way to debug this reasonable, i.e. that Cyrus gives
me some error messages what his problems are.
Playing around with the sieve script so that it is generated without
fault, and uploaded as simple as possible, does not seem to work, as
long as an email is sent.
I do not get any error message that no email is sent, or at last I do
not find anything in the cyrus log he is putting in the journal that
shows the recipientaddress.
Is there any way to see if Cyrus sends an email and if no, why not?
Really sorry for being annoying.
Greetings
TB
Дилян Палаузов schrieb am 22.03.26 um 15:05:
Hello Thorsten,
Sieve is defined by IETF and there is information on internet how to write in
Sieve, its syntax, and how to upload using the ManageSieve protocol. This
information is not specific but valid for Cyrus IMAP.
Here some software, which can upload using ManageSieve (it does not create the
Sieve scripts itself):
•https://pypi.org/project/managesieve/
•https://hg.guido-berhoerster.org/projects/managesieve
• RoundCube
•https://github.com/thsmi/sieve - Thunderbird add-on
Sending vacations messages should work out of the box. From your text it is
not clear, if on executing the vacation action entries are added in the deliver
database.
To be able to send emails from Cyrus IMAP, in imapd.conf must be configured the
"sendmail” parameter
-https://www.cyrusimap.org/imap/reference/manpages/configs/imapd.conf.html .
If the system worked for 30 years, as you said, then this is probably not the
cause. Running the vacation action under strace will give hints, how sendmail
is invoked and what is passed to it. I do not know what to advice you more, as
I do not know your systems. In my opinion you are not providing sufficient
information to reproduce your problem.
Greetings // Дилян
-----Original Message-----
From: Dr. Thorsten Brandau via Info<[email protected]>
Reply-To: Info<[email protected]>
To:[email protected]
Subject: Re: Insert a message for outside Emails?
Date: 22/03/26 15:26:38
Hello
it took a long time for the to find time to get deeper into this answer,
apologies for that.
Unfortunately I do not really understand *how to configure sieve*. It
somehow worked miraculously in the past with our groupware/webmailers
(locally installed) so there was never a need to go deep into the system.
As now (with Egroupware and Cyrus 3.x) it is possible to create filters,
but not to run the vacation emails (it says configured but does not work),
So, from your answer below, I conclude it seems that Cyrus "is not
configured to send emails".
Apologies for my lack of understand but would you be able to point me in
the direction of documentation/tutorials/howtos for
- How to use Sieve and create scripts
- How to configure Cyrus 3.x for delivering emails
To clarify: I well understand the direction you point me to, but it is a
bit like someone C&P important lines from an assembler code and tries to
explain this to a Basic Programmer....
It might all be clear for someone who understands sieve, but I need to
get this understanding sieve (and I mean not only the sieve script, but
how sieve works together with Cyrus, how I can test it etc.). All Cyrus
installations so far have worked well practically out of the box with a
little configuration in the config files. And as they did that, I have
to admit there was never a need to get deeper in any of the configs
(postfix+cyrus+fetchmail to setup had in the past plenty of nice
"howtos" and I just managed to take those configs in the last 30 years
to the new versions and setups).
Thank you for your patience and your support.
Cheers
TB
Дилян Палаузов schrieb am 29.08.25 um 19:41:
Hello,
You can check with the sieve index extension if a particular Received: header
(e.g. the third top most, depending on your setup) has received a message from
inside or from outside, based on some regular expressions. This check could
also be done based on From header, or envelope sender. (But the last two
variants can be faked, unless you use DMARC).
Once a Sieve script determines that a message is from outside,
• it can add a header (with the editheader extension), or
• set a flag like \\Flagged, or
• move the message to a sub-mailbox(directory).
• You can also try to use variables, store in a variable the subject of the
email, remove the subject header, prepend text to it, and add the new subject.
This breaks however DMARC/DKIM, if at any moment later is decided to evaluate
DKIM again.
I do not think it is possible to prepend text to the message body. This is
hard to implement, if the message has three alternative MIME parts - icalendar,
text, html - prepending text in HTML is hard, and prepending text in iCalendar
is ... something very new. But it is not clear which MIME part out of all
alternatives the use wiil open, so you are asking to prepend text in all
alternative MIME parts.
Concerning your other message about vacation not sent, when vacation messages
are sent, an entry in the deliver.db database is made
-https://www.cyrusimap.org/imap/concepts/deployment/databases.html#duplicate-delivery-deliver-db
- to track when for last time a vacation message was sent. You can look there
if there are entries. If sieve REJECT does not work for you, this means that
Cyrus IMAP is not configured to send emails and for this reason it does not
send vacation/out-of-office
responses.
From your examples:
anyof(address :contains ["To","TO","Cc","CC"]"[email protected]", address :contains
["To","TO","Cc","CC"]"[email protected]")
You probably want to rewrite the above to the equivalent -
seehttps://datatracker.ietf.org/doc/html/rfc5228.html#section-5.1 -
address :contains ["To", "Cc"] ["[email protected]","[email protected]"]
and use instead of :contains → :is (or the lack of [MATCH-TYPE], which implies
:is)
Greetings // Дилян
-----Original Message-----
From: Dr. Thorsten Brandau via Info<[email protected]>
Reply-To: Info<[email protected]>
To:[email protected]
Subject: Insert a message for outside Emails?
Date: 28/08/25 19:30:17
I am looking at various sieve folders and wonder if anyone tried to
create a filter that inserts a message like "Email from Outside Adresse"
at the beginning of each message body, if the sender domain does not
match the local one.
Is that possible?
I am getting my emails via fetchmails -> postfix -> cyrus, so something
in postfix itself would not work.
Cheers
TB
------------------------------------------
Cyrus: Info
Permalink:https://cyrus.topicbox.com/groups/info/T4061c7db816fcf5c-Mfa1ed01a2531d5440cfdb680
Delivery options:https://cyrus.topicbox.com/groups/info/subscription
------------------------------------------
Cyrus: Info
Permalink:https://cyrus.topicbox.com/groups/info/T574c9d7435f44ed2-M0254c174d6679de41de2e83b
Delivery options:https://cyrus.topicbox.com/groups/info/subscription
--
+ This Document is confidential + Dieses Dokument ist vertraulich +
*The PONCELET INNOVATION AWARD 2025 was awarded to Dr. Thorsten Brandau of
BRACE GmbH as recognitation of contributions and innovation in the filed of
bioencapsulation*
->->-> Please register athttps://www.brace.de for getting always the latest news and
best informations! <-<-<-
* FOCUS Leading Innovator 2026 *
++++ Please visit us at those events:
* Food Ingredients Europe, Dec. 02-04, 2025 in Paris, France *
* InCosmetics, 14–16 April 2026, Paris Expo Porte de Versailles, France*
* 28th Microencapsulation Industrial Convention, June 8-11, 2026, Valencia
Spain *
* IFT FIRST 2026, July 12–15, 2026, Chicago, IL, USA *
* Food Ingredients Europe, Nov. 17-19, 2026 in Frankfurt, Germany *
++++
BRACE GmbH
Dr. Thorsten Brandau ([email protected])
President
Am Mittelberg 5
D-63791 Karlstein
Germany
Tel: +49 6188 991757
Fax: +49 6188 991759
https://www.brace.de
HRB5004 (Amtsgericht Aschaffenburg), VAT DE151299833, Managing Directors: Dr.
Thorsten Brandau
IMPORTANT NOTICE:
This email may be confidential, may be legally privileged, and is for the
intended recipient only.
Access, disclosure, copying, distribution, or reliance on any of it by anyone
else is prohibited
and may be a criminal offence. Please delete if obtained in error and email
confirmation to the sender.
*Cyrus <https://cyrus.topicbox.com/latest>* / Info / see discussions
<https://cyrus.topicbox.com/groups/info> + participants
<https://cyrus.topicbox.com/groups/info/members> + delivery options
<https://cyrus.topicbox.com/groups/info/subscription> Permalink
<https://cyrus.topicbox.com/groups/info/T574c9d7435f44ed2-M3b4e6d84502698aa45fb1ef6>
--
+ This Document is confidential + Dieses Dokument ist vertraulich +
*The PONCELET INNOVATION AWARD 2025 was awarded to Dr. Thorsten Brandau of
BRACE GmbH as recognitation of contributions and innovation in the filed of
bioencapsulation*
->->-> Please register athttps://www.brace.de for getting always the latest news and
best informations! <-<-<-
* FOCUS Leading Innovator 2026 *
++++ Please visit us at those events:
* Food Ingredients Europe, Dec. 02-04, 2025 in Paris, France *
* InCosmetics, 14–16 April 2026, Paris Expo Porte de Versailles, France*
* 28th Microencapsulation Industrial Convention, June 8-11, 2026, Valencia
Spain *
* IFT FIRST 2026, July 12–15, 2026, Chicago, IL, USA *
* Food Ingredients Europe, Nov. 17-19, 2026 in Frankfurt, Germany *
++++
BRACE GmbH
Dr. Thorsten Brandau ([email protected])
President
Am Mittelberg 5
D-63791 Karlstein
Germany
Tel: +49 6188 991757
Fax: +49 6188 991759
https://www.brace.de
HRB5004 (Amtsgericht Aschaffenburg), VAT DE151299833, Managing Directors: Dr.
Thorsten Brandau
IMPORTANT NOTICE:
This email may be confidential, may be legally privileged, and is for the
intended recipient only.
Access, disclosure, copying, distribution, or reliance on any of it by anyone
else is prohibited
and may be a criminal offence. Please delete if obtained in error and email
confirmation to the sender.
------------------------------------------
Cyrus: Info
Permalink:
https://cyrus.topicbox.com/groups/info/T574c9d7435f44ed2-M006e3e6ddeb65f03a4edc6b4
Delivery options: https://cyrus.topicbox.com/groups/info/subscription