1 |
begin quote |
2 |
On Fri, 12 Mar 2004 20:03:04 +0100 |
3 |
Spider <spider@g.o> wrote: |
4 |
|
5 |
> |
6 |
> Well, as said. This only works for destination: gentoo.org , Which |
7 |
> really doesn't solve this issue, What is "required" is the From: based |
8 |
> rules to make sure SPF is used on -all- messages, not just on messages |
9 |
> to gentoo.org lists and users. |
10 |
> |
11 |
> |
12 |
> Does anyone have a solution for this? |
13 |
> |
14 |
|
15 |
|
16 |
okay, took me a while to deal with this : |
17 |
in /etc/postfix/main.cf |
18 |
smtpd_sender_restrictions = check_sender_access |
19 |
hash:/etc/postfix/mail_reroute, permit |
20 |
|
21 |
|
22 |
in /etc/postfix/mail_reroute |
23 |
|
24 |
spider@g.o FILTER smtp:smtp.gentoo.org |
25 |
|
26 |
|
27 |
And then postmod mail_reroute to generate the .db |
28 |
|
29 |
|
30 |
now however, this will make it relay the email to smtp.gentoo.org, which |
31 |
with the current config of smtp.gentoo.org gives : |
32 |
|
33 |
|
34 |
Mar 12 22:49:51 Darkmere postfix/smtpd[32534]: 86DB117001: |
35 |
client=localhost[127.0.0.1] |
36 |
|
37 |
Mar 12 22:49:51 Darkmere postfix/smtpd[32534]: 86DB117001: filter: RCPT |
38 |
from localhost[127.0.0.1]: <spider@g.o>: Sender address triggers |
39 |
FILTER smtp:smtp.gentoo.org; from=<spider@g.o> |
40 |
to=<spider@×××××××.com> proto=SMTP helo=<Darkmere.darkmere> |
41 |
|
42 |
Mar 12 22:49:51 Darkmere postfix/cleanup[32537]: 86DB117001: |
43 |
message-id=<20040312224932.52bd3194.spider@g.o> |
44 |
|
45 |
Mar 12 22:49:51 Darkmere postfix/qmgr[32518]: 86DB117001: |
46 |
from=<spider@g.o>, size=1308, nrcpt=1 (queue active) |
47 |
|
48 |
Mar 12 22:49:51 Darkmere postfix/smtpd[32534]: disconnect from |
49 |
localhost[127.0.0.1] |
50 |
Mar 12 22:49:52 Darkmere postfix/smtp[32539]: 86DB117001: |
51 |
to=<spider@×××××××.com>, relay=emu.gentoo.org[128.193.0.39], delay=1, |
52 |
status=bounced (host emu.gentoo.org[128.193.0.39] said: 550 relay not |
53 |
permitted (in reply to RCPT TO command)) |
54 |
|
55 |
Mar 12 22:49:53 Darkmere postfix/cleanup[32537]: 0DAA117002: |
56 |
message-id=<20040312214953.0DAA117002@××××××××.darkmere> |
57 |
|
58 |
Mar 12 22:49:53 Darkmere postfix/qmgr[32518]: 0DAA117002: from=<>, |
59 |
size=3018, nrcpt=1(queue active) |
60 |
|
61 |
Mar 12 22:49:53 Darkmere postfix/smtp[32539]: 0DAA117002: |
62 |
to=<spider@g.o>, relay=mail.gentoo.org[128.193.0.39], delay=0, |
63 |
status=sent (250 OK id=1B1uXT-0004 |
64 |
|
65 |
|
66 |
|
67 |
So in the end, its nigh. |
68 |
anyone who has a better solution? |
69 |
//Spider |
70 |
-- |
71 |
begin .signature |
72 |
Tortured users / Laughing in pain |
73 |
See Microsoft KB Article Q265230 for more information. |
74 |
end |