Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38964 - mailfront package not integrated into newer qmail builds
Summary: mailfront package not integrated into newer qmail builds
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Qmail Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-21 15:44 UTC by elfarto
Modified: 2007-04-06 16:50 UTC (History)
0 users

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


Attachments
This is a patched runscript of mine to make qmail-pop3d work with mailfront (qmail-pop3d-run-script,1.24 KB, text/plain)
2004-01-21 15:46 UTC, elfarto
Details
conf-common config file with misc patches for mailfront (qmail-conf-common,1.15 KB, text/plain)
2004-01-21 15:48 UTC, elfarto
Details
conf-pop3d patched to support mailfront (qmail-conf-pop3d,1.45 KB, text/plain)
2004-01-21 15:51 UTC, elfarto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description elfarto 2004-01-21 15:44:59 UTC
The mailfront package is not integrated with the new qmail config structure on the newer ebuilds (i'm using qmail-1.03-r13).
Besides this, the new supervise run scripts and config structure doesn't seem to take into account mailfront and requires lots of tweaking to make it work

Reproducible: Always
Steps to Reproduce:
1.emerge qmail-1.03-r13
2.emerge mailfront
3.ebuild mailfront.ebuild config
4. look at run.mailfront on qmail-services

Actual Results:  
If you try to use run.mailfront to start the qmail-services your config will 
probably get broken if you used the new config structure

Expected Results:  
ebuild mailfront.ebuild should integrate itself with the new config structure
Comment 1 elfarto 2004-01-21 15:46:56 UTC
Created attachment 24203 [details]
This is a patched runscript of mine to make qmail-pop3d work with mailfront
Comment 2 elfarto 2004-01-21 15:48:29 UTC
Created attachment 24204 [details]
conf-common config file with misc patches for mailfront
Comment 3 elfarto 2004-01-21 15:51:25 UTC
Created attachment 24205 [details]
conf-pop3d patched to support mailfront
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-21 20:10:44 UTC
questions/comments:
1. please update these patches for qmail -r15 (the config stuff changed a lot to be easier to use)
2. what's the "run                 [----] 39 L:[  1+23  24/ 28] *(1023/1165b)=    32 0x20" line at the top of attachment 24203 [details] ?
3. please attach patches instead of entire files, it's much easier to compare.
4. just having 'SOCKET=`head -1 /etc/vmailmgr/cvm-vmailmgr-socket`' at the top of conf-common is b0rked. it should be '-n1' unless you want errors on some systems. check that things exist before trying to include them.
place your new options in a file like conf-mailfront or conf-mailfront-pop3 (for the pop3 stuff)
and only include it if it exists.
5. i forgot what i was going to say here
Comment 5 elfarto 2004-01-22 08:31:41 UTC
the 
run                 [----] 39 L:[  1+23  24/ 28] *(1023/1165b)=    32 0x20
line has accidentally slipped into the paste buffer as i was using Midnight Commander editor to copy paste the file contents.
Sorry about the not existant check, my skills are not so honed at writing stuff for all to see, it was a quick hack to make it work.
I'm having a hell of week at work and i can't really get to implement a separate conf-mailfront and integrate it with the existing configuration struture, since mailfront requires modification to the runscripts, i guess a couple of ifs on the runscript checking for mailfront files and then modfying the run commands to fit.
I'll see if i can try qmail-r15.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-04-06 11:05:02 UTC
mail-mta/qmail is package.masked pending removal. If you wish to redo these against mail-mta/netqmail, then attach unified diffs here and reopen this bug. 
Comment 7 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2007-04-06 16:50:16 UTC
(In reply to comment #6)
> mail-mta/qmail is package.masked pending removal. If you wish to redo these
> against mail-mta/netqmail, then attach unified diffs here and reopen this bug. 

Save your time. We won't add custom patches to netqmail. Well, you can add them to this patch, but don't expect them to be integrated. Users can then still use the unsupported QMAIL_PATCH_DIR variable.