Configure SMTP to forward mail to a specific domain

We have migrated all of our e-mail from on premise exchange to Office 365. To support internal applications that send e-mail such as our scanners, we have setup a SMTP relay server using IIS on Windows 2012.
This is working very well however we have some users that when they do a scan they simply enter their e-mail alias (the part before the @ symbol) since that worked when the scanner was sending to Exchange. However Office 365 does not know how to route these
e-mails so they result in a NDR. Since the NDR is not sent to the person creating the scan they do not even know the issue other than they did not receive their scan. 
Is there a way to configure the SMTP service on Windows 2012 to send all e-mail that does not have a domain listed in the e-mail address to a specific domain? For example, if someone were to send their scan to myalias it would be delivered to myalias at mycompany
dot com (sorry about spelling it out but it is not letting me post this with a e-m ail address in it even if the address is not valid)

Hi,
You can try to create a SMTP domain in IIS manager(Default SMTP Virtual Server>Domains>New>domain) and then enable "Allow incoming mail to be relayed to this domain" and "Forward all mail to smart host".
In addition, for questions related to IIS, you can also ask in IIS forum for professional assistance:
http://forums.iis.net/
Best regards,
Susie
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Similar Messages

  • Channel for incoming mail addressed to specific domain

    I am trying to create a channel for all incoming messages addressed to a specific domain.
    I know that all incoming Internet mails go to tcp_local first.
    What I want to do is to separate mails for different domains to different channels so I could later process them, either with conversion channel or with some channel filters.
    Also, after passing trough those specific channels, how to put those mails back on track for delivery?
    Can anyone help on doing this?
    Thanks
    I�m running (on Solaris 8) MS5.2p1 hf1.21

    To look over the docs� but I already did, and it�s pretty bad, poorly explained�
    So, please let�s try to make this clear.
    Note, every time after making changes I run:
    imsimta cnbuild
    imsimta restart
    First, you gave an example to me (reply 5):
    [email protected]%tcp_friendly-daemon
    Second, I was not sure from your post where to put space (reply6), and I tested both cases:
    domain.net$E$F [email protected]%tcp_friendly-daemon # space between $F and $U
    and
    domain.net [email protected]%tcp_friendly-daemon # space between domain.net and $E
    Unfortunately, nothing has changed.
    Third, you wrote (reply 7) �No spaces�.
    Forth, I tested that as well and it gave me an error (reply 8).
    Fifth, in your last reply (reply 9) you said that I need a left and a right half, and you suggested an example that I�ve already checked (reply 6) and it wasn�t working :(
    So, now I am completely lost�
    Here is the result of testing this last example in imta.cnf:
    domain.net [email protected]%tcp_friendly-daemon # space between domain.net and $E
    ! tcp_friendly
    tcp_friendly smtp mx single_sys subdirs 20 noreverse maxjobs 7 pool SMTP_POOL mailfromdnsverify maytlsserver allowswitchchannel saslswitchchannel tcp_auth
    tcp_friendly-daemon
    imsimta cnbuild
    imsimta restart
    imsimta test -rewrite -debug [email protected]
    Could you review this result, please and try to see what is wrong.
    Initializing mm_.
    Initializing mm_ submission.
    Checking identifiers.
    *** Debug output from initializing MM for submission:
    13:43:32.79: mmc_winit('l','postmaster@machine_name.test.com','0IB800802GOK8O@machine_name.test.com') called.
    13:43:32.79: Queue area size 5858064, temp area size 5858064
    13:43:32.79: 1464516 blocks of effective free queue space available; setting disk limit accordingly.
    13:43:32.79: Rewriting: Mbox = "postmaster", host = "machine_name.test.com", domain = "$*", literal = "", tag = ""
    13:43:32.79: Rewrite: "$*", position 0, hash table -
    13:43:32.79: Found: "$E$F$U%$H@machine_name.test.com$V$H"
    13:43:32.79: Rewrite failed, not forward.
    13:43:32.79: Rewrite: "$*", position 1, hash table -
    13:43:32.79: Failed.
    13:43:32.79: Rewrite: "$*", position 0, rewrite database -
    13:43:32.79: Failed
    13:43:32.79: Rewriting: Mbox = "postmaster", host = "machine_name", domain = "machine_name.test.com", literal = "", tag = ""
    13:43:32.79: Rewrite: "machine_name.test.com", position 0, hash table -
    13:43:32.79: Found: "$U%$D@machine_name.test.com"
    13:43:32.79: New mailbox: "postmaster".
    13:43:32.79: New host: "machine_name.test.com".
    13:43:32.79: New route: "machine_name.test.com".
    13:43:32.79: New channel system: "machine_name.test.com".
    13:43:32.79: Looking up host "machine_name.test.com".
    13:43:32.79: - found on channel l
    13:43:32.79: Routelocal flag set; scanning for % and !
    13:43:32.79: Rewriting: Mbox = "postmaster", host = "machine_name.test.com", domain = "$*", literal = "", tag = ""
    13:43:32.79: Rewrite: "$*", position 0, hash table -
    13:43:32.79: Found: "$E$F$U%$H@machine_name.test.com$V$H"
    13:43:32.79: Rewrite failed, not forward.
    13:43:32.79: Rewrite: "$*", position 1, hash table -
    13:43:32.79: Failed.
    13:43:32.79: Rewrite: "$*", position 0, rewrite database -
    13:43:32.79: Failed
    13:43:32.79: Rewriting: Mbox = "postmaster", host = "machine_name", domain = "machine_name.test.com", literal = "", tag = ""
    13:43:32.79: Rewrite: "machine_name.test.com", position 0, hash table -
    13:43:32.79: Found: "$U%$D@machine_name.test.com"
    13:43:32.79: New mailbox: "postmaster".
    13:43:32.79: New host: "machine_name.test.com".
    13:43:32.79: New route: "machine_name.test.com".
    13:43:32.79: New channel system: "machine_name.test.com".
    13:43:32.79: Looking up host "machine_name.test.com".
    13:43:32.79: - found on channel l
    13:43:32.79: Routelocal flag set; scanning for % and !
    13:43:32.79: Mapped return address: postmaster@machine_name.test.com
    *** Debug output from rewriting a forward header address:
    13:43:32.79: Rewriting: Mbox = "user", host = "domain.net", domain = "$*", literal = "", tag = ""
    13:43:32.79: Rewrite: "$*", position 0, hash table -
    13:43:32.79: Found: "$E$F$U%$H@machine_name.test.com$V$H"
    13:43:32.79: Rewrite failed, not envelope.
    13:43:32.79: Rewrite: "$*", position 1, hash table -
    13:43:32.80: Failed.
    13:43:32.80: Rewrite: "$*", position 0, rewrite database -
    13:43:32.80: Failed
    13:43:32.80: Rewriting: Mbox = "user", host = "domain", domain = "domain.net", literal = "", tag = ""
    13:43:32.80: Rewrite: "domain.net", position 0, hash table -
    13:43:32.80: Found: "[email protected]%tcp_friendly-daemon"
    13:43:32.80: Rewrite failed, not envelope.
    13:43:32.80: Rewrite: "domain.net", position 1, hash table -
    13:43:32.80: Failed.
    13:43:32.80: Rewrite: "domain.net", position 0, rewrite database -
    13:43:32.80: Failed
    13:43:32.80: Rewriting: Mbox = "user", host = "domain", domain = ".net", literal = "", tag = ""
    13:43:32.80: Rewrite: "*.net", position 0, hash table -
    13:43:32.80: Failed
    13:43:32.80: Rewrite: ".net", position 0, hash table -
    13:43:32.80: Found: "$U%$H$D@TCP-DAEMON"
    13:43:32.80: New mailbox: "user".
    13:43:32.80: New host: "domain.net".
    13:43:32.80: New route: "TCP-DAEMON".
    13:43:32.80: New channel system: "TCP-DAEMON".
    13:43:32.80: Looking up host "TCP-DAEMON".
    13:43:32.80: - found on channel tcp_local
    13:43:32.80: Rewrite rules result: [email protected]
    13:43:32.80: Checking reverse URL cache for: [email protected]
    13:43:32.80: Applying reverse URL pattern ldap:///$V?mail?sub?$Q to: [email protected]
    13:43:32.85: Resulting URL: ldap:///o%3Ddomain.net%2Co%3Disp?mail?sub?(|([email protected])([email protected]))
    13:43:32.85: mmc_open_url called to open ldap:///o%3Ddomain.net%2Co%3Disp?mail?sub?(|([email protected])([email protected])), flags = 256
    13:43:32.85: URL with quotes stripped: ldap:///o%3Ddomain.net%2Co%3Disp?mail?sub?(|([email protected])([email protected]))
    13:43:32.85: LDAP URL identified
    13:43:32.85: URL context #1 will be used
    13:43:32.85: Performing URL search on: ldap:///o%3Ddomain.net%2Co%3Disp?mail?sub?(|([email protected])([email protected]))
    13:43:32.86: mmc_read_url result: [email protected]
    13:43:32.86: URL resolution returned: [email protected]
    forward channel = l
    channel description =
    channel user filter =
    dest channel filter =
    source channel filter =
    channel flags #0 = BIDIRECTIONAL MULTIPLE IMMNONURGENT NOSERVICEALL
    channel flags #1 = NOSMTP DEFAULT
    channel flags #2 = COPYSENDPOST COPYWARNPOST POSTHEADONLY HEADERINC NOEXPROUTE
    channel flags #3 = LOGGING NOGREY NORESTRICTED RETAINSECURITYMULTIPARTS
    channel flags #4 = EIGHTBIT NOHEADERTRIM NOHEADERREAD RULES
    channel flags #5 =
    channel flags #6 = LOCALUSER REPORTHEADER
    channel flags #7 = NOSWITCHCHANNEL NOREMOTEHOST DATEFOUR DAYOFWEEK
    channel flags #8 = NODEFRAGMENT EXQUOTA REVERSE NOCONVERT_OCTET_STREAM
    channel flags #9 = NOTHURMAN INTERPRETENCODING USEINTERMEDIATE RECEIVEDFROM VALIDATELOCALSYSTEM NOTURN
    defaulthost = test.com test.com
    linelength = 1023
    channel env addr type = SOURCEROUTE
    channel hdr addr type = SOURCEROUTE
    channel official host = machine_name.test.com
    channel queue 0 name = LOCAL_POOL
    channel queue 1 name = LOCAL_POOL
    channel queue 2 name = LOCAL_POOL
    channel queue 3 name = LOCAL_POOL
    channel after params =
    channel user name =
    urgentnotices = 1 2 4 7
    normalnotices = 1 2 4 7
    nonurgentnotices = 1 2 4 7
    channel rightslist ids =
    local behavior flags = %x7
    backward channel = tcp_local
    header To: address = [email protected]
    header From: address = [email protected]
    envelope To: address = [email protected] (route (machine_name.test.com,machine_name.test.com)) (host domain.net)
    envelope From: address = [email protected]
    name =
    mbox = user
    Extracted address action list:
    [email protected]
    Extracted 733 address action list:
    [email protected]
    Address list expansion:
    user%domain.net@ims-ms-daemon
    1 expansion total.
    *** Debug output from submitting an envelope address:
    13:43:32.88: mmc_wadr(0x0018a888,'[email protected]','[email protected]') called.
    13:43:32.88: Copy estimate before address addition is 1
    13:43:32.88: Parsing address [email protected]
    13:43:32.88: Rewriting: Mbox = "user", host = "domain.net", domain = "$*", literal = "", tag = ""
    13:43:32.88: Rewrite: "$*", position 0, hash table -
    13:43:32.88: Found: "$E$F$U%$H@machine_name.test.com$V$H"
    13:43:32.88: Match, pattern = "domain.net", current = "(*domaincheck*)"
    13:43:32.88: old state = not checked.
    13:43:32.88: Using result 1 from domain match cache.
    13:43:32.88: new state = succeeded.
    13:43:32.88: New mailbox: "user".
    13:43:32.88: New host: "domain.net".
    13:43:32.88: New route: "machine_name.test.com".
    13:43:32.88: New channel system: "machine_name.test.com".
    13:43:32.88: Looking up host "machine_name.test.com".
    13:43:32.88: - found on channel l
    13:43:32.88: Routelocal flag set; scanning for % and !
    13:43:32.88: Address [email protected] requires local processing.
    13:43:32.88: Variant #1 = [email protected]
    13:43:32.89: Variant #2 = *@domain.net
    13:43:32.89: Checking for [email protected] in the system alias file
    13:43:32.89: - not found
    13:43:32.89: Checking for *@domain.net in the system alias file
    13:43:32.89: - not found
    13:43:32.89: Checking [email protected] with URL template ldap:///$V?*?sub?$R
    13:43:32.89: LDAP URL template identified
    13:43:32.89: URL determined to be: ldap:///o%3Ddomain.net%2Co%3Disp?*?sub?(|([email protected])([email protected])([email protected]))
    13:43:32.89: URL context #1 will be used
    13:43:32.89: Using cached LDAP result for URL info: ldap:///$V?*?sub?$R|[email protected]|[email protected]
    13:43:32.89: Scanning LDAP result.
    13:43:32.89: Attribute: objectclass
    13:43:32.89: Attribute index: 0
    13:43:32.89: Attribute: inetuserstatus
    13:43:32.89: Attribute index: 1
    13:43:32.89: Attribute: mailuserstatus
    13:43:32.89: Attribute index: 2
    13:43:32.89: Attribute: uid
    13:43:32.89: Attribute index: 4
    13:43:32.89: Attribute: mail
    13:43:32.89: Attribute index: 5
    13:43:32.89: Attribute: mailhost
    13:43:32.89: Attribute index: 9
    13:43:32.89: Attribute: mailDeliveryOption
    13:43:32.89: Attribute index: 18
    13:43:32.89: Attribute: preferredLanguage
    13:43:32.89: Attribute index: 42
    13:43:32.89: Scanning complete, begin actions
    13:43:32.89: Object class: top
    13:43:32.89: Object class didn't match
    13:43:32.89: Object class: person
    13:43:32.89: Object class didn't match
    13:43:32.89: Object class: organizationalPerson
    13:43:32.89: Object class didn't match
    13:43:32.89: Object class: inetOrgPerson
    13:43:32.89: Object class didn't match
    13:43:32.89: Object class: inetUser
    13:43:32.89: Object class didn't match
    13:43:32.89: Object class: ipUser
    13:43:32.89: Object class didn't match
    13:43:32.89: Object class: nsManagedPerson
    13:43:32.89: Object class didn't match
    13:43:32.89: Object class: userPresenceProfile
    13:43:32.89: Object class didn't match
    13:43:32.89: Object class: inetMailUser
    13:43:32.89: Object class match, reference value 1
    13:43:32.89: Object class: inetLocalMailRecipient
    13:43:32.89: Object class match, reference value 18
    13:43:32.89: User/group index = 1
    13:43:32.89: Domain is active
    13:43:32.89: Mail domain is active
    13:43:32.89: User status = active
    13:43:32.89: Mail user status = active
    13:43:32.89: User UID user found.
    13:43:32.89: Processing mailhost attribute machine_name.test.com
    13:43:32.89: Mailhost references local system
    13:43:32.89: Delivery option: mailbox
    13:43:32.89: Delivery options value: 1
    13:43:32.89: No reprocess flag on user, processing now
    13:43:32.89: Status for this address = 1
    13:43:32.89: - URL match for [email protected]
    13:43:32.89: Delivery option template: $M%$\$2I$_+$2S@ims-ms-daemon
    13:43:32.89: - user%domain.net@ims-ms-daemon
    13:43:32.89: Parsing address user%domain.net@ims-ms-daemon
    13:43:32.90: Rewriting: Mbox = "user%domain.net", host = "ims-ms-daemon", domain = "$*", literal = "", tag = ""
    13:43:32.90: Rewrite: "$*", position 0, hash table -
    13:43:32.90: Found: "$E$F$U%$H@machine_name.test.com$V$H"
    13:43:32.90: Match, pattern = "ims-ms-daemon", current = "(*domaincheck*)"
    13:43:32.90: old state = not checked.
    13:43:32.90: Using result 0 from domain match cache.
    13:43:32.90: new state = fail pending.
    13:43:32.90: Rewrite failed due to channel mismatch.
    13:43:32.90: Rewrite: "$*", position 1, hash table -
    13:43:32.90: Failed.
    13:43:32.90: Rewrite: "$*", position 0, rewrite database -
    13:43:32.90: Failed
    13:43:32.90: Rewriting: Mbox = "user%domain.net", host = "ims-ms-daemon", domain = "ims-ms-daemon", literal = "", tag = ""
    13:43:32.90: Rewrite: "ims-ms-daemon", position 0, hash table -
    13:43:32.90: Failed.
    13:43:32.90: Rewrite: "ims-ms-daemon", position 0, rewrite database -
    13:43:32.90: Failed
    13:43:32.90: Looking up host "ims-ms-daemon".
    13:43:32.90: - found on channel ims-ms
    13:43:32.90: - orig_send_access mapping check: l|postmaster@machine_name.test.com|l|[email protected]
    13:43:32.90: - passed.
    13:43:32.90: - send_access mapping check: l|postmaster@machine_name.test.com|ims-ms|user%domain.net@ims-ms-daemon
    13:43:32.90: - passed.
    13:43:32.90: - adding address user%domain.net@ims-ms-daemon to channel ims-ms
    13:43:32.90: - adding address [email protected] to headers.
    13:43:32.90: Copy estimate after address addition is 2
    Expanded address:
    [email protected]
    Submitted address list:
    ims-ms
    user%domain.net@ims-ms-daemon (orig [email protected], inter [email protected], host ims-ms-daemon) NOTIFY-FAILURES NOTIFY-DELAYS
    Submitted notifications list:

  • Mail to a specific domain not being delivered

    We are able to send/receive emails to external domains and everything seems to be fine with our exchange server except when we try to send mails to this one domain @ ju.ahg.com.sa
    Upon troubleshooting further, we came to know this domain doesn't have a valid MX record.
    Yet the mails to this domain get delivered by gmail and other email services.
    If we use the SMTPDIAG tool, below is the output.
    Note that when its done from our domain, it gives error, when done from gmail ...its success!
    How can we fix this issue?
    SmtpDiag.exe "[email protected]" "[email protected]"
    Searching for Exchange external DNS settings.
    Computer name is xxx-exch2010-1.
    VSI 1 has the following external DNS servers:
    There are no external DNS servers configured.
    Checking SOA for ju.ahg.com.sa.
    Checking external DNS servers.
    Checking internal DNS servers.
    SOA serial number match: Passed.
    Checking local domain records.
    Checking MX records using TCP: xxx.com.sa.
    Checking MX records using UDP: xxx.com.sa.
    Both TCP and UDP queries succeeded. Local DNS test passed.
    Checking remote domain records.
    Checking MX records using TCP: ju.ahg.com.sa.
    Warning: The TCP DNS query returned no results.
    Checking MX records using UDP: ju.ahg.com.sa.
    Error: No MX or A records were found for the remote domain. Verify that the
    remote domain is valid. Your firewall allows outbound DNS queries (Windows
    NT/2000 Server requires TCP), and your DNS server can resolve external domains.
    =============================================================================
    SmtpDiag.exe "[email protected]" "[email protected]"
    Searching for Exchange external DNS settings.
    Computer name is xxx-exch2010-1.
    VSI 1 has the following external DNS servers:
    There are no external DNS servers configured.
    Checking SOA for ju.ahg.com.sa.
    Checking external DNS servers.
    Checking internal DNS servers.
    SOA serial number match: Passed.
    Checking local domain records.
    Checking MX records using TCP: gmail.com.
    Checking MX records using UDP: gmail.com.
    Both TCP and UDP queries succeeded. Local DNS test passed.
    Checking remote domain records.
    Checking MX records using TCP: ju.ahg.com.sa.
    Warning: The TCP DNS query returned no results.
    Checking MX records using UDP: ju.ahg.com.sa.
    Checking MX servers listed for [email protected].
    Connecting to mail.ju.ahg.com.sa [78.93.11.251] on port 25.
    Successfully connected to mail.ju.ahg.com.sa.

    You are right, when I looked up using MXTOOLBOX.com ; this domain seems to have a valid MX record, but no valid A record. Would that be the cause?
    Also, I tried through the command line, and it seems my DNS server is unable to resolve, so I am not even getting the MX record.
    I have 2 DNS servers , how can I try these commands to use the other DNS server ;
    as I tried on both servers, It gives the name of the first server only and says it can't find this domain: Non-existent domain.

  • Disabling junk mail filtering for specific domains

    I have a situation where I am getting dozens of messages from individuals all in a specific domain, and all are good messages which I want in my inbox; Mail however thinks they are all junk and moves them to the junk folder. They are NOT brown so I cannot select them and say they are not junk mail, they look like regular email. These are from people I do NOT want in my address book yet they are messages I need to respond to.
    How can I tell the junk mail filter that massages from a given domain should not be filtered? In short, I want just the right-hand-side of the address, the domain component, to be given the OKAY!
    Thanks - Lawrence

    Thanks - I tried the advance tab but could not see how to specify a domain but now I look again I see that there is a way - I think. But Kappy, what you say tells me something I did not know: I thought that filters, rules, et al, were applied when a message is in the inbox - but I have this wrong I think. If I read your reply rightly - the message is examined for junk filters, rules, et al, BEFORE it gets assigned to ANY mailbox! Am I right? This is how your suggestion would work. So I can have an initial rule that simple uses a list of approved domains - and sticks anything from such a domain into the inbox where no more filtering or rule analysis will take place. And the more I think about this, the more it makes sense.
    Thanks - Lawrence

  • Unable to Send Mail to a Specific Domain

    I've searched the forum but found no answers.
    I have a new iMac and a MacBook, both running 10.5.1
    The email settings are identical on both computers (I checked many times over).
    I can send an received mail on the MacBook, but can only receive email on the iMac.
    Well - SOMETIMES, it will send email on the iMac. The majority of the time I get the message where I can select another outgoing email server (I have only 1) - I use the connection test, and everything shows OK. What gives??
    UPDATE:
    After some trial and error - I am finding that I cannot email to people with a certain domain. For example, My ISP is Cox.net (and so is my email) - and I cannot email to myself or anyone @cox.net. I can email out to people with Gmail email address though. I am confused even more now...
    I have no one in my address book. Is it possible that some sort of corruption has occurred related to certain email addresses? If so, how would that be fixed?
    ANOTHER UPDATE:
    I found that if I select "remove from previous recipients list" for my own email address, I was able to send an email to myself.

    On my MacBook (10.5.1) the port setting is in Preferences>Accounts>Advanced. It's grayed out on mine, why I don't know. I migrated settings from my iMac (running Tiger) when I bought it, and haven't tinkered with it at all. My settings also include password authentication. As I said, I've used it at a several airport lounges overseas, without any problems.

  • Configuring SMTP Relay Restrictions

    Hi,
    As i know in Exchange server 2003 For a user or computer to relay e-mail messages through an SMTP virtual server, the following two conditions must be met:
    The user or computer can access the SMTP virtual server. (Connection control)
    The SMTP virtual server is configured to relay e-mail messages to other domains. (Relay restriction)
    my question is: in Exchange 2010 there is only relay restriction, what about connection control? how to manage users or computers who can access the smtp?
    thanks,

    Hi,
    You can create a new Receive Connector and bind the computers that you want to allow relaying in it...
    http://exchangeserverpro.com/how-to-configure-a-relay-connector-for-exchange-server-2010/
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • Is it possible to restrict the ability to e-mail a pdf outside a specific domain name?

    Hello,
    I am trying to find a solution to a friends problem.  She has a quarterly publication that she sends out to big banks and financial institutions.  Recently she has had some problems with press leaks.  I am trying to find some security options for her however the task is difficult. Because these institutions have firewalls I am not sure encrypting or tracking is the right answer because the publication might not make it through. She wants users to be able to print the publication because many of the readers are older and prefer to read during their commute and at home.  Essentially I am looking for any ways to make readers think twice about sharing the information. I thought if I could restrict e-mail to a specific domain name that would help this way users can only e-mail within their specific company.  If any one has any suggestions please feel free to share. 

    Thank you Todd, I was able to get it to work but I do have a few more questions...
    1) When I tested this, at the top of the message, before any of the text I created, this showed up: This is a multi-part message in MIME format. --------------040406040801080102080500 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
    2) After the signature line, this showed up: --------------040406040801080102080500 Content-Type: image/jpeg Content-Transfer-Encoding: base64 Content-ID: /9j/4AAQSkZJRgABAQEAYABgAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAA AAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0K CgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwM DAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAC5ApUDASIAAhEBAxEB/8QA HwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQID AAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6 Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/
    (It was actually much longer than that)
    Is there anyway that I can get that to go away? I obviously would prefer a nice, cleanly formatted e-mail to be sent just like I would send if I were creating it on the spot.
    Thanks,
    Evan

  • Rewrite rules: how to forward all mails to the specific channel?

    I have written an anti-virus plugin using the MTA SDK. Now I want to forward all the incoming messages to the channel, which is 'guarded' by my program (so my program is the channel's master).
    I've added following to the end of imta.cnf, according to MTA SDK example:
    ! kav
    x-kav master_debug logging
    x-kav-daemon
    And at the beginning of imta.cnf:
    avp.ru $U%avp.ru@x-kav-daemon$Nx-kav
    avp.ru $[email protected]
    In this configuration, any incoming mail just miss my channel completely.
    I changed it to this one:
    $* $U%avp.ru@x-kav-daemon$Nx-kav
    <2nd line removed>
    in this case, mail is sent to our channel, but has host part '$*', and the message is failed to enqueue.
    Also, it seems like this reqrite entry conflicts with ours:
    ! Rules to select local users
    $* $A$E$F$U%$H$V$[email protected]
    ultra5.avp.ru $U%$[email protected]
    avp.ru $U%$[email protected]
    As I understand, according to these rules, everything goes to @avp.ru or @ultra5.avp.ru goes to the local delivery channel ultra5.avp.ru. This is not what I want.
    So, the questions are:
    1. How to move all the messages (or just messages. which matched the specific domain) into my channel?
    2. How to configure rewrite rules, so the message can leave the channel after processing, and continue the routing?

    Still doesn't work.
    We've downloaded and installed patch 116568-52, and configured the channels:
    tcp_local aliasdetourhost tcp_scan smtp mx single_sys remotehost inner switchchannel identnonenumeric subdirs 20 maxjobs 7 pool SMTP_POOL maytlsserver maysaslserver saslswitchchannel tcp_auth missingrecipientpolicy 0
    tcp-daemon
    ! tcp_intranet
    tcp_intranet aliasdetourhost tcp_scan smtp mx single_sys subdirs 20 dequeue_removeroute maxjobs 7 pool SMTP_POOL maytlsserver allowswitchchannel saslswitchchannel tcp_auth missingrecipientpolicy 4 tcp_intranet-daemon
    tcp_scan smtp mx single_sys subdirs 20 noreverse maxjobs 7 pool SMTP_POOL dequeue_removeroute
    tcp_scan
    After sending the message, it silently goes to tcp_scan channel, and handled by channel master program. After that the message stays in tcp_scan queue forever, with HELD extension.
    Our channel master enqueues the processed message into the channel where it dequeues it, so the message seems to be looped. Here is the message:
    t;1093881341
    p;3
    *;4
    u;mailsrv
    c;tcp_scan
    s;tcp_scan.ultra5.avp.ru
    n;f
    h;<[email protected]>
    m;[email protected]
    d;20
    j;rfc822
    f;[email protected]
    @tcp_scan:[email protected]
    ..Boundary_(ID_+ko348xG8vRKcadifuDhJg)
    Received: from tcp_scan.ultra5.avp.ru by ultra5.avp.ru
    (Sun Java System Messaging Server 6.1 HotFix 0.01 (built Jun 24 2004))
    id <[email protected]> for [email protected] (ORCPT [email protected]
    30 Aug 2004 19:55:41 +0400 (MSD)
    Received: from tcp_scan.ultra5.avp.ru by ultra5.avp.ru
    (Sun Java System Messaging Server 6.1 HotFix 0.01 (built Jun 24 2004))
    id <[email protected]> for [email protected] (ORCPT [email protected]
    30 Aug 2004 19:55:41 +0400 (MSD)
    Received: from tcp_scan.ultra5.avp.ru by ultra5.avp.ru
    (Sun Java System Messaging Server 6.1 HotFix 0.01 (built Jun 24 2004))
    id <[email protected]> for [email protected] (ORCPT [email protected]
    30 Aug 2004 19:55:41 +0400 (MSD)
    Received: from tcp_scan.ultra5.avp.ru by ultra5.avp.ru
    (Sun Java System Messaging Server 6.1 HotFix 0.01 (built Jun 24 2004))
    id <[email protected]> for [email protected] (ORCPT [email protected]
    30 Aug 2004 19:55:41 +0400 (MSD)
    Received: from tcp_scan.ultra5.avp.ru by ultra5.avp.ru
    (Sun Java System Messaging Server 6.1 HotFix 0.01 (built Jun 24 2004))
    id <[email protected]> for [email protected] (ORCPT [email protected]
    30 Aug 2004 19:55:40 +0400 (MSD)
    Received: from tcp_scan.ultra5.avp.ru by ultra5.avp.ru
    (Sun Java System Messaging Server 6.1 HotFix 0.01 (built Jun 24 2004))
    id <[email protected]> for [email protected] (ORCPT [email protected]
    30 Aug 2004 19:55:40 +0400 (MSD)
    Received: from tcp_scan.ultra5.avp.ru by ultra5.avp.ru
    (Sun Java System Messaging Server 6.1 HotFix 0.01 (built Jun 24 2004))
    id <[email protected]> for [email protected] (ORCPT [email protected]
    30 Aug 2004 19:55:40 +0400 (MSD)
    Received: from tcp_scan.ultra5.avp.ru by ultra5.avp.ru
    (Sun Java System Messaging Server 6.1 HotFix 0.01 (built Jun 24 2004))
    id <[email protected]> for [email protected] (ORCPT [email protected]
    30 Aug 2004 19:55:40 +0400 (MSD)
    Received: from tcp_scan.ultra5.avp.ru by ultra5.avp.ru
    (Sun Java System Messaging Server 6.1 HotFix 0.01 (built Jun 24 2004))
    id <[email protected]> for [email protected] (ORCPT [email protected]
    30 Aug 2004 19:55:40 +0400 (MSD)
    Received: from tcp_scan.ultra5.avp.ru by ultra5.avp.ru
    (Sun Java System Messaging Server 6.1 HotFix 0.01 (built Jun 24 2004))
    id <[email protected]> for [email protected] (ORCPT [email protected]
    30 Aug 2004 19:55:40 +0400 (MSD)
    Received: from tcp_scan.ultra5.avp.ru by ultra5.avp.ru
    (Sun Java System Messaging Server 6.1 HotFix 0.01 (built Jun 24 2004))
    id <[email protected]> for [email protected] (ORCPT [email protected]
    30 Aug 2004 19:55:40 +0400 (MSD)
    Received: from localhost.localdomain ([172.16.0.35])
    by ultra5.avp.ru (Sun Java System Messaging Server 6.1 HotFix 0.01 (bu
    24 2004)) with ESMTP id <[email protected]> for test@avp.
    (ORCPT [email protected]); Mon, 30 Aug 2004 19:55:39 +0400 (MSD)
    Content-return: allowed
    Date: Mon, 30 Aug 2004 19:55:39 +0400 (MSD)
    Date-warning: Date header was inserted by ultra5.avp.ru
    From: [email protected]
    Subject: sent on Mon Aug 30 19:58:29 2004
    To: Undisclosed recipients: ;
    Message-id: <[email protected]>
    ..Boundary_(ID_+ko348xG8vRKcadifuDhJg)
    How to avoid this loop? Should our master enqueue the processed messages into another channel? If yes, what channel should we enqueue to? If no, how to avoid this loop?

  • How do I configure Server 3.0 to deliver "undeliverable" mail to a specific "catchall email address?

    How do I configure Server 3.0 to deliver "undeliverable" mail to a specific "catchall email address?
    I had this working in Server 2.0  dunno why it doesn't now, but I can't find the config.

    It's fairly straight forward and there is a GUI option to help you.
    In the Server app, go to Users. Select the User you want to create email aliases for. Right click, or hold down Shift-Ctrl and click on the name. Select 'Advanced Options...' from the menu. You can then enter as many aliases as you want in the 'Aliases'.
    For example: [email protected], @xyz.co.uk, [email protected]
    My example is overkill as I only really needed to add '@xyz.co.uk' as a catch all get everything sent to that domain delivered to that users email address.

  • Mail users have spam sent to their secondary SMTP addresses forwarded to their personal e-mail addresses- Exchange 2010

    We currently have a spam issue relating to the secondary SMTP e-mail addresses of all our Mail Users.
    Example: Peter Smith has an AD account on our company.com domain and an associated external e-mail address ([email protected]) i.e. he has an AD account ([email protected]) with Mail User Exchange attributes so that he can logon
    to our SharePoint server. However, this AD account also becomes a fully functional secondary SMTP address and all spam sent to [email protected] also gets forwarded to [email protected]
    To mitigate this issue, I have added this secondary e-mail address to the "Recipient filtering properties > Block messages sent to the following recipients" in Hub Transport/Anti Spam.
    Two questions:
    1. Is there an easy way to delete the secondary SMTP addresses of mail users? I was unable to (it just reappeared shortly after deletion)
    2. What is the PS command to export a list of all secondary SMTP e-mail addresses OF MAIL USERS and then adding this list to "Recipient filtering properties > Block messages sent to the following recipients". I could manually add them
    in EMC but there are quite a few of them...
    Many thanks for your help!

    Now that I understand what's happening, let me see if we can get a more accurate solution for you.  So your mail users (Exchange calls them mail-enabled users, as opposed to mailbox enabled users, who have mailboxes) have SharePoint access (with the
    @company.com address), but have actual mailboxes externally (the actual end-domain is inconsequential).  You want users of these systems to stop receiving emails on the company.com namespace, but to receive them from only your SharePoint system. 
    A "textual diagram" is below:
    SharePoint (to Exchange mailbox owner) ==> Exchange hub (using company.com) ==> Exchange mailbox
    SharePoint (to External mail user) ==> Exchange hub (using company.com) ==> Exchange mail contact ==> External system (using external SMTP address
    External Messaging system (to External mail user, using company.com address used by SharePoint) ==> Exchange hub =XX=> Block delivery
    You wish to stop the third of these from happening.  If your SharePoint system used non-routable addresses (such as company.local) and all of your mail users had only these addresses added to their accounts for internal mail precossing (as the
    internal name used by Exchange), this would solve your issue.  The question becomes how to deploy this sort of address. 
    If these are the ONLY mail contacts in your organization, the solution is simple - you almost had it above, but may have missed seeing it.  Policies are applied on a priority basis, with the default policy applying only if no others apply.  Since
    these accounts are considered "Contacts with external e-mail addresses", you can create a policy for your entire organization that handles only these accounts.  You don't need to apply it to a single OU, if your mail enabled accounts aren't
    in a single OU.  (If they are, of course, feel free to apply it only there.)  You can create the policy and apply it to the organization, but only to those objects that are "Contacts with external e-mail addresses".  That way, it won't
    affect any of your Exchange mailboxes (current or future).
    Does this help?
    (BTW, one minor correction - your third statement about mail contacts is incorrect - Exchange sees no major difference between mail contacts and mail enabled accounts - and in my experience they are both addressable by the internal address.)

  • How many ways we can configure SMTP Mail server on windows to get CCP mails

    Hello IAC's,
    I have configured SMTP server and teleneted  in CCP server and also I'm receving mails too when I submit the orders.
    I wondered with an update given by my  friend that he is using pmail server for SMTP mails.
    Can any one suggest me in how many ways we can enable the SMTP server.. on windows..??
    Thanks,
    Noor.

    Hi
    if i use String provider = "imap"; then it shows the following error message..
    javax.mail.MessagingException: Connection refused: connect
    at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:479)
    at javax.mail.Service.connect(Service.java:275)
    at javax.mail.Service.connect(Service.java:156)
    at javamail.AllPartsClient.main(AllPartsClient.java:39)
    Caused by: java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
    at java.net.Socket.connect(Socket.java:507)
    at java.net.Socket.connect(Socket.java:457)
    at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
    at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
    at com.sun.mail.iap.Protocol.<init>(Protocol.java:84)
    at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:87)
    at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:446)
    ... 3 more
    pls any one give idea

  • Steps to configure smtp mail for a BI system

    Hi,
    Can anyone please give me steps to configure smtp mail for a BI system.
    Thank you,
    sam

    Hi,
    Hope this note is helpful.
    455140     Configuration E-mail, fax, paging/SMS via SMTP.
    Thanks,
    Tanuj

  • TS3276 bonjour, je n'arrive pas à envoyer des messages à partir de Mail alors que je peux les recevoir de mon compte free. Le serveur d'envoi me semble bien configuré (smtp.free.fr) mais le serveur refuse mon mot de passe alors qu'à partir d'un pc je n'ai

    Bonjour,
    je n'arrive pas à envoyer de mail avec MAIL alors que je les reçois sans problème: à chaque fois mon mot de passe d'envoi est refusé.
    Je n'ai aucun problème sous windows, le serveur smtp est bien configuré (smtp.free.fr)
    Avez vous la solution?

    Bonjour Julie,
    As tu essayé de te connecter à ton serveur ftp depuis un navigateur internet? Cela te permet de vérifier qu'il fonctionne bien.
    As tu essayé tes fonctions FTP depuis un PC?
    Pour ma part ce bout de code fonctionne sur un cRIO:
    Rodéric L
    Certified LabVIEW Architect

  • Forward mail to specific email id without remove attachment - Exchange 2010

    Hi,
    How can I forward mail to another email id without attachment or by removing attachment. in Exchange 2010
    i.e the another email only includes message body and subject not the attachment file.
    is it possible.
    Thanks,

    Hi,
    Based on the description, you want to remove attachments from email when you forward to another user. Per my knowledge, there is no way to meet this requirement. Here is an article about attachment inspection in transport rule for your reference.
    Introducing Attachment Inspection in Transport Rules
    http://blogs.technet.com/b/exchange/archive/2009/05/11/3407435.aspx
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • How to configure SMTP for iCloud?

    I have never used the Mail program on my macs. I started using Eudora in 1995 and when Mail came along some years later, i didn't take to it, it didn't have the functionality i needed and enjoyed. Fast forward to a couple days ago, my Snow Leopard MacBook is wearing out and i got a new MacBook Pro running Mountain Lion.  When i was setting up the new computer, i thought iCloud would be configured automatically. It wasn't because i have a couple of different Apple IDs but i think that is straightened out now and i'm signed in using the me.com email address and have my calendars and contacts syncing with iphone and my other computer. Mail is working, but only for my me.com email address which i rarely use.  I mainly use a gmail address.
    I don't want to use Mail and i don't want mail to be downloaded to it.  That happened on my other computur, so that i had tens of thousands of messages in a program i never open and don't use. So i somehow turned it off so it no longer gets the mail from my other accounts.  i don't want to receive email in Mail. But because i can't use Eudora in Mountain Lion, i need a new email client. Today, i downloaded and installed Mail Mate, i want to try it out.  When I tried to use Mail mate to send an email i got a message saying "No SMTP server configured for iCloud." i googled how to configure SMTP for iCloud and what i found said it configures automatically. So i don't know what to do. I went to ICloud in system preferences and i don't see anything i can do there. 
    Is there anything i can get it to do to configure automatically?   All my software is up to date, if that makes a difference.

    i was persistently googling search terms for this problem and came across a link that gave information to the effect that for non Apple email clients, SMTP has to be configured manually, and the settings were provided. I entered them into Mail Mate and now it works.  So thankfully, this problem is solved.

Maybe you are looking for