Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15974 - qmail + courier-imap + maildir
Summary: qmail + courier-imap + maildir
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-18 22:30 UTC by SpanKY
Modified: 2004-02-14 15:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2003-02-18 22:30:32 UTC
env USE=maildir emerge qmail-sumo courier-imap 
 
edit /var/qmail/rc: 
exec env - PATH="/var/qmail/bin:$PATH" \ 
qmail-start '|dot-forward .forward 
./.maildir/' 
 
rm -rf /root/{.m,M}aildir 
rm -rf /home/someuser/{.m,M}aildir 
cp -rf /etc/skel.maildir /root/ 
chown -R root.root /root/.maildir 
cp -rf /etc/skel.maildir /home/someuser/ 
chown -R someuser.users /home/someuser/.maildir 
 
ebuild qmail-1.03.ebuild config 
cd /var/qmail/alias/ 
echo -n someuser>.qmail-mailer-daemon>.qmail-postmaster>.qmail-root 
cd /var/qmail/control/ 
<add any extra hosts you need/want to 'rcpthosts'> 
 
edit /etc/tcp.smtp and add rules for RELAY-ing ... but be *very* careful ... 
<start tcp.smtp file> 
192.168.0.:allow,RELAYCLIENT="" 
127.0.0.1:allow,RELAYCLIENT="" 
:allow 
<end file> 
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp 
 
/etc/init.d/svscan start 
/etc/init.d/courier-imapd-ssl start 
 
shizat should work ;)
Comment 1 SpanKY gentoo-dev 2003-02-18 22:32:24 UTC
oh, before you svscan start, you create the links in /service/ ... 
 
for delivery for local programs: 
ln -s /var/qmail/supervise/qmail-send /service/qmail-send 
for smtp service: 
ln -s /var/qmail/supervise/qmail-smtpd /service/qmail-smtpd 
Comment 2 SpanKY gentoo-dev 2003-03-10 06:16:37 UTC
ill finish writing it up when i get a chance ;)
Comment 3 SpanKY gentoo-dev 2004-02-14 15:00:17 UTC
heh, did this already
Comment 4 SpanKY gentoo-dev 2004-02-14 15:00:27 UTC
done deal