~ubuntu-branches/ubuntu/hardy/postfix/hardy-security

« back to all changes in this revision

Viewing changes to src/global/mail_queue.h

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2007-04-15 16:00:44 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20070415160044-xl1vjlhf9mdmf43a
Tags: 2.4.0-3
Have preinst get user approval before installing (and being broken) on a
pre-2.6 kernel.  Closes: #417530

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
 /*
40
40
  * Queue file modes.
 
41
  * 
 
42
  * 4.4BSD-like systems don't allow (sticky AND executable) together, so we use
 
43
  * group read permission bits instead. These are more portable, but they
 
44
  * also are more likely to be turned on by accident. It would not be the end
 
45
  * of the world.
41
46
  */
42
47
#define MAIL_QUEUE_STAT_READY   (S_IRUSR | S_IWUSR | S_IXUSR)
43
48
#define MAIL_QUEUE_STAT_CORRUPT (S_IRUSR)
 
49
#ifndef MAIL_QUEUE_STAT_UNTHROTTLE
 
50
#define MAIL_QUEUE_STAT_UNTHROTTLE (S_IRGRP)
 
51
#endif
44
52
 
45
53
extern struct VSTREAM *mail_queue_enter(const char *, mode_t, struct timeval *);
46
54
extern struct VSTREAM *mail_queue_open(const char *, const char *, int, mode_t);