Dear All,
I have fooling around with mbuni for some weeks, now i am can install and
runing Mbuni , also configure as VAS gateway . it works so great that i am
able to send /receive via MM7
now I would like to configure MMS gateway which allow MMSC to do MMS
interconnect, however i still couldnt configure Postfix to route email to
mmsfromemail . below is what i have done.
1- make script /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 $?
2- add route to /etc/postfix/main.cf
relay_domains = mms.example.com
transport_maps = hash:/etc/postfix/transport
3- catch email by adding following line to /etc/postfix/master.cf
mms.example.com mbuni:dummy
4- add rule to master.cf
# mbuni
mbuni unix - n n - 10 pipe
flags=Rq user=mbuni argv=/usr/local/bin/content-filter -f ${sender} -t
${recipient} /etc/mmsc.conf
after then i have test sending email but there is nothing in log, so i think
that postfix configuration does not work.
my question:
1- do i miss some step?
2- is there any document on config postfix or sendmail for mbuni?
3- could you post some working sample for postfix or sendmail if you got
one?
Best Regards,
sokha
_______________________________________________
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users