Exim Pipe Transport Configuration Problem With Debian-Style Server.

Posted on 2007-07-29
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
    LVL 3

    Expert Comment

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

    Author Comment

    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.
    LVL 3

    Accepted Solution


    Featured Post

    How does your email signature look on mobiles?

    Do your employees use mobile devices to reply to emails? With mobile becoming increasingly important to the business world, it is in your best interest to make sure that your email signature looks great across all types of devices.

    Join & Write a Comment

    Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
    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

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now