On Wed, 2004-05-19 at 03:37, Jeff Jansen wrote: > What exactly are you doing in the courier-default file? Are you re-injecting > the message (rewritten as "user-extra" instead of "user+extra") using > sendmail?
That's approximately right. > I suppose you have a couple of options. You could add some logic to your > courier-default file to check for a valid address in the new syntax and drop > the message if it's not valid. I'm not keen on silently dropping messages. It's important to return an error to let legitimate correspondents know they've used the wrong address, otherwise a simple tyop will cause embarrassing confusion. > You might even be able to write a > courierfilter that checks if the address would work in the new syntax and > rejects it if it wouldn't. Then you wouldn't even have to accept them at all > unless they would rewrite to valid users. That's a good idea. Wish I'd thought of it! I did think of a filter, but I was thinking in terms of rewriting the address in the filter stage, not rejecting it. And, of course, Sam has come up with what, to me, seems like the best solution, which is to write an authmodule to rewrite the address. That way I don't have to receive the data if there are no correct addresses. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
