chiark / gitweb /
qmail
18 years agoaddrcheck: Don't spew userv error messages at SMTP clients. mdw/addrcheck
Mark Wooding [Thu, 16 Mar 2006 23:01:38 +0000 (23:01 +0000)]
addrcheck: Don't spew userv error messages at SMTP clients.

They don't like it.  Whose stupid idea was it to send stderr to the
socket in inetd anyway?

18 years agoaddrcheck: Strip off the domain part before passing to userv service.
Mark Wooding [Tue, 7 Mar 2006 12:38:38 +0000 (12:38 +0000)]
addrcheck: Strip off the domain part before passing to userv service.

18 years agoaddrcheck: Add commentary for the functions, because I'm confused.
Mark Wooding [Tue, 7 Mar 2006 11:49:02 +0000 (11:49 +0000)]
addrcheck: Add commentary for the functions, because I'm confused.

18 years agoaddrcheck: Optionally invoke userv service to decide address validity.
Mark Wooding [Mon, 6 Feb 2006 19:40:05 +0000 (19:40 +0000)]
addrcheck: Optionally invoke userv service to decide address validity.

It may be that the existence of a mailbox can be best determined
programmatically, rather than by the existence of a .qmail-BLAH file for
it.  For example, imagine a remailer which uses encrypted email
addresses: it'd be better to check the authentication on an address than
to have a .qmail file for each one.

If a user's .qmail-FOO-default file has a first line of the form
`#?ANYTHING then that user's userv service `addrcheck:USER-FOO-default'
is invoked, with these arguments:

  * the remainder of the destination email address (including the domain
    part);

  * the envelope sender (which may be useful);

  * the entire destination email address; and

  * the key `USER-FOO-default' which the address matched.

The service should output a `+' or `-' sign to indicate acceptance or
rejection.  Failure to do this, or exiting with a nonzero status, causes
a temporary error to be reported to the SMTP client.

18 years agoqmail-valid-addresses: Cope with missing files.
Mark Wooding [Thu, 6 Oct 2005 12:40:30 +0000 (12:40 +0000)]
qmail-valid-addresses: Cope with missing files.

It's not an error for the virtualdomains or locals files to be missing,
so cope if we can't find them.

18 years agoqmail-smtpd: Validation of recipient mailbox names.
Mark Wooding [Tue, 9 Aug 2005 12:55:05 +0000 (12:55 +0000)]
qmail-smtpd: Validation of recipient mailbox names.

Lots of spam arrives for non-existent mailboxes.  If the SMTP server
accepts it, we have to put up with the bounces.  We introduce a new CDB
which describes all the valid mailboxes on the system.

18 years agodebian: New, stripped-down mini-qmail package.
Mark Wooding [Tue, 9 Aug 2005 12:45:00 +0000 (13:45 +0100)]
debian: New, stripped-down mini-qmail package.

This contains only what's needed for a serverless, queueless leaf node.

18 years agoqmail: Indirect via QMAILQUEUE environment variable to find qmail-queue. mdw/1.03-4
Mark Wooding [Wed, 1 Oct 2003 00:28:03 +0000 (01:28 +0100)]
qmail: Indirect via QMAILQUEUE environment variable to find qmail-queue.

This lets us insert a filter program, say a spam checker, between
qmail-smtpd and the mail queue, with the right to refuse a message
before it's accepted by the SMTP server.

18 years agoMake it work with newer Debian stuff.
Mark Wooding [Tue, 30 Sep 2003 08:13:28 +0000 (09:13 +0100)]
Make it work with newer Debian stuff.

18 years agoIgnore uninteresting files.
Mark Wooding [Tue, 30 Sep 2003 08:13:28 +0000 (09:13 +0100)]
Ignore uninteresting files.

18 years agoRelease qmail 1.03-2 mdw/1.03-2
Mark Wooding [Tue, 8 Jun 1999 18:48:54 +0000 (18:48 +0000)]
Release qmail 1.03-2

18 years agoMerge branch 'mdw/relayhosts'
Mark Wooding [Tue, 14 Feb 2006 02:52:33 +0000 (02:52 +0000)]
Merge branch 'mdw/relayhosts'

* mdw/relayhosts:
  qmail-smtpd: Read list of hosts allowed to relay from control/relayhosts

Conflicts:

qmail-control.9
qmail-showctl.c
qmail-smtpd.c

18 years agoqmail-smtpd: Read list of hosts allowed to relay from control/relayhosts
Mark Wooding [Tue, 14 Feb 2006 02:46:08 +0000 (02:46 +0000)]
qmail-smtpd: Read list of hosts allowed to relay from control/relayhosts

18 years agoMerge branch 'mdw/bounce-msgid'
Mark Wooding [Tue, 14 Feb 2006 01:30:30 +0000 (01:30 +0000)]
Merge branch 'mdw/bounce-msgid'

* mdw/bounce-msgid:
  qmail-send: Add message-id to bounce messages.

18 years agoqmail-send: Add message-id to bounce messages.
Mark Wooding [Tue, 8 Jun 1999 18:30:46 +0000 (18:30 +0000)]
qmail-send: Add message-id to bounce messages.

RFC1123 says that message-ids are optional, but SAUCE, for example,
objects to messages without them.  Avoid upsetting SAUCE.

18 years agoDebianization for 1.03-1 debian debian/1.03-1
Mark Wooding [Sun, 28 Jun 1998 15:21:03 +0000 (15:21 +0000)]
Debianization for 1.03-1

18 years agoDebianization for 1.01-2 debian/1.01-2
Mark Wooding [Wed, 18 Mar 1998 23:33:15 +0000 (23:33 +0000)]
Debianization for 1.01-2

18 years agoUpstream qmail 1.03 djb djb/1.03
Mark Wooding [Sun, 28 Jun 1998 14:46:53 +0000 (15:46 +0100)]
Upstream qmail 1.03

18 years agoUpstream qmail 1.01 djb/1.01
Mark Wooding [Wed, 18 Mar 1998 23:33:14 +0000 (23:33 +0000)]
Upstream qmail 1.01