Carsten Mueller wrote:
Hi,
i have a strange problem on one of our servers:
we have 2 qmail-installations running on the server. the first is standard qmail using fastforward. the second is a qmail-ldap installation only used for mailforwarding (no local delivery, no fastforward).
the problem occures when someone sends a mail to a nonexistend addresse through the qmail-ldap, qmail tries to execute fastforward after searching in the ldap-db:
@400000003f37abdd0079ba1c starting delivery 1543: msg 6155165 to local [EMAIL PROTECTED]
@400000003f37abdd007ad744 status: local 1/120 remote 0/120
@400000003f37abdd01d09f5c delivery 1543: deferral: /bin/sh:_fastforward:_command_not_found/
@400000003f37abdd01d0dddc status: local 0/120 remote 0/120
after that the mail is queued for retry. but i want the mail to be bounced back to sender after search in ldap without match.
second problem occures if we try to send a mail to an address stored in ldap (second qmail). we get an error that the address does not exist, cause we send the mails through the first qmail on the system. is it possible to configure qmail that it connects to the ip set in the mx record for the domain instead trieing a local delivery.
it will always try to do local delivery if the domain is in locals
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?
-- Taymour A El Erian System Division Manager CNA, MCSE, CCNA, LPIC T.E. Data E-mail: [EMAIL PROTECTED] Web: www.tedata.net Tel: +(202)-4166600 Ext: 1101
