in reply to Re: mail server scripts (repost)
in thread mail server scripts (repost)

I guess my question really is, how do I get scripts to run when incoming messages are received? Where do I put the scripts? What on the mail server must I edit?

Replies are listed 'Best First'.
Re:^3 mail server scripts (repost)
by blue_cowdawg (Monsignor) on Jan 24, 2004 at 22:11 UTC

        Where do I put the scripts? What on the mail server must I edit?

    The answers to that question depend on the architecture of your mailer environment. You mentioned Lotus Notes. How does Lotus Notes handle its mail queues? If you have the opportunity to have LN store incoming mail into a queue directory where a script initiated by cron can "pick it up" and then hand it off to a delivery agent then that's one way.

    SpamAssassin is actually invoked by the MTA through a socket. Can LN deal with that? Can procmail be invoked by LN?

    Short answer is: it all depends. You need to work with your MTA administrator to work out the naughty bits of getting this to work.


    Peter L. Berghold -- Unix Professional
    Peter at Berghold dot Net
       Dog trainer, dog agility exhibitor, brewer of fine Belgian style ales. Happiness is a warm, tired, contented dog curled up at your side and a good Belgian ale in your chalice.