On Mon, Aug 31, 2009 at 12:01:14AM +0200, Tino Keitel wrote:
> Package: dma
> Version: 0.0.2009.07.17-1
> Severity: normal
> 
> Hi,
> 
> I configured dma to sent all mails to my smarthost. However, the queued
> mails in /var/spool/dma are never sent to this smarthost. I checked with
> tcpdump when running dma -q1, but I saw no traffic on the configured port
> 25, and no traffic to the smarthost either.

Hmm, that's not really good, is it now?...

> I see this in at the end of strace -f /usr/sbin/dma -q:
> 
> open("/etc/dma/auth.conf", O_RDONLY)    = 3
> fstat(3, {st_mode=S_IFREG|0644, st_size=219, ...}) = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
> 0x7fdaa713c000
> read(3, "# $DragonFly: src/etc/dma/auth.c"..., 1024) = 219
> read(3, "", 1024)                       = 0
> close(3)
> munmap(0x7fdaa713c000, 4096)            = 0
> open("/var/spool/dma", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
> fstat(3, {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
> getdents(3, /* 13 entries */, 4096)     = 488
> getdents(3, /* 0 entries */, 4096)      = 0
> close(3)                                = 0
> exit_group(0)                           = ?

So it scanned through the spool directory and did not find anything
worth delivering.  Not good.  Could you try the following?

ls -l /var/spool/dma

dma -Dq1    as your normal user

ls -l /var/spool/dma

dma -Dq1    as root

ls -l /var/spool/dma

...and post the output?  You may obscure the e-mail addresses and
the authentication usernames if you want to.

G'luck,
Peter

-- 
Peter Pentchev  r...@ringlet.net    r...@space.bg    r...@freebsd.org
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
This would easier understand fewer had omitted.

Attachment: pgp8wLbdQV333.pgp
Description: PGP signature

Reply via email to