1 |
Am Sonntag, 24. März 2013, 01:39:17 schrieb Sascha Cunz: |
2 |
> Am Sonntag, 24. März 2013, 00:46:56 schrieb Sascha Cunz: |
3 |
> [...] |
4 |
> |
5 |
> I've meanwhile found out that it might be related to a DNS lookup bug inside |
6 |
> qmail and found an old patch that should addresses this issue. The patch is |
7 |
> short and looking innocent to me, so I've now setup a local overlay and am |
8 |
> trying to send this out without the smtproute, once again. |
9 |
> |
10 |
> Sascha |
11 |
|
12 |
Okay, this last mail went through smoothly and without any trouble in log |
13 |
files. |
14 |
|
15 |
Since I got private mails from others having the same problem, here's exactly |
16 |
what I did to solve this: |
17 |
|
18 |
- Create a local overlay |
19 |
|
20 |
- copy the mail-mta/netmail directory from portage tree |
21 |
|
22 |
- wget http://www.ckdhr.com/ckd/qmail-103.patch |
23 |
to the files directory. |
24 |
|
25 |
- copy netmail-1.06.ebuild to netmail-1.06-r1.ebuild |
26 |
|
27 |
- insert "epatch "${FILESDIR}"/qmail-103.patch" before the first epatch in |
28 |
src_unpack() |
29 |
|
30 |
- rebuild manifest, add the overlay and rebuild netmail |
31 |
|
32 |
- restart svscan. |
33 |
|
34 |
This patch from Christopher Davis is actually dated back to 1998; I'm not sure |
35 |
about copyright issues on the patch, but it seems trivially simple. |
36 |
|
37 |
Though, I'm wondering why such a simple fix isn't already part of the netmail |
38 |
ebuild. |
39 |
|
40 |
Sascha |