jeff jansen writes:

Anyway, this leaves me the usual two choices:

1. Code it myself
2. Convice you to do it for me.

For option 1. can you tell me where to look in the sources?

courier/module.esmtp/esmtp.c


You want to look at the last half of rw_del_esmtp(). Namely:

       host.next=0;
       host.token=0;
       host.ptr=strchr(c, '@')+1;
       host.len=strlen(host.ptr);

That, essentially, sets the MX for this external recipient. Setting 'host.ptr' to a hostname should result in all external mail getting smarthosted through a fixed MX, in a manner that results in all external recipients of a message getting batched together.



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to