How to bulk edit Mail signatures.

The Mail signatures are nominally held as *.mailsignature files in ~/Library/Mail/V10/MailData/Signatures. I have successfully edited the *.mailsignature files to change the signature, so that the half dozen of so signature have a common motto that I can change frequently. It's not a simple process. The signature has a normal mail header with trailing blank line, followed by HTML encoded in quoted-printable (QP) form, to keep the length of the lines below 72 characters. Newlines are preceded by the QP escape character '=', and non-ascii UTF8 characters are also encoded in hex with a preceding '='. Editing involves decoding the QP of the HTML part, substituting the new text, and recoding the HTML part as QP.

I have this process working, and the results have been until very recently accepted by Mail, although it generally required that Mail be shut down while I changed the sigs, and left for some time before restarting.


This process is now not working.


Mail buffers the existing signatures somewhere. I can shut down Mail, modify the sigs, restart the computer, restart Mail, and–voila!–the old signatures have overwritten the files in ~/Library/Mail/V10/MailData/Signatures.


Any idea what's going on here, and how I can take control of my own mail signatures?

MacBook Air 13″, macOS 13.4

Posted on Aug 28, 2023 6:59 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 30, 2023 6:10 PM


Afterwards, the file /Users/pbw/Library/Mail/V10/MailData/SyncedFilesInfo.plist gave the game away. It contained entries for the signature files and the icloud account key. Mail was storing the signatures in the could, and retrieving them on restart.


I don't use iCloud, or at least I have never committed to it fully, so it is no problem for me to turn off Mail's usage of it. Problem solved.


Similar questions

3 replies
Question marked as Top-ranking reply

Aug 30, 2023 6:10 PM in response to numinasthmatic


Afterwards, the file /Users/pbw/Library/Mail/V10/MailData/SyncedFilesInfo.plist gave the game away. It contained entries for the signature files and the icloud account key. Mail was storing the signatures in the could, and retrieving them on restart.


I don't use iCloud, or at least I have never committed to it fully, so it is no problem for me to turn off Mail's usage of it. Problem solved.


Aug 29, 2023 7:59 AM in response to numinasthmatic

numinasthmatic wrote:

Any idea what's going on here, and how I can take control of my own mail signatures?

MacBook Air 13″, macOS 13.4



The current stable release of Ventura including bug fixes, security updates is macOS Ventura 13.5.1 —I would start there and compare your results...

Keep your Mac up to date - Apple Support

Keep your Mac up to date - Apple Support




You can Call Customer Support (800) MY–APPLE (800–692–7753)

or on line https://getsupport.apple.com/


Outside the USA—Contact Apple for support and service by phone

See a list of Apple phone numbers around the world.

Contact Apple for support and service - Apple Support


Aug 30, 2023 5:38 PM in response to leroydouglas

Thanks for that. I upgraded, and it made no difference. (Incidentally, I used to be notified of available upgrades, along with upgrades to my apps from AppStore, but that does not seem to be happening any more.)


I spoke to support/applecare. The question boiled down to this: where is Mail ACTUALLY keeping the signature files that it is restoring when I restart Mail? No idea.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to bulk edit Mail signatures.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.