Send inn-workers mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/inn-workers
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of inn-workers digest..."


Today's Topics:

   1. Re: Temporary dir for mailpost (Julien ?LIE)
   2. Re: INN 2.6.0 release candidate (Julien ?LIE)


----------------------------------------------------------------------

Message: 1
Date: Mon, 20 Apr 2015 20:15:11 +0200
From: Julien ?LIE <[email protected]>
To: [email protected]
Subject: Re: Temporary dir for mailpost
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi Russ,

>> Hmm...  Couldn't we also just create and use the ~/.mailpost directory by
>> default instead of INN's pathtmp? (or ~/.inn-mailpost or ~/.inn/mailpost
>> that could be useful if we ever wish to store files for other programs ?)
>
> The problem there is that the user mailpost is running at may not (and
> probably shouldn't) have a home directory that it can write to.  With a
> lot of mail systems, it's going to be running as some user like daemon,
> which normally won't have write access anywhere in the file system other
> than to world-writable directories.

Oh, you're right, it would not work in that case.


> These days, it's a lot easier to arrange to run programs from the mail
> system as another user (like the news user), so your approach does make
> sense if we can encourage people to run mailpost as news.  In that case,
> it might even make sense to just use pathdb for the persistent database.

Then for INN 2.6.0, we could:
- warn in the Upgrade Section that people using mailpost without an 
explicitly configured database directory with the -b parameter should 
manually move the database from $pathtmp to $pathdb (I do not see how to 
do it automatically as we do not know how mailpost is launched; one may 
even use "-b pathtmp" explicitly);

- change the default value for the -b option from pathtmp to pathdb;

- add a new configurable -t option to configure the location of the 
directory to use to temporarily store error messages that are sent to 
the newsmaster.  Two paths are tried by default:  pathtmp as set in 
inn.conf, and then /var/tmp if pathtmp is not writable;

- die with an explicit error message if either the directory for the 
database or the one for the temporary files refer to a path that does 
not exist or the mailpost process does not have write access to.



And for INN 2.5.5, for backwards compatibility, just add the new -t 
option and the checks for writable directories.


Would that sound good?

-- 
Julien ?LIE

? ? On nage dans le lac, on escalade les montagnes?
   ? Ben quoi ? Nous ne sommes pas en vacances ! ? (Ast?rix)


------------------------------

Message: 2
Date: Mon, 20 Apr 2015 20:19:41 +0200
From: Julien ?LIE <[email protected]>
To: [email protected]
Subject: Re: INN 2.6.0 release candidate
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi all,

Has someone had the time to test the upgrade to INN 2.6.0?
No issue to report?  That's great, then :)


Please note that time for releasing INN 2.6.0 approaches so upgrading to 
it now and test it before making the final release, would be greatly 
appreciated.


> A release candidate for INN 2.6.0 has just been made available
> for download on ftp.isc.org:
>
>      http://ftp.isc.org/isc/inn/testing/
>
> Please report any issue you may encounter, especially during
> the upgrade process from INN 2.5.x.
>
> The final 2.6.0 release is scheduled in May or June.

-- 
Julien ?LIE

? ? On nage dans le lac, on escalade les montagnes?
   ? Ben quoi ? Nous ne sommes pas en vacances ! ? (Ast?rix)


------------------------------

_______________________________________________
inn-workers mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/inn-workers

End of inn-workers Digest, Vol 71, Issue 4
******************************************

Reply via email to