Report forwarded to debian-bugs-dist@lists.debian.org, LaMont Jones <lamont@debian.org>: Bug#267837; Package postfix.
(full text, mbox, link).
Acknowledgement sent to REYNAUD Jean-Samuel <reynaud@elma.fr>:
New Bug report received and forwarded. Copy sent to LaMont Jones <lamont@debian.org>.
(full text, mbox, link).
Subject: Postfix become open relay with permit_mx_backup and domain with
AAAA record
Date: Tue, 24 Aug 2004 18:22:54 +0200
Package: postfix
Version: 2.1.3-1
When I add "permit_mx_backup" on "smtpd_recipient_restrictions" in the
configuration file main.cf, some domains are allowed to be relayed:
220 test_mail ESMTP Postfix (Debian/GNU)
MAIL FROM: test@yahoo.com
250 Ok
RCPT TO: test@yahoo.com
554 <test@yahoo.com>: Relay access denied
220 test_mail ESMTP Postfix (Debian/GNU)
MAIL FROM: test@freenet6.net
250 Ok
RCPT TO: test@freenet6.net
250 Ok
The difference between this two domain is that freenet6.net has AAAA
(ipv6) record and yahoo.com not. All domains where a mx have a AAAA
record should be relayed...
In fact, I think that the problem come from the
"src/global/own_inet_addr.c" file in the "own_inet_addr". The default
return is not at the good place. See my correction:
*** src/global/own_inet_addr.c~ 2004-08-24 18:05:30.000000000 +0200
--- src/global/own_inet_addr.c 2004-08-24 18:05:30.000000000 +0200
***************
*** 217,224 ****
default:
continue;
}
- return (0);
}
}
#else
int own_inet_addr(struct in_addr * addr)
--- 217,224 ----
default:
continue;
}
}
+ return (0);
}
#else
int own_inet_addr(struct in_addr * addr)
I am using Debian GNU/Linux sarge, kernel 2.6.7-1-686
and libc6 2.3.2.ds1-13.
Thanks.
Severity set to `important'.
Request was from LaMont Jones <lamont@debian.org>
to control@bugs.debian.org.
(full text, mbox, link).
Merged 267837293046.
Request was from LaMont Jones <lamont@debian.org>
to control@bugs.debian.org.
(full text, mbox, link).
Tags added: moreinfo
Request was from LaMont Jones <lamont@debian.org>
to control@bugs.debian.org.
(full text, mbox, link).
Reply sent to LaMont Jones <lamont@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to REYNAUD Jean-Samuel <reynaud@elma.fr>:
Bug acknowledged by developer.
(full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.