On Monday 05 April 2004 11:53, Polarcom Webmaster wrote: > How does courier recognize host - by name or by IP? > For example, I'm trying to send mail to rol.ru or online.ru (these severs have the same IP addr) with MAXHOST=1 - it doesn't work. > What else can I do?
It does it by name NOT by ip address. If you look in the log when you send a message you'll see that it lists the "host=" part of the email address. That's what courier uses for the "host queue". So if you are sending mail to two different domains (by name) then courier sees them as separate hosts. I think in order to get around this you'll have to set MAXDELS=1 in the module.esmtp file. Then courier will only deliver one message at a time. Not very efficient, but I can't think of another way to make courier do what you want. If it's just you using this mailserver, then you could try changing how you address the mail to users at one host. So instead of "[EMAIL PROTECTED]" you could send it to "[EMAIL PROTECTED]". (Assuming that their mailsever accepts addresses in this format.) Then courier will connect to "online.ru" and send mail for "[EMAIL PROTECTED]". This way all your mail for online.ru and rol.ru will be in the same queue. Again, not very elegant nor does it scale well. But if it's just you and just a couple of addresses then maybe it would solve your problem without slowing all outgoing deliveries down to one at a time. Jeff Jansen ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
