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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mmdf routing problems

Status
Not open for further replies.

FrankThynne

Technical User
May 29, 2001
36
GB
I have trouble mailing from SCO to a corporate mail server (running MS Exchange) on the same lan.

SCO system: scosys
Corporate mail server: mailsys
Domain: firm.co.uk
Sending user on scosys: user1
Addressee: user2@firm.co.uk

If I configure mmdf on scosys so that it sends mail as from user1@scosys.firm.co.uk, mailsys rejects it because there is no such domain.

If I configure mmdf so that it sends mail as from user1@firm.co.uk, mmdf assumes that the user2 is local and won't try to route it outwards.

If I use the same configuration but instead try to send to user2@mailsys.firm.co.uk, mailsys rejects it.

It seems that in order to send mail as from user1@firm.co.uk I must set MLNAME to "firm", and when I do that, any mail addressed to @firm.co.uk is treated as local to scosys.

Is there any way around this?
 
I'm not a mail expert but I think the best solution is to prevent the Exchange server from rejecting mail because it doesn't know scosys.firm.co.uk.

I assume firm.co.uk is your domain, i.e. you control it. Do you manage your own DNS server(s)? Can you not just add scosys.firm.co.uk as a valid host to your DNS?
 
So what you are wanting is to send e-mail from scosys, but alter the from address to be that person's address on the exchange server, so that any replies will return to their normal address rather than SCO.

In other words:

from: user1@firm.co.uk
to: user2@firm.co.uk

Is this manual e-mail you are trying to send within the SCO mail interface, or is it an automated message you want to send from the SCO OS with a script?

I did some experimenting with something similar a while back. At my organization we have a separate mail server and don't use the e-mail on the SCO box, however I wanted to be able to send automated messages from the SCO box regarding certain processes, and have them appear as though I had sent them from my own e-mail.

I first tried sending the e-mail using SCO's "sendmail" program but was unable to set the "from" address. How I finally got it to work was by using "submit" instead of "sendmail":

To do this I simply created a text file containing standard e-mail format and put the desired "from" address in the address portion of the text file, then I piped the file through the submit program.

Code:
(
 echo &quot;From: <user1@firm.co.uk>&quot;
 echo &quot;To: <user2@firm.co.uk>&quot;
 echo &quot;CC:&quot;
 echo &quot;BCC:&quot;
 echo `date '+Date: %a, %d %b %Y %H:%M:%S'`
 echo &quot;Subject: Test E-mail&quot;
 echo &quot;Message-Id: <&quot;`date '+%d%m%y`$$&quot;.firm.co.uk>&quot;
 cat message.txt
 uuencode attachment.txt attachment.txt
) | /usr/mmdf/bin/submit -tmnrxto,cc,bcc*
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top