Subject: Re: How to use mmsfromemail ?



Hi,
I followed what you said, and I am not able to receive mms from email
Can some one give me a complete example for sending MMS from hotmail email
account to mobile number through mbuni.

Thanks

----- Original Message -----
From: "Loïc Minier" <[email protected]>
To: <[email protected]>
Sent: Thursday, January 12, 2006 5:11 AM
Subject: Re: [Users] How to use mmsfromemail ?


> Hi,
>
> On Thu, Jan 12, 2006, [email protected] wrote:
>> I do not know how to configure my MTA in order to call mmsfromemail.
>> I am running Redhat linux, and there is sendmail server on it. can you
>> help to configure it?
>
> I can hand you the postfix transport I use, and details of
> configuration, see below. Postfix was written as a replacement for
> Sendmail, and is in my experience easier to use than Sendmail.
&...

gt;
> Create a file
> /usr/local/bin/content-filter with the following content:
> #!/bin/sh
>
> INSPECT_DIR=/var/spool/filter
>
> # Exit codes from <sysexits.h>
> EX_TEMPFAIL=75
> EX_UNAVAILABLE=69
>
> # Clean up when done or when aborting.
> trap "rm -f in.$$" 0 1 2 3 15
>
> # Start processing.
> cd $INSPECT_DIR || {
> echo $INSPECT_DIR does not exist; exit $EX_TEMPFAIL; }
...

>
> cat >in.$$ || {
> echo Cannot save mail to file; exit $EX_TEMPFAIL; }
>
> mmsfromemail "$@" <in.$$ || {
> echo Message content rejected; exit $EX_TEMPFAIL; }
>
> exit $?
>
> chmod a+x this script then add the following to /etc/postfix/master.cf:
> # mbuni
> mbuni unix - n n - 10 pipe
> flags=Rq user=mbuni argv=/usr/local/bin/content-filter -f
> ${sender} -t ${recipient} /etc/mbuni/mbuni.conf
>
> (everything after flags on one line, don't forget the space in front of
> flags to tell postfix this is a continuation of the "mbuni" line)
>
> Finally, route messages as usual to the mbuni transport, one way of
> doing it is to use:
> relay_domains = mms.example.com
> transport_maps = hash:/etc/postfix/transport
> and have /etc/post...

fix/transport say:

> mms.example.com mbuni:dummy
> (don't forget to postmap /etc/postfix/transport!)
> Another easier way is, but by default all mails will get to mbuni:
> content-filter = mbuni:dummy
>
> and reload postfix.
>
> This configuration won't bounce back message rejected by mbuni so you
> have a chance to reconfigure mbuni when it was a configuration error
> not to accept messages. If you want to bounce messages, change the
> last exit $EX_TEMPFAIL in exit $EX_UNAVAILABLE.
>
> Cheers,
> --
> Loïc Minier <[email protected]>
> Current Earth status: NOT DESTROYED
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://mbuni.org/mailman/listinfo/users_mbuni.org
>



Programming list archiving by: Enterprise Git Hosting