|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 |
|
![]() |
| Outils de la discussion | |
|
|