Exim forwaring email to scripts
Posted on 2013-11-25
I was hoping some one could help me. I want to set up a EXIM to forward all emails sent to a domain to a script on the server.
now I know I should be able to do this with an aliases entry such as
although for some reason I don't see the script running so not sure it is working correctly. even though I see the mail get added in
You have new mail in /var/mail/pi
(yep running on a raspberry )
but more importantly I want all emails to "devilwah.com" to go to the script even if no user exists. at the moment I get an unroutable error if I try to send to a non existence user.
Can any one help me set up the redirect to script for an entire domain. I want people to be able to pass information to the script usign the format of the address. for example firstname.lastname@example.org I would use the sms.devilwah.com to determin what script to use and the number would be a varible to extract.