Free Microsoft Outlook Resources & Whitepapers

SMTP Sending different costs

Hello
I have 2 Hub servers I would like to put a smtp send connector on each for some redundency. I would like to put different costs on each.
Unless I am missing something right under my nose I do not see anywhere to set the cost for these connections.
Can anyone offer any help?

Thanks
Brian


Post your answer or comment

comments powered by Disqus
(I'm re-posting in this group per one user's suggestion)

I've got a handfull of remote users who retrieve mail using outlook express
as well as a few Mac users running Entourage.

I have recently installed a E2K3 server along side a E2K server and migrated
all mailboxes over to the new server. Along with native Outlook connectivity,
I have users connecting from around the world via POP3/SMTP. This previously
worked fine on the E2K server.

Since I have migrated all mailboxes to a new E2K3 SP1 server, they cannot
send mail. I was (eventually) able to get them to successfully receive mail
- after making changes to the POP3 virtual server and having clients use the
domainloginname syntax for user name. However, it seems like something is
different about how they must authenticate for SMTP sending - but I can't
seem to find a combination that works.

Webmail seems to work fine. The mailboxes are otherwise perfectly available.
POP3 and SMTP services are running and set to automatic.

I can't believe MS would break the POP3/SMTP like this ... what gives?

Randy

Can someone help me troubleshoot a problem with sending mail?  I can receive mail but when I send it, it sits in the outbox.  I have created the smtp send connector on several occasions and I have tested smtp by telneting to it and it works fine.  Can someone point me in a different direction, I am thinking there is something wrong with my authentication to the send connector or maybe I created the send connector incorrectly. 
I’m Lost
Thanks
David

Hi all,
We just ugpraded from exchange 03 to exchange 07 a few days ago.
My question is:
My boss wanted me to create new smtp send connectors but it seems like the old ones still work. Do I need to delete all the smtp connectors and re-create new ones?
Is it just: delete and create new one or Are there any BIG surprises after doing this?
Thank you in advance for any input,
Cid

Hi,
I've been asked to setup a smtp send for our Oracle system to send Invoices to our customers however I have never done this before. How would I set this up allowing Oracle to send email outbound only using the hub transport? Any help in this matter is much appreciated.
Using exchange 2007.  

I recently installed Exchange 2010 with Rollup 1 and am having an issue with messages sent through an Exchange SMTP Send Connector. I would like messages sent via the Send Connector to show the sender's DisplayName or Simple DisplayName, but this is not happening. All that is shwon is the sender's SMTP address.

Example:
"" in the "From" field.
I would like it to show "User Name " in the "From" field.

I had this working fine in Exchange 2003 and 2007, but it is not working in Exchange 2010.

How do I get the DisplayName or Simple DisplayName to show?

Hello there,

we are trying to setup a unified messaging solution that is running on the same server as our Exchange 2003.

Exchange 2003 needs to send Internet-Mail to our ISP on Port 25.
It also needs to send mails with the target-Domain 'fax.test' to that unified messaging solution on SMTP port 2525.

For this reason I set up 2 virtual SMTP Servers:
1.) The first (standard) is listening to port 25 and has outbound connections configured to use port 25.
2.) The second one should be used for the unified messaging solution, it listens to port 27 and has outbound connections configured to use port 2525.

Next I set up 2 SMTP-Connecotrs:
1.) On the Connector for Internet Mail I select the first (standard) Virtual Server on the General Tab. Namespace here is SMTP: *; Cost: 10
2.) One the Connector for the Unified Messaging System I select the second Virtual Server one the Gerenal Tab. Namespace here is SMTP: fax.test; Cost: 1

So much for the configuration.

My problem now is, that, wherever I send a mail to, both connectors will always use the port 25 for outgoing connections.
If I stop the standard virtual server for Internet Mail(25) and restart the second virtual server(2525), all mail is sent on port 2525 - however, then I am not able to send internet mail.

Can someone give me a clue what i can do for both connectors to operate on different outgoing ports?
Is this configuration even possible with Exchange 2003?

Kind regards,
Markus

Edit: sorry, got the wrong section :( pls move to e2k3 section

Hello,

I have a firewall that allows for failover so if our T1 goes down, the DSL
is enabled for internet access. I'm running Exchange 2007 - it is able to
receive on the failover line when the T1 is down but I can't seem to figure
out how to get the second send connector to work. The IP address of the
Exchange server is 10.10.50.10 internally natted to the T1. I set up
10.10.50.11 natted to the DSL. We only have an all in one Exchange 2007
box - no other e-mail relays or receivers besides our exchange server. I
created a second send connector - nearly identical to the main one but with
a different HELO name (matching the DNS for failover) and with a cost of 5
as I only want it to get used when the system fails. It seems like
exchange is still trying to use the 10.10.50.10 T1 line to send. Is there
something I can do?

AddressSpaces : {SMTP:*;1}
AuthenticationCredential :
Comment :
ConnectedDomains : {}
ConnectionInactivityTimeOut : 00:10:00
DNSRoutingEnabled : True
DomainSecureEnabled : False
Enabled : True
ForceHELO : False
Fqdn : exchange.DOMAINvp.com
HomeMTA : Microsoft MTA
HomeMtaServerId : DOMAIN-MAIL
Identity : DOMAINSMTP
IgnoreSTARTTLS : False
IsScopedConnector : False
IsSmtpConnector : True
LinkedReceiveConnector :
MaxMessageSize : 10MB
Name : DOMAINSMTP
Port : 25
ProtocolLoggingLevel : None
RequireTLS : False
SmartHostAuthMechanism : None
SmartHosts : {}
SmartHostsString :
SourceIPAddress : 0.0.0.0
SourceRoutingGroup : Exchange Routing Group (DWBGZMFD01QNBJR)
SourceTransportServers : {DOMAIN-MAIL}
UseExternalDNSServersEnabled : False

AddressSpaces : {SMTP:*;5}
AuthenticationCredential :
Comment :
ConnectedDomains : {}
ConnectionInactivityTimeOut : 00:10:00
DNSRoutingEnabled : True
DomainSecureEnabled : False
Enabled : True
ForceHELO : False
Fqdn : mail2.DOMAINvp.com
HomeMTA : Microsoft MTA
HomeMtaServerId : DOMAIN-MAIL
Identity : SMTPFailover
IgnoreSTARTTLS : False
IsScopedConnector : False
IsSmtpConnector : True
LinkedReceiveConnector :
MaxMessageSize : 10MB
Name : SMTPFailover
Port : 25
ProtocolLoggingLevel : None
RequireTLS : False
SmartHostAuthMechanism : None
SmartHosts : {}
SmartHostsString :
SourceIPAddress : 0.0.0.0
SourceRoutingGroup : Exchange Routing Group (DWBGZMFD01QNBJR)
SourceTransportServers : {DOMAIN-MAIL}
UseExternalDNSServersEnabled : False

Hi all ,

my name is jai ,i have a query regarding SMTP connector .Right now in my organization setup is win2k3 with exchange 2003 .already SMTP connector
was setup and that cost defined  is 1.If I want to create a second SMTP connector
what would be cost and how i setup by prioritywise.

Explained details
Basically ,my organization using IMSS ( Interscan Messaging suite )for outgoing mail relay from exchange have some IP 58.2.58.30 (frontened Server) to internet and defined one SMTP connector ,inside SMTP connector properties also defined cost i.e is 1 and one MX record has hosted on ISP .Now I want to Use iron port for mail relaying from exchange to internet that's why create second SMTP connector and one more MX record already hosted on ISP with the same priority .if somebody send a mail from internet to our domain...both mx record can resolve the name.

Now my question is If I am created a second SMTP connector for mail relaying like smtp connector2 then what would be settings of smtp connector2. Is different from smtp connector1 ,different value defined in costing ......because costing works low value.but i am give the same priority in my exchange ,what is the impact on mail relaying if configured both costing are same.

Thanks

Hello all,

I have an sbs running exchange 2003, we have been using a domain  *domainA.co.uk and recently aqquired a new domain domainB.co.uk so that we can present different email addresses for the different types of business we do.

our email goes through a hosted email filtering system, which uses different addresses for each domain we have. So the outgoing mail for domainA.co.uk goes to filterA.com and domainB.co.uk needs to go to filterb.com. These work fine individually,

domainA.co.uk -> filterA.com works fine

I tested domainb.co.uk -> filterB.com using an smtp connector that routes anything sent to googelmail.com to use this connector. and this worked as expected.

now what i am trying to achieve is that anything sent from a domainA.co.uk address goes through the SMTP connector to filterA.com, and anything that comes from domainB.co.uk goes through the second connector to filterB.com.

I hope the above explanation makes sense! would be interested to know if anyone else has done this and how it was achieved?

Thanks, Tom

Hi,

We are configuring two SMTP connectors (X and Y) on an Exchange 2003
server, to forward all mails with a special namespace to unix mail
system A or B.
My question now:

primary I would like to use the connector X to send mails to unix
system A. If system A does not respond, the connector X should try
again 2 times.
if there is no response from system A after 3 times, exchange should
use connector Y to send mails to unix system B.

I created two smtp connectors with the same namespace but different
Costs (10 and 20). So connector X is prefered. But how can I set the
option to try again 2 times and not use other connector after system A
does not respond for only one time?

thanks for help

Eric

Hi,

I have a bit of a problem. I have just recently installed exchange 2007 and everything went great, users are sending and receiving email and everyone is happy, except for 1 thing.......

Currently this firm receives its fax's via email from 2 Xerox copiers with 2 separate phone numbers. When the fax is received it converts it to PDF and emails to an inbox on the exchange server. The fax is then distributed to the recipient.  In exchange 2003 I did not have a problem setting this up, since we use and off-site anti-spam filter we have locked down our server to receive email from specific IP's (Being the Anti-Spam’s companies servers) I have been caught with this in the past and added the copiers IP to the "Allow List" in 2007 I have done this and it has not made any difference, I have also set up a dedicated receive connector to allow only those addresses with no authentication. This still does not work. Is there are trick in 2007 to allow internal SMTP devices to send email to the exchange server?

Your assistance will be greatly appreciated

Thanks

Josh

I've a 1 Back(LAN) and 1 Front(DMZ). I can to send mail to internet right. I've 1 smtp connector with *, cost 1 and the server bridheads is the Front.
I've 1 Exchange 5.5 in other domain different(anotherdomain.org). But I can't send mail from my domain to "anotherdomain.org".

What can I do about this? Thank you for all

I installed a new Exchange 2007 server into my Exchange 2003 environment with the hub transport and client access roles. I want this 07 machine to be responsible for sending all outgoing email from my organization.

Right after installation of the 07 server, email connectivity is still working, however the email is all going out my old 03 server. In the EMC -> Organization Configuration -> Hub Transport I gave the existing SMTP Connector a cost of 2, and then created a new SMTP connector, to connect to the Internet, with a cost of 1, using DNS (MX) to for outgoing.

Now, any email I send out gets stuck in the outgoing queue on my new 07 server with the error:

451 4.4.0 Primary target IP address responded with: "421 4.2.1 Unable to connect." Attempted to failover to alternate host, but that did not succeed. Either there are no alternate hosts, or delivery failed to all alternate hosts.

As soon as I remove the new SMTP connector the emails all get sent immediately through the old one back through my 03 server.

Any advice is appreciated.

Hi all,

Exchange 2003 SP2 windows 2003 SP2 envir.

Can you have two different default SMTP connectors with address * with
different cost?

thank you!

Morning,

I have an Exchange 2003 front and back end setup at home.  I have an ISA 2004 firewall as well.  Comcast cable shut down port 25 on me.  I'm hoing to move my email to another port (50).  I will setup a virus screener and anti-spam box off of my network.  It will accept my email on port 25 and send it to me on port 50.  The ISA server will publish port 50 from my front end server.  The front end server will send the mail to the back end server.  Then to send it will work in the opposit direction.  Question:

I set the default SMTP virtual server on my front end server to be listening on port 50.  Do I need to do anything on the back end server for the front end server to be able to pass the incoming email to it's information store?

Does the back end server need to communicate with the front end server on port 50 when sending mail?

How do I make my front end server send mail on port 50?

Do the front end and back end Exchange servers need to be doing everything on port 50?

If anyone has a better idea how I can continue to use my home email server with port 25 blocked feel free to suggest away!

Thank You in advance!
Scott

Hello all,

We are using Exchange 2003 SP1 as part of SBS 2003 Premium Edition.
We have two internet connections: One is Cable .. the other is an emergency slow speed wireless broadband. Our firewall takes care of failing over to the one connection that remains active and DYNDS domains as well as 2 MX records take care of the rest.

Cable is our primary link (that fails frequently) and the provider forces us to use their smart host that authenticate based on IP address. The "SmallBusiness SMTP connector" forwards all mail through that smart host.

When this connection goes down, we have to manually edit the connector to remove that "forward" to get messages out. I wonder if there is another, non-manual, way of doing this.

I tried creating another connector with a different costs and despite some MS articles that say it works, it doesn't: messages get stuck on the original connector.

I am not a super expert and therefore I could have done it wrong.

Any ideas will be highly appreciated.

Thanks in advance.

Pedro H.

Hi Guys,I just set up a EX2k server. I accesses the net trough a SMC router. I cannot get the SMTP virtual server to send mail to the extranet??? Can somebody tell me a walktrough? All mail gets stuck in the queue. Please help me out from the beginning (router config?, Use DNS or Smarthost, Use SMTP virtual server or SMTP connector...)thanks guys

I have exchange 2003 sp1 running and all of my internal clients using outlook can send and receive email fine to and from any domain. however I have a couple remote users who pop their inboxes and remotely send via my exchange server SMTP.
I've configured relay to allow all computers who successfully authenticate, but for some reason my external smtp users cannot send to any domain that is not my local domain?

NDR is generated in the outlook client and event id 7010 is generated on the exchange server saying "unable to relay"

External client credentials are correct because they're able to pop their inboxes fine.

Any ideas what I may be missing to allow them to send via the exchange SMTP to external domain addresses?

Thanks in advance

DaveB

Hello all,

We are using Exchange 2003 SP1 as part of SBS 2003 Premium Edition.
We have two internet connections: One is Cable .. the other is an emergency slow speed wireless broadband. Our firewall takes care of failing over to the one connection that remains active and DYNDS domains as well as 2 MX records take care of the rest.

Cable is our primary link (that fails frequently) and the provider forces us to use their smart host that authenticate based on IP address. The "SmallBusiness SMTP connector" forwards all mail through that smart host.

When this connection goes down, we have to manually edit the connector to remove that "forward" to get messages out. I wonder if there is another, non-manual, way of doing this.

I tried creating another connector with a different costs and despite some MS articles that say it works, it doesn't: messages get stuck on the original connector.

I am not a super expert and therefore I could have done it wrong.

Any ideas will be highly appreciated.

Thanks in advance.

Pedro H.

Have a stand-alone Win2k3 server with Exchange 2k3. Server is its own DNS. Have 10 users using our mail address @company.com in our main office. Everything works fine here. Have another office with 3 users that also use the same address @company.com from our mailboxes hosted by our webhosting firm, they do not use Exchange. Also have 4 other contract employees that use our address at the webhosting site. Sending to someone outside of our office that does not use our address @company.com works fine. The problem is when we send to one outside of our office that uses our address @company.com.
Since Exchange cannot find them in our server it immediately rejects with error code 5.1.1. I also noticed that under Recipient Properties, Default Policy, Email Addresses (Policy), SMTP then Edit, a box is checked that says "This Exchange Organization is responsible for all mail delivery to this address". Bingo, that is apparently our problem, but this section and its check box is grayed out. So, how do I remedy my problem ?

Thanks

I have an SBS2003 installation which has been working fine, until one of the users requested to be able to send and receive using a different address.

The domain name is really an Alias - ie it is a BT account with BTCONNECT however it resolves to company.com

I would like to be able to send and receive mail as a BTCONNECT.com name (whih is the true domain identity) however I am recieving a message when I try and send/reply I receive a system message saying I am not allowed to send on behalf of....blah blah.

I have setup 2 btconnect accounts for this user

I need the ability to be able to do the equivelant of the POP send as or from account function.

I am using the pop connector to download mail this is working fine.

The user has a number of computers he uses in various locations - the exchange mail part (the company view) is fine as it shows the same view - however I have setup a POP (not exchange) account to handle this other stuff - POP means that he get confused with what he has read and not read - plus there are issues of not leaving message on server when he sets up his computers

Is there some easy method of being able to what I require.

Any help would be much appreciated.

Recently I have received a few requests to get a list of all people who have rights to send to certain restricted distribution groups. I created the script below to collect all distribution groups that have send to restrictions and list the users and groups that have rights to send to them.

This script was written and tested in an Exchange 2007 environment. In my opinion it's not complete, eventually I want it to recursively find all users who can send to the group, whether they are directly added or inherit the rights through a security group with rights, and place them in an alphabetical list.

For today, if you want to see a list of all groups that have send to restrictions and the users / groups that have rights to do so, this script will get you that information in a nice CSS/HTML formatted email report. You should not need to edit anything except the email addresses and SMTP info at the bottom for this to work in 2007. If anyone can test in 2010 please post your results.

Code: #Exchange plugin Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin #get subject date $subjectDate = get-date -uformat %Y/%m/%d #Collect a list of distribution lists and dynamic distribution lists. I collect these in two steps as the commands differ for them. $alist = Get-DistributionGroup | ?{$_.AcceptMessagesOnlyFrom -ne $null -or $_.AcceptMessagesOnlyFromDLMembers -ne $null} | Select-Object Name | Sort-Object Name $dlist = Get-DynamicDistributionGroup | ?{$_.AcceptMessagesOnlyFrom -ne $null -or $_.AcceptMessagesOnlyFromDLMembers -ne $null} | Select-Object Name | Sort-Object Name #Foreach loop to collect the users and groups with send to rights for distribution groups $agroup = @() foreach ($list in $alist){ $agroup += Get-DistributionGroup -Identity $list.Name | Select-Object DisplayName,@{Name="AcceptMessagesOnlyFrom";Expression={[string]::join(";",($_.AcceptMessagesOnlyFrom| foreach {$_.name}) )}},@{Name="AcceptMessagesOnlyFromDLMembers";Expression={[string]::join(";",($_.AcceptMessagesOnlyFromDLMembers| foreach {$_.name}) )}} } #Foreach loop to collect the users and groups with send to rights for dynamic distribution groups $dgroup = @() foreach ($list in $dlist){ $dgroup += Get-DynamicDistributionGroup -Identity $list.Name | Select-Object DisplayName,@{Name="AcceptMessagesOnlyFrom";Expression={[string]::join(";",($_.AcceptMessagesOnlyFrom| foreach {$_.name}) )}},@{Name="AcceptMessagesOnlyFromDLMembers";Expression={[string]::join(";",($_.AcceptMessagesOnlyFromDLMembers| foreach {$_.name}) )}} } #Convert data into HTML tables $atable = $agroup | ConvertTo-Html -Fragment $dtable = $dgroup | ConvertTo-Html -Fragment #edit table tags so they will use CSS formatting $atable = $atable -replace '','' $dtable = $dtable -replace '','' #Create HTML Content for body of email $html = " Top Senders Report table.imagetable { font-family: verdana,arial,sans-serif; font-size:10px; color:#333333; border-width: 1px; border-color: #999999; border-collapse: collapse; } table.imagetable th { background:#CCCCCC; border-width: 1px; padding: 6px; border-style: solid; border-color: #999999; } table.imagetable td { background:#FFFFFF; border-width: 1px; padding: 6px; border-style: solid; border-color: #999999; } 'Send To' rights report for $subjectDate Distribution Groups $atable Dynamic Distribution Groups $dtable " #Send Email $from = New-Object System.Net.Mail.MailAddress "sender@domain.com" #replace with your sending address $to = New-Object System.Net.Mail.MailAddress "recipient@domain.com" #replace with recipient address $msg = new-object system.Net.Mail.MailMessage $from, $to $msg.IsBodyHTML = $true $msg.Subject = "Send To report - $subjectDate" $msg.body = $html $smtpServer = '0.0.0.0' #replace with SMTP server IP or DNS name $smtp = new-object Net.Mail.SmtpClient($smtpServer) $smtp.Send($msg);

I'm using Exchange 2003 Enterprise edition. I have some remote outlook 2003
clients who use IMAP.

I have the clients setup as IMAP clients, and I'm getting an error trying to
send (I recieve mail fine). The error is 0x8004021 when I try to send.
I've done all the basics... Checking the smtp VS settings and permissions,
and specifying the "outgoing server" logon from within the outlook client.
Still get the same error.

Anyone have any suggestions? Oh, also, no Anti-virus or Firewall in the
way. Those have been removed from the equation.

Thanks.

Hi People,

I have 3 exchange servers (same Exch ORG) each in 3 geographically
seperated sites.

All 3 servers accept mails for mydomain.com with MX priority 10, 20 and
20. They also have each an internet connection.

mydomain.com mx 20 mail3.mydomain.com
mydomain.com mx 20 mail2.mydomain.com
mydomain.com mx 10 mail1.mydomain.com

On mail1.mydomain.com I have:-

1. Default SMTP Server using DNS resolution - SMTP * - cost 1
2. SMTP Routing group connector for site 2 - SMART host
mail2.mydomain.com - cost 10
3. SMTP Routing group connector for site 3 - SMART host
mail3.mydomain.com - cost 10

On mail2.mydomain.com I have:-

1. Default SMTP Server using DNS resolution - SMTP * - cost 1
2. SMTP Routing group connector for site 1 - SMART host
mail1.mydomain.com - cost 10
3. SMTP Routing group connector for site 3 - SMART host
mail3.mydomain.com - cost 10

etc...

Everything seems to be working fine but I would like to have a precision
on SMTP connectors routing cost and the SMTP address in the smtp address
space tab in exchange manager.

Since the default SMTP server has a cost of 1, how does exchange manage
to use the SMTP Routing Group connector with a cost of 10 to send mails
for mydomain.com on the correct exchange server?.

When configuring the SMTP Routing group connector i did not include
anything in the SMTP address space like i would do if i were to create a
an smtp connector to route all hotmail.com mails to a specific hotmail
server using a smart host and hotmail.com in he smtp address space..
It it the correct way to configure the smtp routing group connector for
my brach offices?

Kind Regards,

DH


Not finding an answer? Try a Google search.