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

Email Disclaimer in Exchange 2003 7

Status
Not open for further replies.

SQLBI

IS-IT--Management
Jul 25, 2003
988
GB
Hi,

Is there a way of appending all out going email's with a disclaimer at the foot of them using exchange 2003?

If so, how should i go about it?

Thanks in advance.


Leigh Moore
Business Systems Manager
Vets4Pets Veterinary Group
 
I have done this on a few E2K3 boxes now, the method for 2003 is the same for 2k.




The second article requires more explanation, follow the steps below:


SYMPTOMS
The Simple Mail Transfer Protocol (SMTP) Transport Event is used to modify mail as it passes through the SMTP service. Mail that is sent by using a MAPI client, such as Outlook, does not maintain these modifications.

CAUSE
When mail triggers the SMTP Transport Event, messages that are submitted by using MAPI are not in SMTP format. Therefore, changes that are made by the event's code are not persisted.

RESOLUTION
To resolve this problem, create and configure a second SMTP virtual server and route all messages from the first SMTP virtual server to the second virtual server. Then register your SMTP Transport Event on the second SMTP virtual server. This ensures that when the SMTP Transport Event fires, the message is in SMTP format.

In the following steps, you create a second SMTP virtual server, which listens on TCP port 26 and sends on TCP port 25. The default SMTP virtual server now listens on port 25 and sends externally on TCP port 26, which is being monitored by the second SMTP virtual server. In essence, any mail that comes through should come in to your default SMTP virtual server. If the mail is to be delivered internally, it is delivered by the default SMTP virtual server and is not passed on to the second SMTP virtual server. If the mail needs to be delivered externally, the default SMTP virtual server passes it to the second SMTP virtual server.
1. Open the Exchange System Manager and browse to the SMTP folder. This folder should be located at First Administrative Group/Servers/Server Name/Protocols/SMTP.
2. Right-click the folder, click New , and then click SMTP Virtual Server .
3. Type a name for the server, then click Next . For the IP address, select All Unassigned and then click Finish . A dialog box warns you that the server will not start because of conflicting IP addresses and ports. You can ignore this warning. Click Yes to continue.
4. Right-click each SMTP virtual server and click Stop .
5. Right-click the default SMTP virtual server and click Properties .
6. On the Delivery tab, click Advanced . In the text box for Smart Host, type the fully-qualified domain name as it appears in the textbox directly above the Smart host textbox, and then click OK . On the Delivery tab, click Outbound connections . In the TCP port text box, type 26 , and then click OK . Click OK to close this dialog box.
7. Right-click the other SMTP virtual server that you created and click Properties . On the General tab, click Advanced and select All Unassigned . Click Edit , change the TCP port to 26, and then click OK . Click OK again, and then click OK to close this dialog box.
8. Right-click each SMTP virtual server and click Start .
9. Register the event on the second SMTP virtual server. To do this, use the following command:
cscript smtpreg.vbs /add 2 OnArrival SampleOnArrivalEvent SampleSMTPEvent.TransportEventInterface "mail from=*"
Note that the 2 after "/add" tells the script to register the event on the second SMTP virtual server. Normally this parameter is 1, for the first SMTP virtual server.
 
Or you can go to and download the trial for the mailessentials software. Even after the trial runs out, you can still use the disclaimer. Different parts of the trial remain free after it expires.
 
darren97

tried your method but can't get it to work.

The Internet Mail SMTP Connector overrides any delivery settings on the first Default SMTP Virtual Server.

If I set the smart host on the IM SMTP Connector to the mail returns with an error saying the mail is looping between machines.
Set as Deliver via DNS it delivers directly bypassing the Default SMTP server and so the Second SMTP server which adds the disclaimer.

Am I missing something ???

WIN2003 Exchange2003

Thanks
David
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top