Skip to content

qmail popbull.8

Manvendra Bhangui edited this page Sep 4, 2022 · 1 revision

NAME

qmail-popbull - insert bulletins

SYNOPSIS

qmail-popbull bulletin-directory pop3d-program Maildir

DESCRIPTION

qmail-popbull examines a directory of bulletins whenever a user checks their pop3 mail. When a new bulletin is seen, it inserts the bulletin into the user's Maildir.

It compares the time on a .timestamp file in the Maildir directory and compares it to the time on the bulletin. If the bulletin is newer, qmail-popbull inserts a symlink to the bulletin into the user's Maildir/new directory. The bulletin should be an ordinary email message. One reasonable use of qmail-popbull is to point it to the new directory of a special user's Maildir. When you send that user mail, it becomes a bulletin.

Caution! The files in the bulletin directory must be readable by anyone, so you'll probably have to store the mail in the user's maildir using:

  ./Maildir/


  |chmod ugo+r Maildir/new/*

When qmail-popbull is finished, it execs the pop3d-program with the remainder of its arguments as arguments to pop3d-program.

pop3d-program can be any program, but that program's first argument must be the user's Maildir.

Suggested invocation:

   qmail-popup YOURHOST /bin/checkpassword /usr/sbin/qmail-popbull


   /var/spool/bulletins /usr/sbin/qmail-pop3d Maildir


   (all on one line)

SEE ALSO

qmail-popup(8) qmail-pop3d(8)

Clone this wiki locally