Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MMDF SMTP PROBLEM 1

Status
Not open for further replies.

hellohi69

Technical User
Jan 14, 2006
10
CN
I setup a mail server with MMDF. I found it was quick to receive mails when the peer sent me mail(MS exchange.But the peer recieved me mails very slow, and sometimes the mails lost. In my chan.log there is following:
2006-01-13 12:37-22-0500 mail01087;unkown table flag(flag) in'show="Root domain" name = rootdom" flags=ns flags=domain , flags=,'
It is my first time to use sco MMDF. Pls help me to copy with this problem. How to setup MMDF by domain? Thank you.
 
Could you post your /usr/mmdf/mmdftailor file?
A good troubleshooting task with MMDF is to run the deliver process in foreground like so:
# /usr/mmdf/bin/daemon stop

Send some mail.

# /usr/mmdf/bin/deliver -w | more

To re-enable the automatic process:
# /usr/mmdf/bin/daemon start

In addition to the mmdftailor file, it might also be helpful to see the contents of /usr/spool/mmdf/lock/home. Just a long listing (showing directories and permissions) would be enough.
 
Thank you very much!
I found the problem might be caused by delivering time.
Remote MMDF email is not delivered by smtp. It is sitting in the MMDF smtp mail queue waiting for delivery. I tried to change the time from 600s to 60s. But I could not find the file "rc2.d/s86mmdf"( I use sco5.06). I also think the problem might be sovled by changed the msleep information in mmdftailor, but I did not know how to change. Pls give me help.
Thank you again!
 
The file you are looking for is /usr/mmdf/bin/daemon. In there you will find this section:
Code:
       if [ -x /usr/mmdf/bin/deliver ]
       then
            /usr/mmdf/bin/deliver -b -T120
       fi

This script gets run from /etc/rc2.d/P86mmdf upon boot-up.
In this example, we are telling MMDF to fire up the deliver process and cycle through the various queues every 120 seconds. You can shorten that wait time as needed. This seems to work pretty well for our environment. But, for times when I'm impatient, I run the deliver process manually (as referenced in my first reply above).


 
I really appreciate your help!It was my first time that I used unix mail. I have too many problems.
Now I have a new problem. I want to exchange the mails with two servers. The name of my server is A, the others are B and C. A and B, B and C can exchange mails. But server C could not recieve A's mails.I run the deliver process manually, all is OK.I checked the deliver queue, and all mail had been delivered. But the remote mail C server did not receive the mails. I used the command of checkadd, the mail address is ok. Do you think the problem is in my server A? How to locate the problem?
Thank you again!
 
From server A, try to manually submit mail to the SMTP listener on server C. Here's a minimal set of commands (all run from Server A):

# telnet ServerC 25
> HELO servera.mydomain.com
> MAIL FROM: <me@mydomain.com>
> RCPT TO: <you@yourdomain.com>
> DATA
> Subject: Mail Test
>
> This is a test
> .
> QUIT
#

The reason you cannot send from ServerA to ServerC could just be a problem with an ALIAS entry. You wouldn't need an ALIAS entry if the recipient is on a different domain, but you would if the recipient is on the same domain. (This is configurable within MMDF).
If you are just starting with mail on this server, you may wish to switch from MMDF to Sendmail. MMDF is quite old. Sendmail isn't easy, but there is more support available. It requires successful DNS configuration, whereas MMDF is happy to use /etc/hosts entries.
 
Thank you!
I solved most of problems. Now I followed your advice, and installed another mail server with sendmail.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top