masqmail
annotate docs/INSTALL.agenda @ 323:29de6a1c4538
Fixed an important bug with folded headers!
g_strconcat() returns a *copy* of the string, but hdr->value still
pointed to the old header (which probably was a memory leak, too).
If the folded part had been quite small it was likely that the new
string was at the same position as the old one, thus making everything
go well. But if pretty long headers were folded several times it was
likely that the new string was allocated somewhere else in memory,
thus breaking things. In result mails to lots of recipients (folded
header) were frequently only sent to the ones in the first line. Sorry
for the inconvenience.
author | meillo@marmaro.de |
---|---|
date | Fri, 03 Jun 2011 09:47:27 +0200 |
parents | 08114f7dcc23 |
children |
rev | line source |
---|---|
meillo@0 | 1 |
meillo@0 | 2 prerequesites: |
meillo@0 | 3 -------------- |
meillo@0 | 4 cp /usr/lib/glib-config /usr/mipsel-linux/bin |
meillo@0 | 5 and apply this patch: |
meillo@0 | 6 |
meillo@0 | 7 3c3 |
meillo@0 | 8 < prefix=/usr |
meillo@0 | 9 --- |
meillo@0 | 10 > prefix=/usr/mipsel-linux/ |
meillo@0 | 11 |
meillo@0 | 12 |
meillo@0 | 13 compile |
meillo@0 | 14 ------- |
meillo@0 | 15 export CONFIG_SITE=./agenda-config.site |
meillo@0 | 16 |
meillo@0 | 17 ./configure --prefix=/usr/local/ --with-spooldir=/flash/spool/masqmail/ --with-glib-prefix=/usr/mipsel-linux/ --disable-smtp-server --disable-resolver --with-group=mail --disable-debug --enable-auth |
meillo@0 | 18 make |
meillo@0 | 19 |
meillo@0 | 20 mipsel-linux-strip --remove-section=.comment --remove-section=.note --strip-unneeded src/masqmail |
meillo@0 | 21 |
meillo@0 | 22 install |
meillo@0 | 23 ------- |
meillo@0 | 24 |
meillo@0 | 25 # Become root and do: |
meillo@0 | 26 make DESTDIR=/tmp/agenda-masqmail/ install |
meillo@0 | 27 |
meillo@0 | 28 # make the configuration directory writable for user mail |
meillo@0 | 29 # (this is needed for sqilconf) |
meillo@0 | 30 chown mail.mail /tmp/agenda-masqmail/etc/masqmail/ |
meillo@0 | 31 chmod g+rw /tmp/agenda-masqmail/etc/masqmail/ |
meillo@0 | 32 |
meillo@0 | 33 # delete man pages and unneeded binaries: |
meillo@0 | 34 rm -rf /tmp/agenda-masqmail/usr/local/man/ /tmp/agenda-masqmail/usr/local/bin/ |
meillo@0 | 35 |
meillo@0 | 36 You can now rsync the files you need to your agenda from DESTDIR. |
meillo@0 | 37 |