Hi Magnus, the messages will be send to the SMS gateway via postfix.
a user is sending a mail (for example) to +41123456...@sms -> postfix is doing a rewriting to +41123456...@examplesmsgateway.ch and delivers the mail. Cheers Uwe Am 13.07.2010 um 10:32 schrieb Magnus Bäck: > On Tuesday, July 13, 2010 at 09:58 CEST, > "Körner, Uwe" <uwe.koer...@t-systems.ch> wrote: > >> i'm runing a postfix server as gateway on a local network just for >> routing between different backends and the DMZ systems. I have to >> delete some special lines in the mail body (auto-generated by a >> backend) for a sms gateway. its pretty easy doing this global using >> the body_checks option, but how can i do this just for the defined >> sms gateway domain? > > How does messages from the SMS gateway enter your Postfix system? If > they can enter via a different SMTP listener (different IP address > and/or port) you can set up an additional cleanup(8) service that uses > other body_checks expressions. > > -- > Magnus Bäck > mag...@dsek.lth.se