]> git.ipfire.org Git - people/ms/dma.git/log
people/ms/dma.git
16 years agoBump the debhelper compatibility level to 7 and use "dh_prep"
Peter Pentchev [Tue, 10 Mar 2009 13:38:19 +0000 (13:38 +0000)] 
Bump the debhelper compatibility level to 7 and use "dh_prep"
instead of the deprecated "dh_clean -k".

16 years agoRemove the unused dh_* calls.
Peter Pentchev [Tue, 10 Mar 2009 12:46:17 +0000 (12:46 +0000)] 
Remove the unused dh_* calls.

16 years agoReorder the dh calls in the "install" and "binary-arch" targets just
Peter Pentchev [Tue, 10 Mar 2009 12:43:02 +0000 (12:43 +0000)] 
Reorder the dh calls in the "install" and "binary-arch" targets just
the way dh(1) would do them.

16 years ago*Sigh*. For the present, remove the pre/postinst/rm files until I
Peter Pentchev [Tue, 10 Mar 2009 12:33:33 +0000 (12:33 +0000)] 
*Sigh*.  For the present, remove the pre/postinst/rm files until I
actually find the time to implement the debconf stuff.  They are still
in the Subversion repo for me to use later.

16 years agoNote that the -q option requires an unused argument.
Peter Pentchev [Tue, 10 Mar 2009 12:22:03 +0000 (12:22 +0000)] 
Note that the -q option requires an unused argument.

16 years agoUpdate the release timestamp.
Peter Pentchev [Tue, 10 Mar 2009 12:15:05 +0000 (12:15 +0000)] 
Update the release timestamp.

16 years agoBe true to the README.Debian file :) Enable deferred delivery and
Peter Pentchev [Tue, 10 Mar 2009 12:14:37 +0000 (12:14 +0000)] 
Be true to the README.Debian file :)  Enable deferred delivery and
double-bounce handling by default.

16 years agoEmbed Yet Another Copy(tm) of the dbounce-simple-safecat utility.
Peter Pentchev [Tue, 10 Mar 2009 12:04:42 +0000 (12:04 +0000)] 
Embed Yet Another Copy(tm) of the dbounce-simple-safecat utility.
Recommend safecat so it can actually work :)

16 years agoInstall a cron job that runs the dma queue every five minutes.
Peter Pentchev [Tue, 10 Mar 2009 10:27:49 +0000 (10:27 +0000)] 
Install a cron job that runs the dma queue every five minutes.

16 years agoThe dma agent is not really designed to run as a daemon.
Peter Pentchev [Tue, 10 Mar 2009 10:07:13 +0000 (10:07 +0000)] 
The dma agent is not really designed to run as a daemon.

16 years agoActually describe the Debian-specific changes to dma.
Peter Pentchev [Tue, 10 Mar 2009 10:05:59 +0000 (10:05 +0000)] 
Actually describe the Debian-specific changes to dma.

16 years agoImplement double-bounce handling using the DBOUNCEPROG external program.
Peter Pentchev [Tue, 10 Mar 2009 09:47:59 +0000 (09:47 +0000)] 
Implement double-bounce handling using the DBOUNCEPROG external program.

16 years agoImplement local mailbox locking using liblockfile's maillock(3) function.
Peter Pentchev [Mon, 9 Mar 2009 15:58:24 +0000 (15:58 +0000)] 
Implement local mailbox locking using liblockfile's maillock(3) function.
As per Debian Policy, depend on liblockfile1 (>> 1.01) for maillock(3).
While I'm here, add the necessary build dependencies so dma goes through
a pbuilder build :)

16 years agoAdd the double-bounce TODO item and fix the crontab one :)
Peter Pentchev [Mon, 9 Mar 2009 14:37:28 +0000 (14:37 +0000)] 
Add the double-bounce TODO item and fix the crontab one :)

16 years agoImplement a couple of the TODO items as patches:
Peter Pentchev [Mon, 9 Mar 2009 14:35:10 +0000 (14:35 +0000)] 
Implement a couple of the TODO items as patches:
- actually display the error messages from the remote server;
- treat a QUIT failure as non-fatal, since the message transaction should
  already have been completed;
- bounce messages immediately upon receiving a permanent delivery error;
- let "dma -bp" list all messages, including those that are locked because
  they are currently being delivered.

Also, fix two typos in crypto.c messages.

16 years agoInitial import of a crude attempt at a Debian package of dma,
Peter Pentchev [Fri, 6 Mar 2009 13:32:44 +0000 (13:32 +0000)] 
Initial import of a crude attempt at a Debian package of dma,
the DragonFly Mail Agent.

16 years agodma(8): Raise WARNS to 6.
Sascha Wildner [Tue, 24 Feb 2009 22:00:55 +0000 (23:00 +0100)] 
dma(8): Raise WARNS to 6.

16 years agoRevert 4dcaa51ba4d4238e035a802067366a28527cd570
Matthias Schmidt [Sun, 8 Feb 2009 10:42:34 +0000 (11:42 +0100)] 
Revert 4dcaa51ba4d4238e035a802067366a28527cd570

This reverts the .forward commit.  I committed the code to early, there are some
bugs inside (queue handling broken and some security issues).  I back this out
until we have more time to fix all the issues or rewrite some parts from scratch.

This brings dma back in a fully working state, only the .forward stuff is gone.

Tested-by: Daniel Roethlisberger <daniel@roe.ch> and me
Ok-to-back-out: corecode@

16 years agoSilence warnings.
Sascha Wildner [Tue, 30 Sep 2008 17:47:21 +0000 (17:47 +0000)] 
Silence warnings.

16 years agoAs a safety measure, don't install dma with setuid bit until it has undergone
Simon Schubert [Fri, 19 Sep 2008 00:36:57 +0000 (00:36 +0000)] 
As a safety measure, don't install dma with setuid bit until it has undergone
a thorough review.

16 years agoCommit the remainder of Max's dma work (with minor modifications).
Matthias Schmidt [Tue, 16 Sep 2008 17:57:23 +0000 (17:57 +0000)] 
Commit the remainder of Max's dma work (with minor modifications).
See Max mail on kernel@ [1] for further details.

* Support of .forward files (Note: dma is now setuid root)
* Send multiple mails at once
* Fix some style(9) issues (mostly return())

Some style(9) issues are still in the code.  I take care if I have some
spare time :)  Please test!

Submitted-by: Max Lindner <gisanka@gmail.com>
Sponsored-by: Google Summer of Code 2008
[1] http://leaf.dragonflybsd.org/mailarchive/kernel/2008-08/msg00045.html

16 years ago1) Small mdoc nit 2) regardless if -> regardless of.
Sascha Wildner [Sat, 6 Sep 2008 14:17:56 +0000 (14:17 +0000)] 
1) Small mdoc nit 2) regardless if -> regardless of.

16 years agoRemove the now untrue statement about plain SMTP login only.
Matthias Schmidt [Tue, 2 Sep 2008 15:16:59 +0000 (15:16 +0000)] 
Remove the now untrue statement about plain SMTP login only.

16 years agoAdd CRAM-MD5 authentication support for the DragonFly Mail Agent. This is the
Matthias Schmidt [Tue, 2 Sep 2008 15:11:49 +0000 (15:11 +0000)] 
Add CRAM-MD5 authentication support for the DragonFly Mail Agent. This is the
first piece of Max's work for the Google Summer of Code 2008.  All other
new features will follow after evaluation/review :)

Besides the CRAM code there is new code within base64.c (BSD licensed and
from the University of Stockholm) and within crypto.c derived from RFC 2104.

Note: This code is tested and works.  If you find a bug, please report back
to the bugs@ list.

Thanks a lot for the good work Max.

Submitted-by: Max Lindner <gisanka@googlemail.com>
Sponsored-by: Google Summer of Code 2008
17 years agoSweep over our manual pages and remove .Pp before a .Bd or .Bl without
Sascha Wildner [Fri, 2 May 2008 02:05:08 +0000 (02:05 +0000)] 
Sweep over our manual pages and remove .Pp before a .Bd or .Bl without
-compact because it has no effect.

17 years agoAnother round of typo fixes (mostly in messages).
Sascha Wildner [Sun, 20 Apr 2008 13:44:26 +0000 (13:44 +0000)] 
Another round of typo fixes (mostly in messages).

17 years agoFix various typos in our manual pages.
Sascha Wildner [Mon, 14 Apr 2008 08:17:09 +0000 (08:17 +0000)] 
Fix various typos in our manual pages.

17 years agoRework some bits of the networking code.
Matthias Schmidt [Tue, 4 Mar 2008 11:36:09 +0000 (11:36 +0000)] 
Rework some bits of the networking code.

 o Rename TLSINIT to NOSSL
 o Rename read_remote_command to read_remote.  Replace the remote read method
   with code from femail.c written by Henning Brauer of OpenBSD and licensed
   under a BSD license.  Return the first figure of the return code and check
   the appropriate values.
 o Read the server greeting at first and send EHLO afterwards.
 o Remove check_for_smtp_error().  It is included in read_remote().

This commit fixes some of the issues in issue953.  More code to come.

Dragonfly-bug: http://bugs.dragonflybsd.org/issue953

17 years agoo Remove version number
Matthias Schmidt [Tue, 5 Feb 2008 13:00:36 +0000 (13:00 +0000)] 
o Remove version number
o Minor style changes

17 years agoAdd a new config option to dma(8). If a user wants to use plain text SMTP
Matthias Schmidt [Mon, 4 Feb 2008 10:11:41 +0000 (10:11 +0000)] 
Add a new config option to dma(8).  If a user wants to use plain text SMTP
login over an insecure connection, he has to set the INSECURE option in
the config file.  Otherwise plain text login is only available over encrypted
connections.

Discussed-with: corecode@

17 years agoo Remove per-user config file support
Matthias Schmidt [Mon, 4 Feb 2008 08:58:54 +0000 (08:58 +0000)] 
o Remove per-user config file support
o Remove old-style-connect with gethostbyname() etc.  It was #ifdefed out
  and getaddrinfo() will do the job.

17 years agoMention -O and bump .Dd
Matthias Schmidt [Sun, 3 Feb 2008 19:07:45 +0000 (19:07 +0000)] 
Mention -O and bump .Dd

17 years agoAllow -q to take an argument (which is ignored) and add fake -O option to
Matthias Schmidt [Sun, 3 Feb 2008 18:41:40 +0000 (18:41 +0000)] 
Allow -q to take an argument (which is ignored) and add fake -O option to
make dma(8) more sendmail(8) compatible and some startup scripts happy.

Reported-by: swildner@
17 years agoIt's actually postfix(1).
Sascha Wildner [Sun, 3 Feb 2008 18:02:12 +0000 (18:02 +0000)] 
It's actually postfix(1).

17 years agoFix some compiler warnings and make dma(8) compile clean on FreeBSD. Commit
Matthias Schmidt [Sun, 3 Feb 2008 11:06:17 +0000 (11:06 +0000)] 
Fix some compiler warnings and make dma(8) compile clean on FreeBSD.  Commit
submitted patch with minor modifications.

Submitted-by: Xin LI <delphij@delphij.net>
17 years agoFix buildworld: add -I${.CURDIR} so aliases_parse.c can find dma.h.
Sascha Wildner [Sat, 2 Feb 2008 23:57:35 +0000 (23:57 +0000)] 
Fix buildworld: add -I${.CURDIR} so aliases_parse.c can find dma.h.

17 years agoRemove leading zero in .Dd.
Sascha Wildner [Sat, 2 Feb 2008 18:43:46 +0000 (18:43 +0000)] 
Remove leading zero in .Dd.

17 years agoAdd the DragonFly Mail Agent dma(8) to the base.
Matthias Schmidt [Sat, 2 Feb 2008 18:20:51 +0000 (18:20 +0000)] 
Add the DragonFly Mail Agent dma(8) to the base.

dma is a small Mail Transport Agent (MTA), designed for home and office
use.  It accepts mails from locally installed Mail User Agents (MUA) and
delivers the mails either locally or to a remote destination.  Remote
delivery includes several features like TLS/SSL support and SMTP authen-
tication (AUTH LOGIN only).

dma is not intended as a replacement for real, big MTAs like sendmail(8)
or postfix(8).  Consequently, dma does not listen on port 25 for incoming
connections.

Current list of features:
- Local mail delivery with alias-support
- Remote mail delivery either direct or via a smarthost
- TLS/SSL and STARTTLS support for encrypted connections
- virtualusers (address rewriting) support
- SMTP authentication (currently only plain SMTP login)
- Sendmail compatible command line options
- IPv6 support

Code-collaboration-with: codecode@
Man-page-collaboration-with: swildner@
Approved-by: dillon@