from = concatstr(5, listname, "+bounces-", myaddr, "-probe@", listfqdn);
- a = strchr(myaddr, '=');
+ a = strrchr(myaddr, '=');
if (!a) {
myfree(myaddr);
myfree(from);
/* save the filename with '=' before replacing it with '@' */
bfilename = concatstr(3, listdir, "/bounce/", address);
- a = strchr(address, '=');
+ a = strrchr(address, '=');
if (!a)
exit(EXIT_SUCCESS); /* ignore malformed address */
*a = '@';