1

Topic: suggestion for the tutorials

Every ugrade tutorials starts with :

Update /etc/iredmail-release with new iRedMail version number

example

It may also be just as easy to use a perl command to change the version from previous version to the latest.

example:

 perl -pi -e 's#1.3#1.3.1#g' /etc/iredmail-release

just my 0,02€

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: suggestion for the tutorials

I don't like this idea.

Running perl with in-place update may fail due to no pattern matched ("1.3" in your example).

3

Re: suggestion for the tutorials

Hello All,

  The automatic replacement can be done in many different ways. I do with `sed`. That is for each one to decide.

  If anything, my suggestion is to make this the last step. I do not like the idea of bumping the version if I have not completed the upgrade. I normally do at the end as I document (pseudo-script) each step.

  If the version modification is at the end, this is the final tick on the upgrade (if successful).

Cheers,
Stay safe everyone.

4

Re: suggestion for the tutorials

Maybe even an automated script, that just downloads and overwrites the previous version.
It's just an idea.