>> [EMAIL PROTECTED]:
>>> > [EMAIL PROTECTED]:
>>> >> , postfix reload; and postfix stills working as always.
>>> >
>>> > Show actual evidence of behavior that does not change, and show
>>> > actual evidence based on which it should have changed.
>>> >
>>> > Wietse
>>> >
>>>
>>> It's easy. On my modified library, I modify recipient_list_add(...)
>>> function. It's always called when you send a mail, and the code works
>>> because I tried it before modifying and compiling postfix itself, and
>>> not
>>> like a dynamic library. The first step I do is print on /var/log/syslog
>>> with msg_info(""); and the text isn't showed on syslog.
>>
>> I asked for actual evidence. I did not ask for a description of
>> the evidence.
>>
>> Wietse
>>
>
>
> MODIFIED RECIPIENT_LIST.C
> =========================
>
> void recipient_list_add(RECIPIENT_LIST *list, long offset,
> const char *dsn_orcpt, int dsn_notify,
> const char *orig_rcpt, const char *rcpt)
> {
> int new_avail;
>
> //MODIFIED SOURCE
>
> char **host; int *port;
> char * userName;
> //Here we filter the RECIPIENT ADDRESS and we do a lookup by using P2P
> daemon.
> userName = strtok(rcpt,"@");
>
> if (getAddress((char *)rcpt,(char **)&host,(int *)&port) == 0) {
> strcat(userName,"@");
> strcat(userName,host);
> strcat(userName,":");
> strcat(userName,port);
> rcpt = userName;
> msg_info("RDD MODIFICATION USING P2P DAEMON: DEBUG:
> RECIPIENT_LIST_ADD
> dsn_orcpt=%s orig_rcpt=%s rcpt=%s",dsn_orcpt,orig_rcpt, rcpt);
> } else msg_info("RDD DEBUG - RCPT NOT MODIFIED");
>
> //END MODIFICATIONS
> [...]
> }
I continue, sorry. My previous email wasn't finished.
My getAddress function calls a daemon who returns an specific ip & port;
then the message should be redirected to that IP&port.
How you can see, msg_info should print something on /var/log/syslog. It
doesn't happen.
That's my actual evidence. Is what you're looking for? I'm from Spain,
sorry if my English isn't good.
Thank you, take care.
Antonio G. Artime