PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > Simple testing setup
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Simple testing setup

Réponse
 
LinkBack Outils de la discussion
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
Vieux 23/09/2006, 17h35   #2
David Ellis
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Simple testing setup

David Ellis wrote:
> 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


Note that I also tried using `other.net' here, to avoid sendmail
accepting these messages, but that seemed to have no effect.

> 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?


The maillog on the sink reports no activity at all, so the messages
don't seem to be leaving the mstone machine.

> 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
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h46.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11908 seconds with 10 queries