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
At 17:10 12.08.2003, Claudio Jeker wrote:
On Tue, Aug 12, 2003 at 03:51:34PM +0200, Carsten Mueller wrote: > At 08:41 12.08.2003, Taymour A. El Erian wrote: > > if we sind through the first qmail the destination-domain is not in the > locals (/var/qmail/control/locals ). it is in the locals of the second > qmail-installation > (/var/qmail2/control/locals ). > so why it tries a local deliver? >
A delivery is local if the domain is either in ~control/locals or ~control/virtualdomains. Dont forget to kill -HUP qmail-send after a change to reread the files.
-- :wq Claudio
