freebsd-ports/mail/dma/files/patch-mail.c
Eitan Adler e5271c4991 Update dma to 0.7
Also build and install the dma-mbox-create tool, which sets permissions and uid/gid on /var/mail files as needed by dma.

Changes:
	Adds maasquerading support

PR:		ports/165697
Submitted by:	bz
2012-03-04 23:01:08 +00:00

11 lines
336 B
C

--- ./mail.c.orig 2012-01-03 13:54:05.000000000 +0000
+++ ./mail.c 2012-01-24 22:57:41.000000000 +0000
@@ -332,7 +332,7 @@
ps->pos = 0;
addr = strdup(ps->addr);
if (addr == NULL)
- errlog(1, NULL);
+ errlog(1, "strdup failed");
if (add_recp(queue, addr, EXPAND_WILDCARD) != 0)
errlogx(1, "invalid recipient `%s'", addr);