I currently have this postfix server.
What I want to do now, is to route all mails containing only digits in the user part, for example: 12345...@sebbe.eu <mailto:12345...@sebbe.eu> or 63232535...@sebbe.eu <mailto:63232535...@sebbe.eu> To a application, namely smsq. So basically, for any mail arriving at {DIGITS}@sebbe.eu <mailto:%7bdigits...@sebbe.eu> , I want to cut out the first 150 characters of the plaintext body, and then send it to the following command: smsq --motx=SIP/0740940000@cellip --da {DIGITS} --ud {TRUNCATED_PLAINTEXT_BODY} And of course, sending to these adresses should be considered relay, eg if you aren't permitted to relay through the server, any mail to a adress whose user-part contains only digits, should be rejected, for obvious security reasons. Best regards, Sebastian Nielsen
smime.p7s
Description: S/MIME Cryptographic Signature