Gentoo Archives: gentoo-server

From: Andy Dustman <adustman@×××××××××.edu>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] qmail virtual domains + virtual users
Date: Mon, 03 May 2004 22:48:03
Message-Id: 1083624477.21477.84.camel@kenny.terry.uga.edu
In Reply to: Re: [gentoo-server] qmail virtual domains + virtual users by Ben Munat
1 On Mon, 2004-05-03 at 18:05, Ben Munat wrote:
2
3 > I stopped the qmail processes from within webmin and then, just to be
4 > safe, restarted svscan with /etc/init.d/svscan. Now I get this:
5 >
6 > |-sshd---sshd---bash---pstree
7 > |-svscan-+-2*[supervise---tcpserver]
8 > | |-3*[supervise---multilog]
9 > | `-supervise---qmail-send-+-qmail-clean
10 > | |-qmail-lspawn
11 > | `-qmail-rspawn
12 > |-syslog-ng
13 >
14 > My question now is, is it okay that my process tree says 2* and 3* for
15 > tcpserver and multilog?
16
17 This is ok. I suspect at least one of those tcpservers is for your
18 qmail-smtpd. The multilogs are loggers for qmail-send and the two
19 tcpservers. pstree -a will show more information.
20
21 > @40000000409669710f067944 info msg 248577: bytes 1368 from <#@[]> qp
22 > 3022 uid 206
23 > @40000000409669710f5099d4 starting delivery 9: msg 248577 to remote
24 > postmaster@×××××.org
25 > @40000000409669710f50bcfc status: local 0/10 remote 1/20
26 > @40000000409669710fc3c24c delivery 9: failure:
27 > Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
28 > @40000000409669710fc3e574 status: local 0/10 remote 0/20
29 > @40000000409669710fc3f12c triple bounce: discarding bounce/248577
30 > @40000000409669710fc3f8fc end msg 248577
31
32 You need to add munat.org to /var/qmail/control/locals, or to the
33 virtualdomains file (same location). After you do this, you need to
34 cause qmail-send to re-read this file like this:
35
36 # svc -h /service/qmail-send
37
38 > BTW, I'm trying to do the qmail-inject example in the gentoo docs... and
39 > I still have a problem with mutt. How else can I check to see if the
40 > mail has gone through? Should it just be a file under ~/.maildir/new?
41
42 Yes. But also the log will have entries like this:
43
44 @400000004096cb0405c8d3cc starting delivery 465531: msg 80837 to local XXX@XXX
45 @400000004096cb0405c90a7c status: local 1/10 remote 1/120
46 @400000004096cb040896ebd4 new msg 80886
47 @400000004096cb0408994564 info msg 80886: bytes 7438 from <YYY@YYY> qp 19893 uid 1048
48 @400000004096cb040afff0dc starting delivery 465532: msg 80886 to remote ZZZ@ZZZ
49 @400000004096cb040b003b14 status: local 1/10 remote 2/120
50 @400000004096cb040b03cd24 delivery 465531: success: did_0+1+0/qp_19893/
51
52 Match up the delivery numbers to see what happened to a message. Note
53 that in "did_x+y+z", x=# of local mailboxes delivered to, y=# of
54 forwardings, z=# of program deliveries.
55 --
56 Andy Dustman <adustman@×××××××××.edu>
57 Office of Information Technology, Terry College of Business, UGA

Replies

Subject Author
Re: [gentoo-server] qmail virtual domains + virtual users Ben Munat <bent@×××××.com>