Re: [exim] send mail to a script

Page principale
Supprimer ce message
Répondre à ce message
Auteur: TM Annie Kuo
Date:  
À: exim-users@exim.org
Sujet: Re: [exim] send mail to a script
Kieth, Heiko,

Thank you for the replies. I'm on Linux (prtty sure it's CentOS).

Heiko- Thanks. That's what I read in past emails. Can I do this with regular expressions (like unsubscribe-randomnumber*) instead of normal users (like mailman-unsubscribe)? Also, do I need to modify the exim.conf file then?

Thanks so much for the help.


TM Annie Kuo <annie@???<mailto:annie@techmission.org>> (Mo 01 Okt 2007 20:14:36 CEST):
> Hello,
>
> I'm tasked with configuring exim to send emails with a specific
> recipient format to a script to process the emails.
>
> I'm confused with when and how to use routers and transports,
> directors or system filtering/forwarding (or some combination
> thereof). I see in past emails that I might want to use a pipe in the
> alias file to do this (and configure transport and routers in the
> .conf file), but someone told me to use system filtering.



If I didn't misunderstand your question,
the most simple solution could be about like this:

In /etc/aliases just setup an alias:

local-part: "|/full/path/to/your/script"

(Of course, replace "local-part" with your special recipient and
/full/...scipt as well with the approbiate path name)

If your config is somewhat "standard", this should work out of the box.

Best regards from Dresden
Viele Grüße aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann HS12-RIPE -----------------------------------------
gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B -

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHAUvp7k6smEjQNZsRAi9SAKCJRmRFRAVCyk6Ql7ty+Mbx8Mfp7ACgxC4M
dORBlKqLVYdr/NHjHJmt8m4=
=tuCS
-----END PGP SIGNATURE-----

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/