Exim Pipe Transport Configuration Problem With Debian-Style Server.

Posted on 2007-07-29
Medium Priority
Last Modified: 2013-12-06
I have a Debian-Style server (in DMZ) that uses Exim to redirect all mail to an exchange server (in LAN)  the server is configured to scan the email for viruses and a spam before redirection (clamav and spam assassin).

I need to deliver a message locally to a script (likely via a pipe).

Changing the MTA is not an option at this point.

I have tried adding an entry to the alias file:
myalias: "|/path/to/myscript >> /tmp/test.txt" (where script just spits out some text right now)

I get:
... |/path/to/myscript >> /tmp/test.txt <myalias@mail.mydomain.tdl> R=system_aliases defer (-30): pipe_transport unset in system_aliases router

How can I configure exim to deliver email to this alias to the script?

Question by:donjon56
  • 2

Expert Comment

ID: 19620038
Easiest thing would be to deliver the message to a user on the system and then configure procmail to pass it through a script.

Author Comment

ID: 19621364
I'm looking to pre process it before it gets handled/mangled by exim.

Do you know how to get exim to drop the mail locally, without stopping the rest of the emails to that domain?

the mails are getting processed for virus' and spam before being forwarded to an exchange server.

Accepted Solution

gb-sdc earned 2000 total points
ID: 19621469

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article outlines some of the reasons why an email message gets flagged as spam on a recipient's end.
Microsoft Jet database engine errors can crop up out of nowhere to disrupt the working of the Exchange server. Decoding why a particular error occurs goes a long way in determining the right solution for it.
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question