No, extracting the info from the headers is not reliable, for the obvious 
reasons (one of which is the Bcc problem). I can't recall the exact flags, but 
I recall it being straightforward to pass this info from both sendmail and 
postfix
On Nov 16, 2009, at 08:14, Nikos Balkanas wrote:

> Hi,
>  
> I have read the doc and also tested it from the shell. From an MTA pipe it 
> will get the whole email, headers and body. Wouldn't it be better to just 
> extract the info it needs from the mail headers? I don't know an easy way to 
> pass sender and destination from the MTA. I can write a wrapper parser which 
> calls mmsfromemail with the right atguments, but that would defeat the whole 
> purpose. With the same effort I could just patch mmsfromemail to do it itself.
>  
> BR,
> Nikos
> ----- Original Message -----
> From: Paul Bagyenda
> To: users@mbuni.org
> Sent: Saturday, November 14, 2009 2:46 PM
> Subject: Re: [Users] Re: MM4 help
> 
> It will get the body of the message from standard input, the rest of the 
> flags (required) are in the doc :)
> 
> P.
> 
> On Nov 13, 2009, at 11:39, Nikos Balkanas wrote:
> 
>> Thanks,
>>  
>> I am new to this. What kind of flags do i need to pass to mmsfromemail? From 
>> what I read, mmsfromemail, when not run from shell, will get whatever it 
>> needs from the mail itself. Else how can I pass these flags from sendmail? 
>> Is it possible?
>>  
>> I am considering replacing sendmail with postfix. Will that work?
>>  
>> Nikos
>> ----- Original Message -----
>> From: Paul Bagyenda
>> To: users@mbuni.org
>> Sent: Thursday, November 12, 2009 6:06 PM
>> Subject: Re: [Users] Re: MM4 help
>> 
>> The easiest way is to ask sendmail (or whatever MTA) to hand over all mail 
>> for the MM4 domain to mmsfromemail (with relevant flags). 
>> On Nov 12, 2009, at 04:53, Nikos Balkanas wrote:
>> 
>>> Hi,
>>>  
>>> I actually have made progress to most points. Indeed mbuni needs sendmail 
>>> to work and abides by all its quirks. In other words a FQDN is needed to 
>>> work. The only thing I still haven't manage to do is describe the alias 
>>> needed for MM4 to work with sendmail:
>>>  
>>> 3069xxx/TYPE=PLMN: "| mmsfromemail ..."
>>>  
>>> Any example? The msisdn part should probably be a wildcard.
>>>  
>>> Thanks,
>>> Nikos
>>> ----- Original Message -----
>>> From: Nikos Balkanas
>>> To: users@mbuni.org
>>> Sent: Wednesday, November 11, 2009 6:05 PM
>>> Subject: MM4 help
>>> 
>>> Hi,
>>>  
>>> I am an mbuni newbie and have just compiled latest mbuni release. I have 
>>> read the documentation (at least tried to :-)) and I am trying to establish 
>>> an MM4 -> MM4 link between 2 mbunies.
>>>  
>>> I have configured the following to mbuni1:
>>>  
>>> group = mmsproxy
>>> name = "test proxy"
>>> host = x.x.x.x
>>> allowed-prefix = "3069"
>>>  
>>> And in the mmsrelay logs from mbuni1 I am getting:
>>>  
>>> 2009-11-11 17:49:09 [10475] [6] DEBUG: Content-ID: <1940197759>
>>> 2009-11-11 17:49:09 [10475] [6] DEBUG: WSP: End of decoded headers.
>>> 2009-11-11 17:49:09 [10475] [6] INFO: mmsc for "3069xxxxxx" resolved to: 
>>> "x.x.x.x"
>>> 2009-11-11 17:49:09 [10475] [6] DEBUG: preparing to execute 
>>> /usr/sbin/sendmail -f 'x.x.x.x/TYPE=IPv4' '3069xxxxx/type=p...@x.x.x.x' to 
>>> send to email:
>>> 2009-11-11 17:49:10 [10475] [6] INFO: Queued Global Queue MMS Send 
>>> [w-82-qf4247.2.x469.56]: From x.x.x.x/TYPE=IPv4, to 3069xxxxx/TYPE=PLMN, 
>>> msgsize=53134: err=(null)
>>>  
>>> But i am seeing nothing to mbuni2 logs. In mbuni2 I run mmsproxy & mmsrelay.
>>>  
>>> I have read in the guide something about running "mmsfromemail should be 
>>> called from your MTA (SMTP Mailer)". I am not doing it. 
>>>  
>>> 2 questions:
>>>  
>>> 1) Does host need to be a DNS fqdn? If it tries to send the email to 
>>> 3069xxxx/type=p...@x.x.x.x it will fail.
>>> 2) Do I need to run mmsfromemail from sendmail for MM4 to work? To do that 
>>> with sendmail I need to configure an email account with shell capabilities. 
>>> If the recipient number changes, how can I specify that? Any example?
>>>  
>>> Thanks,
>>> Nikos
>>>  
>>> 
>>>  
>>> 
>>> _______________________________________________
>>> Users mailing list
>>> Users@mbuni.org
>>> http://lists.mbuni.org/mailman/listinfo/users
>> 
>> 
>> 
>> _______________________________________________
>> Users mailing list
>> Users@mbuni.org
>> http://lists.mbuni.org/mailman/listinfo/users
>> _______________________________________________
>> Users mailing list
>> Users@mbuni.org
>> http://lists.mbuni.org/mailman/listinfo/users
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users@mbuni.org
> http://lists.mbuni.org/mailman/listinfo/users
> _______________________________________________
> Users mailing list
> Users@mbuni.org
> http://lists.mbuni.org/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users

Reply via email to