Hi, I use Google Calendar to remind me of various tasks to complete. I want to setup an event, add an email reminder for the event and then setup a Sieve filter for Dovecot (processed by Pigeonhole) to generate a notification to an email-to-text gateway address so I can receive a short text message.
I have the latter portion working with a test email from a difference source, but when Pigeonhole encounters the Auto-Submitted header on the real Google Calendar notifications it refuses to generate the requested notification for what it sees as another notification. I'm sure that choice is a safety feature of some kind, but the lack of an override is proving challenging. Since Postfix (2.11) is my MTA and it supports removing headers, I'd like to have it strip this one. I found that I can include this line in the same file I use for the other header checks applied to ALL mail: /^Auto-Submitted:/ IGNORE but then it will affect all mail and I'd rather not do that. What I'm currently trying to get working is a service entry in master.cf that has its own header checks conf file. This service would only be used for specific sender addresses in order to limit the header removal to just those email notifications generated by Google Calendar. Looking at those emails, I see that calendar-notificat...@google.com is the source address. I added the entry to my check_sender_access table with an action of 'FILTER strip-automated-headers:' In my master.cf file I have the following: strip-automated-headers unix n - - - 0 cleanup -o syslog_name=postfix/strip-automated-headers -o header_checks=regexp:/etc/postfix/strip_automated_headers.conf,regexp:/etc/postfix/header_checks.conf In my my email client breaks the lines prematurely, in the file it is written with three lines. The latter two are indented by two spaces to match the indention used by other entries in the file. I don't know what settings to use for the service entry. This is something that I've barely encountered while working with Postfix, so I have yet to learn enough to properly work with it. Here are some error messages related to the three lines provided earlier: warning: unexpected attribute queue_id from private/strip-automated-headers socket (expecting: status) warning: private/strip-automated-headers socket: malformed respons Some documentation that I've read (at least lightly) in an attempt to understand what I am doing wrong: * http://www.postfix.org/access.5.html * http://www.postfix.org/master.5.html Thanks in advance for your help!