Discussion: Simple testing setup
Afficher un message
Vieux 23/09/2006, 17h23   #1
David Ellis
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Simple testing setup

Hello,

I have undoubtedly missed something in the documentation, and I am not
very familiar with system administration, but I thought someone might be
willing to point me to resources to answer my questions, or offer a bit
of advice.

I am trying to setup a testing environment (with a nameserver, mstone
(load generator), and sink) to evaluate performance of a milter. The
milter part is working fine, but when I send messages from the mstone
server, they don't reach the sink.

Here is everything I have in the .mc file:

define(`confDOMAIN_NAME', `adkim.net')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
INPUT_MAIL_FILTER(dk-filter, S=inet:8891@localhost)dnl


And here is what I expect should lead the messages to "mail.adkim.net"
(another name for the sink).

david@mstone:~$ dig in mx adkim.net

; <<>> DiG 9.2.4 <<>> in mx adkim.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31825
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2

;; QUESTION SECTION:
;adkim.net. IN MX

;; ANSWER SECTION:
adkim.net. 60 IN MX 10 mail.adkim.net.

;; AUTHORITY SECTION:
adkim.net. 60 IN NS ns.adkim.net.

;; ADDITIONAL SECTION:
mail.adkim.net. 60 IN A 192.168.15.5
ns.adkim.net. 60 IN A 192.168.15.3

Here is a snippet from the maillog:

Sep 22 18:52:43 mstone sendmail[8268]: k8MMqhQX008268:
from=<mailtestuser0@adkim.net>, size=237, class=0, nrcpts=1,
msgid=<200604100302.k3A32Mua011543@mstone.adkim.ne t>, proto=SMTP,
daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Sep 22 18:52:50 mstone sendmail[8996]: k8MMqoKn008996:
localhost.localdomain [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN
during connection to MTA
Sep 22 18:52:51 mstone sendmail[8310]: k8MMqhQX008268:
to=<mailtestuser28@adkim.net>, ctladdr=<mailtestuser0@adkim.net>
(1002/1002), delay=00:00:08, xdelay=00:00:08, mailer=local, pri=30715,
dsn=2.0.0, stat=Sent

Although some messages are reported as sent, they are all delivered
locally (after a long delay). The problem is that I need all mail to
adkim.net to be delivered to the sink, but I need the sendmail milter at
the localhost (mstone) to operate on (sign/verify/etc) messages from
adkim.net (and then send them to the sink).

I tried changing the domain sendmail is configured with to 'other.net',
but that seemed to have no effect. Maybe it's a problem with the sink?
That might explain the delay (I guess). If anyone has any hints or
suggestions, or could point me to specific resources, that would be great.

Thanks,

David
  Réponse avec citation
 
Page generated in 0,05524 seconds with 9 queries