(void) eml_remote_email(tra);
break;
case 'W' : //Remote delivery
- (void) eml_rebounce_email(tra);
+ (void) eml_rebounce_email(*tra);
break;
default :
(void) rou_alert(0,"%s unexpected code '%c'",OPEP,(*tra)->code);
/* deliverable. */
/* */
/********************************************************/
-PUBLIC void eml_rebounce_email(TRATYP **tra)
+PUBLIC void eml_rebounce_email(TRATYP *tra)
{
+char *tmp;
+
+(void) rou_alert(0,"JMPDG rebounce");
+tmp=tra->mailfrom;
+tra->mailfrom=tra->rcptto;
+tra->mailfrom=tmp;
+tra->code='L';
}
extern void eml_remote_email(TRATYP **tra);
//Rebouncing Email to the first originator
-extern void eml_rebounce_email(TRATYP **tra);
+extern void eml_rebounce_email(TRATYP *tra);
#endif