On Tue, Aug 12, 2003 at 06:28:25PM +0200, Carsten Mueller wrote: > i know. but it doesn�t work. > > example: > first-server-ip: 195.247.131.34 > other server-ips: 195.247.131.39 > > qmail1: > install-path: /var/qmail > tcpserver smtp-ip: 195.247.131.34 > > qmail2: > install path: /var/qmail2 > tcpserver smtp-ip: 195.247.131.39 > > sendmail ist linked: > /usr/sbin/sendmail -> /var/qmail/bin/sendmail > > if we try to send a mail to a address which is registered > on the second qmail using the system sendmail-command, > i get the following error in the qmail1-log: > ##################################################### > @400000003f39136a1c05d9dc starting delivery 1: msg 9788274 to remote > [EMAIL PROTECTED] > @400000003f39136a1c061474 status: local 0/120 remote 1/120 > @400000003f39136a1c2c74ac delivery 1: failure: > Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/ > ##################################################### > > dnsmx srsnet.de > 10 mailfwd.regfish.net > > dnsip mailfwd.regfish.net > 195.247.131.39 > > grep srsnet.de /var/qmail/control/locals -> not found > > grep srsnet.de /var/qmail2/control/locals -> srsnet.de > > qmail want to deliver the mail to remote, but i think it checks that > the second ip is local too, so it doens�t connect to 195.247.131.139:25 >
Yep, that is the fameous ipme function. You need to set ~control/outgoingip for both qmail installations. Nota bene the ~control/outgoingip feature is a additional patch to qmail and was added in qmail-ldap a few months ago. -- :wq Claudio
