Probiers mal mit AppleScript. Unter 10.6 funktionierts. neuere musste mal testen.

Empfangsbestätigung aktivieren:

Show Plain Text
  1. tell application "Mail"
  2.   quit
  3. end tell
  4.  
  5. tell application "Terminal"
  6.   activate
  7.   set ReceiptActive1 to "defaults write com.apple.mail UserHeaders '{"
  8.   set ReceiptActive2 to "Disposition-Notification-To"
  9.   set ReceiptActive3 to "="
  10.   set ReceiptActive4 to "mail@example.com"
  11.   set ReceiptActive5 to ";}'"
  12.   set zeichen to ASCII character 34
  13.   set neueZeile to ASCII character 13
  14.  
  15.   do script ReceiptActive1 & zeichen & ReceiptActive2 & zeichen & ReceiptActive3 & zeichen & ReceiptActive4 & zeichen & ReceiptActive5 & neueZeile
  16.  
  17. end tell
  18.  
  19. delay 2
  20.  
  21. tell application "Mail"
  22.   activate
  23.  
  24. end tell
  25.  
  26. tell application "Terminal"
  27.   quit
  28.  
  29. end tell


Empfangsbestätigung deaktivieren:

Show Plain Text
  1. tell application "Mail"
  2.   quit
  3. end tell
  4.  
  5. tell application "Terminal"
  6.   activate
  7.  
  8.  
  9.   do script "defaults delete com.apple.mail UserHeaders"
  10.  
  11. end tell
  12.  
  13. delay 2
  14.  
  15. tell application "Mail"
  16.   activate
  17.  
  18. end tell
  19.  
  20. tell application "Terminal"
  21.   quit
  22. end tell
----------
Gruß

Fantasy
--
"Just call me Fantasy!"