<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Postfix on Lloyd Rochester's Geek Blog</title><link>https://lloydroc.github.io/tags/postfix/</link><description>Recent content in Postfix on Lloyd Rochester's Geek Blog</description><generator>Hugo</generator><language>en</language><copyright>Copyright © 2025, Lloyd Rochester.</copyright><lastBuildDate>Sat, 27 Apr 2019 07:56:00 +0000</lastBuildDate><atom:link href="https://lloydroc.github.io/tags/postfix/index.xml" rel="self" type="application/rss+xml"/><item><title>Processing Emails with a script in Postfix</title><link>https://lloydroc.github.io/post/unix/process-mail-script-postfix/</link><pubDate>Sat, 27 Apr 2019 07:56:00 +0000</pubDate><guid>https://lloydroc.github.io/post/unix/process-mail-script-postfix/</guid><description>&lt;p>Updated Feb 7, 2020&lt;/p>
&lt;p>After thinking about this post more, it&amp;rsquo;s true you can process emails with a script in Postfix. The post provides the right answer to the &lt;strong>wrong question&lt;/strong>!! You can certainly process emails with Postfix but it&amp;rsquo;s hard, brittle, reduces performance and really isn&amp;rsquo;t recommended. What is better is to have a client program that reads the mail and does what you desire. This client can be put on a cron job, triggered or run however you want. The client is very flexible and so many different programming languages support them. This gives a lot of power to mark emails read, manage folders, etc &amp;hellip; It&amp;rsquo;s just a cleaner, better, easier to use and test architecture than having a script in Postfix. So I&amp;rsquo;ll leave this up, but, I wouldn&amp;rsquo;t use it unless there is some reason I cannot think of how it would be better.&lt;/p></description></item></channel></rss>