SMTP Relay denied

Hi All,
Im trying to setup mail on snow leopard server version 10.6.2 At the moment it is using IMAP and SMTP.
From a users account i can send emails fine. However when trying to receive emails the sender receives the following error:
Recipient address: [email protected]
Reason: Remote SMTP server has rejected address
Diagnostic code: smtp;554 5.7.1 <[email protected]>: Relay access denied
Remote system: dns; domain.co.uk (TCP|17.148.16.98|59847|86.153.209.12|25) (Server name.local ESMTP Postfix)
Original-recipient: rfc822;[email protected]
Final-recipient: rfc822;[email protected]
Action: failed
Status: 5.7.1 (Remote SMTP server has rejected address)
Remote-MTA: dns;domain.co.uk
(TCP|17.148.16.98|59847|86.153.209.12|25)
(CoopNetworks-Dev.local ESMTP Postfix)
Diagnostic-code: smtp;554 5.7.1 <[email protected]>: Relay
access denied
Now i don't have any relays setup or so i believe. Relay outgoing messages is not ticked. Under the relay tab none of the three boxes are ticked either.
Im at a bit of a loss now. Any help is really appreciated.

The reason we are on a dynamic IP is for mail to be tested. Once tested it will be moved onto a static IP. However until the Ip is renewed we Shouldn't have a problem. If this is to cause an issue with setup i can put the server on a Global static IP.
No i agree i don't own the domain name. Again though once working this will be applied to a domain we do own.
You could be on to something with DYNDNS refusing connection:
(Remote SMTP server has rejected address)
Remote-MTA: dns;mailgate.dynalias.net (TCP|17.148.16.90|54724|86.153.209.12|25)
(Development.local ESMTP Postfix)
Diagnostic-code: smtp;554 5.7.1 <[email protected]>: Relay
access denied
Relay access is denied to our SMTP server. However we see the hostname of our server development.local - but would DYN DNS know this?
Yes DYN DNS does support MX records.
Off subject - However i haven't got the foggiest of how you would configure this. Would more than likely be the issue. I believe it has to point to the A record? which would be the IP address that mailgate.dyndns.net is on. However a MX record has to be a hostname so would it be mailgate.dyndns.net?

Similar Messages

  • Smtp; 551 5.7.1 relaying denied - new secondary domain does not receive email from internet

    Exchange 2007 smpt error "smtp; 551 5.7.1 relaying denied" Inbound email sender gets this error when trying to send to secondary domain. This is a single server exchange setup.
    Here is what we have done:
    #1 We have added a new policy for the new domain and also added the new domain to my default policy. ( Result are the same whether it is in the default policy or not)
    #2 I also set the new domain as Accepted domain and as Authoritative.
    #3 The mailbox I am sending to has the new domain email address and the address follows the selected conventions in the policy. 
    #4 I have the mx record in dns and verified that using the online MXToolbox.
    #5 I can telnet to the new domain mx record on port 25 and the smtp banner comes up as expected. The result and banner are the same when telneting to the primary domain.
    If I send from my primary exchange domain to the new domain the mail goes through. When I reply back it also works.
    What setting am i missing here? I need to get Exchange 2007 to accept inbound email from the internet.
    Thx
    Scot

    Hi Scot,
    In addition to Rich's suggestion, I would like to clarify the following thing:
    If you have a relay, please ensure that you add the secondary domain to mail relay server.
    What's more, here is a thread for your reference.
    external senders 550 5.7.1 relaying denied
    http://social.technet.microsoft.com/Forums/exchange/en-US/416ed3e3-a346-4794-ba2a-c53086f704b0/external-senders-550-571-relaying-denied-exchange-2010?forum=exchangesvrsecuremessaginglegacy
    Hope it helps.
    If there are any problems, please feel free to let me know.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • BizTalk SMTP Relay Issue

    We go to send mail via SMTP from all of servers, we are only able to send mail to @Dell.com addresses only.(same network)
    We would not able to send to all address (like an @Microsoft.com or an @csc.com address)
    I am able to send an email to all address through dot net application but not Biztalk
    Please share your thoughts how to resolve the issue 

    I hope your .Net Application sending e-mail is NOT OUTLOOK? :D
    From the BizTalk Server can you do an interactive SMTP session with the SMTP server and check if relay is permitted? If you get relay denied then very clearly the SMTP Server configuration requires modification. (the responses from the SMTP server are in
    BOLD)
    > telnet <your smtp server name/ip> 25
    220 <your SMTP Server name> Microsoft ESMTP MAIL Service, Version: 7.5.7601.17514
    ready at  Fri, 6 Mar 2015 11:45:03 +0530
    HELO <your BizTalk Server FQDN>
    250 <your BizTalk Server FQDN> Hello [<ip of your BizTalk Server>]
    mail from: <some-email-address>@dell.com
    250 2.1.0 <some-e-mail-address>@dell.com....Sender OK
    rcpt to: <[email protected]>
    What is the response? do you get "250 2.1.5 <[email protected]>" or "relay denied".
    Either way you should get someone who know mail & messaging involved to help to ensure that it is not a SMTP issue.
    I agree with Ashwin on this NOT being a BizTalk related issue.
    Regards.

  • Relay denied exception!! Why can i do the same with sendmail???

    Hi,
    Everytime I try to send email from my code, I get the following exception:
    class javax.mail.SendFailedException: 550 5.7.1 <[email protected]>... Relaying denied
    But if I try to use sendmail and send email to the same address with the same SMTP host, it will work!
    So, r there some parameters that i need to set, or some settings that I missed in order for this to work?
    My local SMTP does not need auth. and the code works fine for any mail sent to the internal mail box.
    Please advise.
    Thank you.

    Many mail servers are configured to prevent mail from being sent if the originating email address is not in the domain.... other wise they have to authenticate before being allow to be sent.
    You might want to look into this as a possible solution....
    Transport tx = session.getTransport("smtp");
    tx.connect(host, username, password);
    tx.sendMessage(msg, msg.getAllRecipients());
    -Dave

  • Relaying denied,on a multiple domain server

    For legacy reason, we set up our Groupwsie with 2 domain, the old one and the new one. Groupwise accept email from both old and new adresses. The "default" domain is the new one, and outgoing emails are sent using the new domain.
    When we try to use an internal multifonction printer that allow send-to-email, when we use the new addresses as destination, it says "Relaying denied", but it works using the old addresses.
    It's not going thru any anti-spam, which only protect from the internet.
    On the internal DNS, both domains are configured and point to the same server. Ex: groupwise.cegepgim.ca and groupwise.cgaspesie.qc.ca
    Both domains have entries on the DNS as MX, with different priorities
    Any idea why?

    On 13.10.2011 11:36, crioux wrote:
    >
    > For legacy reason, we set up our Groupwsie with 2 domain, the old one
    > and the new one. Groupwise accept email from both old and new adresses.
    > When we try to use an internal multifonction printer that allow
    > send-to-email, when we use the new addresses as destination, it says
    > "Relaying denied", but it works using the old addresses.
    That makes no sense I'm afraid. Either your GWIA accepts mails to the
    new domain, or it doesn't. There is *zero* difference between every
    other internet mail (which you say works), and mail coming from your
    printer. It's indistinguishible for the GWIA.
    That said, and considering you *do* have another frontend server
    forwarding internet mail to your GWIA, whereas for the printer, GWIA
    receives directly, the only explanation I can come up with is that your
    GWIA does *not* know the new domain, but your relay host in front of it
    modifies all incoming mail and sent it to the old domain in reality in
    the SMTP "rcpt to" command.
    CU,
    Massimo Rosen
    Novell Knowledge Partner
    No emails please!
    http://www.cfc-it.de

  • Relaying denied error

    I was sending messages to my client just fine for the last few weeks. Then all of a sudden I send her an email and get this reply:
    Recipient address: (left blank for confidentiality)
    Reason: Remote SMTP server has rejected address
    Diagnostic code: smtp;550 5.7.1 <(left blank for confidentiality)>... Relaying denied: You must check for new mail before sending mail.
    What should I do about this?
    Thanks!

    This is not an Oracle error. Basically, something is preventing outbound email from the database server. Might be a server setting, might be a firewall, or something else altogether. You need to talk to your system or network adminsitrator, or whoever administers email in your organisation.
    Cheers, APC

  • Smtp relaying error - all of a sudden

    In the last week or so, Apple Mail.app has started throwing a "relaying denied" message for mail outbound through smtp-server.nyc.rr.com.
    I am not in fact relaying -- this is the smtp server specified (no password) for my own ISP. And nothing about my Mail settings has changed since this began happening. However, and this may be a hint, I think Mail.app may have been updated by an Apple security update during this period.
    Oddly, choosing "try later" (which saves it to the outbox) and then opening it again and sending it again *always succeeds.* This is an error that's thrown only the first time "send" is hit.
    Any ideas? Thanks in advance.
    Mac Mini   Mac OS X (10.4.8)  

    It might be an authentication issue. Some SMTP servers will only accept mail if there has been an authenticated POP connection from your IP address within the last 15-20 minutes. Maybe they have changed their timeout.
    AK

  • 10.3.9 - Mobile Users Authenticating for SMTP Relay.

    I hope I get my thoughts together and this question comes out right.
    I have a small shop, where most of my users are in-house. They're using Entourage clients, and my couple of PC folks are using Outlook 2003. From in-house, everyone works just fine. Relay filters are setup to allow people inside the network to send fine. I have 127.0.0.1/32 and 192.168.1.1/32 in the Mail/Settings/Filters/SMTP Relay settings.
    However, I have a couple of mobile users, the Director being one of them, who want/need to send email when outside of the office, or from a mobile device, like their Treo.
    What I'm running into is that my mobile users are having authentication issues when trying to send email while outside the office. Even when they indicate they need to authenticate SMTP from their client, I get different issues with different users.
    The Director's Treo, using Versamail, recieves email normally via IMAP. However, when sending, even though she's set to ESMTP Authentication, I get a 502 error. Without ESMTP Authentication turned on, I get a relay error.
    Mail/Settings/Advanced has LOGIN and Plain checked for SMTP Authentication, and IMAP has LOGIN, Plain and Clear checked, while POP has APOP and Clear slected.
    I'm at a loss for how to proceed with correcting this issue to allow mobile users to authenticate reliably from where ever they are. Can someone provide me some straightforward guidence on how this should be correctly configured?
    Thanks.
    PowerBook G4 17   Mac OS X (10.4.9)   1.5G RAM

    Thanks for the response.
    I've seen the posts about adding alternate ports, but it doesn't seem to matter what the ISP source is, they get Relay denied messages and our mailer shows the denial traffic.
    There are additional relay exceptions in this, but here is the postconf file you requested:
    always_bcc =
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/libexec/postfix
    debugpeerlevel = 2
    enableserveroptions = yes
    inet_interfaces = all
    luser_relay =
    mail_owner = postfix
    mailbox_transport = cyrus
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    mapsrbldomains = sbl-xbl.spamhaus.org,bl.spamcop.net
    messagesizelimit = 15728640
    mydestination = $myhostname,localhost.$mydomain,kemperart.org
    mydomain_fallback = localhost
    myhostname = mail.kemperart.org
    mynetworks = 127.0.0.1/32,192.168.200.99/32,192.168.200.1/32,rr.com,68.25.136.123/32
    mynetworks_style = host
    newaliases_path = /usr/bin/newaliases
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    relayhost =
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = postdrop
    smtpdclientrestrictions = rejectmapsrbl
    smtpdenforcetls = no
    smtpdpw_server_securityoptions = plain,login,cram-md5
    smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
    smtpdsasl_authenable = yes
    smtpdtls_certfile = /etc/postfix/server.pem
    smtpdtlsloglevel = 0
    smtpduse_pwserver = yes
    smtpdusetls = no
    unknownlocal_recipient_rejectcode = 450
    Remember, be gentle, while I'm able to get around the Terminal Window, I am, by no means, an expert.
    Thanks again!
    PowerBook G4 17   Mac OS X (10.4.9)   1.5G RAM

  • Forward exchange 2003 Relaying denied

    Hi, I've tried to do the following steps
    Forward exchange 2003 email to external account such as hotmail, yahoo, gmail
    Simple step by step instructions to forward an exchange email to external email:
    Step 1. Create new contact with external email address 
    1. On your exchange server, open active directory users and computers.
    2. Right click users OU, point to new and click on contact.
    3. Type the fill the user's information (first/last name) and click next.
    4. Click modify and choose SMPT address. 
    4. Type the external email address and click ok and than click finish.
    Step 2. Forward the internal email to the external email
    Contact you created in step 1 will send the emails to the specify email address. All you need to now is to forward the exchange account emails to the contact. You can forward the emails or forward and leave a copy on the server for the local account.
    1. On your exchange server, open active directory users and computers.
    2. Select the AD user account, right click and click on properties or double click the account.
    3. Click on Exchange General and than click on Delivery options.
    4. Check off forward to, and click on Modify. 
    5. Find and select Contact account created on step 1.
    6. Check off "Deliver message to both forwarding address and mailbox".
    7. Click OK. Done.
    But I've receive this mail while test it
    This is an automatically generated Delivery Status Notification.
    Delivery to the following recipients failed.
    Final-Recipient:
    Action: failed
    Status: 5.5.0
    Diagnostic-Code: smtp;550 Recipient address rejected: Relaying denied
    X-Display-Name: TecHeader

    Hi Aviran,
    I have had this problem before and found that the Outlook cache was the issue. might be worth trying this: http://support.microsoft.com/kb/287623
    Hope that helps,
    Shelly

  • Relaying denied

    I am trying to set up my e-mail account in Entourage. I have confirmed that my outgoing and incoming mail server addresses are correct but I receive the error message "relaying denied" Any clues?

    Is this email account and SMTP server provided by your ISP used for connecting to the internet?

  • Messaging Server 7.3 - Relaying Denied with tcp_intranet channel

    Hi for everybody,
    I have implemented the Messaging Server 7.3-11.1.
    With Convergence sending and receiving mail works perfectly.
    The problem arises when using another mail client (Thunderbird). I added the internal IP's in the Mappings table (INTERNAL_IP) and the logs can be seen that the entry of mail is sent to the tcp_intranet channel if not used authentication and tcp_auth when using the plain login.
    Thus sending emails to the ims-ms queue (internal) work perfectly BUT when sending mail out the server replies with "Relaying Denied."
    I guess it's a problem with the mappings table but have not found anything wrong.
    imta.cnf----------------------
    ! Rules to select local users
    $* $A$E$F$U%[email protected]
    mailserver.base.pro $U%[email protected]
    base.cat $U%[email protected]
    ! ims-ms
    .ims-ms-daemon $U%$H.ims-ms-daemon@ims-ms-daemon
    ! lmtp
    !.lmtp $E$F$U%$H.lmtp@lmtpcs-daemon
    !.lmtp $B$F$U%$H@$H@lmtpcs-daemon
    ! native
    .native-daemon $U%$H.native-daemon@native-daemon
    ! pipe
    .pipe-daemon $U%$H.pipe-daemon@pipe-daemon
    ! tcp_local
    ! Rules for top level internet domains
    <IMTA_TABLE:internet.rules
    ! tcp_intranet
    ! Do mapping lookup for internal IP addresses
    [] $E$R${INTERNAL_IP,$L}$U%[$L]@tcp_intranet-daemon
    .base.cat $U%$H.base.cat@tcp_intranet-daemon
    * $U%$&0.base.cat
    ! part II : channel blocks
    defaults notices 1 2 4 7 noswitchchannel immnonurgent maxjobs 7 defaulthost base.cat base.cat logging
    ! delivery channel to local /var/mail store
    l viaaliasrequired
    mailserver.base.pro
    ! ims-ms
    ims-ms defragment notices 1 7 14 21 28 backoff "pt5m" "pt10m" "pt30m" "pt1h" "pt2h" "pt4h" maxjobs 2 pool IMS_POOL fileinto $U+$S@$D
    ims-ms-daemon
    ! native
    native defragment maxjobs 1
    native-daemon
    ! pipe
    pipe single defragment
    pipe-daemon
    ! tcp_local
    tcp_local smtp mx single_sys remotehost inner switchchannel identnonenumeric pool SMTP_POOL maytlsserver maysaslserver saslswitchchannel tcp_auth loopcheck
    tcp-daemon
    ! tcp_intranet
    tcp_intranet smtp mx single_sys dequeue_removeroute pool SMTP_POOL maytlsserver allowswitchchannel maysaslserver saslswitchchannel tcp_auth loopcheck
    tcp_intranet-daemon
    ! tcp_submit
    tcp_submit submit smtp mustsaslserver saslswitchchannel tcp_submit maytlsserver
    tcp_submit-daemon
    ! tcp_auth
    tcp_auth smtp mustsaslserver
    tcp_auth-daemon
    ! tcp_tas
    tcp_tas smtp allowswitchchannel mustsaslserver maytlsserver deliveryflags 2
    tcp_tas-daemon
    ! tcp_lmtpss (LMTP server - store)
    !tcp_lmtpss lmtp flagtransfer identnonenumeric
    !tcp_lmtpss-daemonMAPPINGS TABLE
    FROM_ACCESS
    ! Entries to block certain submissions normally would be inserted here,
    ! above the ntended-to-be-final entries that while permitting submission,
    ! merely disable any potential "vacation" effect.
    ! The following entries disable Sieve "vacation" action on lists sorts
    ! of addresses, as recommended by the Sieve "vacation" extension draft.
       *|SMTP*|*|*|MAILER-DAEMON@*|*    $!$Y
       *|SMTP*|*|*|LISTSERVE*@|*        $!$Y
       *|SMTP*|*|*|majordomo@*|*        $!$Y
       *|SMTP*|*|*|*-request@*|*        $!$Y
       *|SMTP*|*|*|*-owner@*|*          $!$Y
       *|SMTP*|*|*|owner-*@*|*          $!$Y
    PORT_ACCESS
      *|*|*|*|*  $C$|INTERNAL_IP;$3|$Y$E
      *  $YEXTERNAL
    INTERNAL_IP
      $(192.168.125.50/16)  $Y
      127.0.0.1  $Y
      *  $N
    ORIG_SEND_ACCESS
      tcp_local|*|tcp_local|*  $N$D30|Relaying$ not$ allowed
      tcp_*|*|native|*  $N
      tcp_*|*|hold|*  $N
      tcp_*|*|pipe|*  $N
      tcp_*|*|ims-ms|*  $N
      tcp_*|*|tcp_lmtpcs*|*  $N
    ! Block "external" submissions of explicitly source-routed "internal" addresses
      tcp_local|*|tcp_intranet|@*:*.*   $N$D30|Explicit$ routing$ not$ allowed
      tcp_local|*|tcp_intranet|*$%*@*   $N$D30|Explicit$ routing$ not$ allowed
      tcp_local|*|tcp_intranet|*.*!*@*  $N$D30|Explicit$ routing$ not$ allowed
      tcp_local|*|tcp_intranet|"*@*"@*  $N$D30|Explicit$ routing$ not$ allowed
    SEND_ACCESS
      tcp_*|*|*|*@[127.*]  $X5.1.2|$NBad$ destination$ system
      tcp_*|*|*|*@localhost.*  $X5.1.2|$NBad$ destination$ system
      tcp_*|*|*|*@example.com  $X5.1.2|$NBad$ destination$ system
      tcp_*|*|*|*@example.net  $X5.1.2|$NBad$ destination$ system
      tcp_*|*|*|*@example.org  $X5.1.2|$NBad$ destination$ system
      tcp_*|*|*|*@*.test  $X5.1.2|$NBad$ destination$ system
      tcp_*|*|*|*@*.example  $X5.1.2|$NBad$ destination$ system
      tcp_*|*|*|*@*.invalid  $X5.1.2|$NBad$ destination$ systemThanks for any reply and for your time,
    David Garcia O.

    Ok, thanks for the help.
    If the system does not work perfectly our customers will not buy a support license.
    So if anyone has a similar problem and found the solution or can provide some idea ... would be great
    Regards,
    David Garcia O.
    tcp_local_slave log attached:
    08:40:16.02: Debug output enabled, program version V7.3 compiled Sep  1 2009 20:03:21
    08:40:16.02: Sun Java(tm) System Messaging Server shared library version 7.3-11.01 linked 19:54:45, Sep  1 2009
    08:40:16.02: SMTP server initiated on socket 6
    08:40:16.02: Received connection from @[unknown] [192.168.119.204]
    08:40:16.02: Transport/application information for connection: TCP|192.168.125.50|25|192.168.119.204|1571 SMTP
    08:40:16.02: Applying PORT_ACCESS mapping to "TCP|192.168.125.50|25|192.168.119.204|1571"
    08:40:16.02: PORT_ACCESS result:
    08:40:16.02: Ruleset:
    08:40:16.02: Realm:
    08:40:16.02: Sending    : "220 mailserver.base.pro -- Server ESMTP (Sun Java(tm) System Messaging Server 7.3-11.01 64bit (built Sep  1 2009))"
    08:40:16.02: Session/transaction timer check
    08:40:16.07: Received   : "EHLO [192.168.119.204]"
    08:40:16.07: Remote host IDENT information: [unknown] [192.168.119.204]
    08:40:16.07: Attempting channel switch: Rewriting "user@[192.168.119.204]"
    08:40:16.07:   Rewrite succeeded, matched channel tcp_intranet
    08:40:16.07:   Rewrite/switch succeeded, switched to channel: tcp_intranet
    08:40:16.07: Creating SASL context for service "smtp" and ruleset ""
    08:40:16.07: SASL context creation returned status = 0
    08:40:16.07: Sending    : "250-mailserver.base.pro"
    08:40:16.07: Sending    : "250-8BITMIME"
    08:40:16.07: Sending    : "250-PIPELINING"
    08:40:16.07: Sending    : "250-CHUNKING"
    08:40:16.07: Sending    : "250-DSN"
    08:40:16.07: Sending    : "250-ENHANCEDSTATUSCODES"
    08:40:16.07: Sending    : "250-EXPN"
    08:40:16.07: Sending    : "250-HELP"
    08:40:16.07: Sending    : "250-XADR"
    08:40:16.07: Sending    : "250-XSTA"
    08:40:16.07: Sending    : "250-XCIR"
    08:40:16.07: Sending    : "250-XGEN"
    08:40:16.07: Sending    : "250-XLOOP C7763B251B514B515FF391A3E31687D0"
    08:40:16.07: Listing available SASL mechanisms
    08:40:16.07: SASL mechanism list status = 0
    08:40:16.07: Sending    : "250-AUTH PLAIN LOGIN"
    08:40:16.07: Sending    : "250-AUTH=LOGIN PLAIN"
    08:40:16.07: Sending    : "250-ETRN"
    08:40:16.07: Sending    : "250-NO-SOLICITING"
    08:40:16.07: Sending    : "250 SIZE 0"
    08:40:16.16: Received   : "AUTH PLAIN AGpmdWVudGVzAGpmdWVudGVz"
    08:40:16.16: Attempting channel switch to: tcp_auth
    08:40:16.16: Channel switch successful
    08:40:16.16: Sending    : "235 2.7.0 PLAIN authentication successful.
    08:40:16.27: Received   : "MAIL FROM:<[email protected]>"
    08:40:16.27: Debug output enabled, system mailserver.base.pro, process 0a8a.7c, message enqueue routines version V7.3 compiled Sep  1 2009 19:55:02
    08:40:16.27: Sending    : "250 2.5.0 Address Ok."
    08:40:18.21: Received   : "QUIT"
    08:40:18.21: Sending    : "221 2.3.0 Bye received. Goodbye."
    08:40:18.21: Shutting down SASL server context
    08:40:18.21: smtpc_enqueue returning a status of 9 (OK)
    08:40:18.21: pmt_close: [6] status 0
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Cannot get db mail to work via SMTP Relay for Office 365 in SQL Server 2014 on Windows Server 2012 R2

    Our company recently moved to Office 365 which mean our on premise exchange server went away as well with the move.  I am trying to configure my new sql server (OS-Windows Server 2012 R2, DBMS- SQL 2014 Std Edtion).  After some searching I found
    this article (http://blogs.technet.com/b/meamcs/archive/2013/02/25/how-to-configure-sql-database-mail-so-send-emails-using-office-365-exchange-online-a-walkthrough.aspx) and have followed these steps exactly, but to no avail.  I did some further research
    on the SMTP relay I setup and found a way to test it (listed here http://technet.microsoft.com/en-us/library/dn592151(v=exchg.150).aspx at the bottom of the article).  If I drop the email.txt file in the pickup folder, it gets sent out no problem.
     I have configured my db email exactly as describe here(http://blogs.technet.com/b/meamcs/archive/2013/02/25/how-to-configure-sql-database-mail-so-send-emails-using-office-365-exchange-online-a-walkthrough.aspx).  But keep getting an unable to connect
    to SMTP server error.  I have even tried completely shutting down firewall to see if that is the issue and multiple restarts.  Any ideas how to get this to work on Office 365?
    DB Mail error log:
    Date 6/10/2014 10:28:41 PM
    Log Database Mail (Database Mail Log)
    Log ID 46
    Process ID 2196
    Mail Item ID 19
    Last Modified 6/10/2014 10:28:41 PM
    Last Modified By xx
    Message
    The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 2 (2014-06-10T22:28:41). Exception Message: Cannot send mails to mail server. (Failure sending mail.).

    Hi,
    I followed this blog and got the below error message in the Database Mail Log.
    “The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 2 (2014-06-11T19:34:00). Exception Message: Cannot send mails to mail server. (Mailbox unavailable. The server response was: 5.7.1 Unable to relay
    for [email protected]).”
    If you are getting the same error message, you can try the below steps to resolve the issue.
    1. Open the IIS 6.0 management console. Right click on the SMTP server and open the properties window.
    2. Click on the Access tab, click Relay button under Relay restrictions. loopback IP address (i.e 127.0.0.1).
    Then the email should be sent out from Database Mail without problem.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • How to use multiple mail sending address in SMTP relay for exchange online

    We have one SMTP relay configured with [email protected] credentials. one oracle application automatically shoots mail to users using this [email protected] to users. So if recipient reply on auto-generated mail it goes to mailbox of [email protected] (so that application
    team see and reply to any query raised by recipient). 
    Now my requirement is, I want to notify users about their password expiry before 10  days (something like that) I have made the script and tested it in lab. But the main requirement is I want to use [email protected] mail ID for sending mail. And if any recipient
    reply on the auto-generated mail it goes to [email protected] mailbox (which is managed by different team).  
    So the query How can I use two different mailbox enabled IDs for sending mails on a single SMTP Relay server
    Thanks
    Pankaj Sharma

    Thanks Ed and Mavis for the reply and suggestion, but here scenario is different. 
    We have one SMTP relay configured with [email protected] credentials. one oracle application automatically shoots mail to users using this [email protected] to users. So if recipient reply on auto-generated mail it goes to mailbox of [email protected] (so that
    application team see and reply to any query raised by recipient). 
    Now my requirement is, I want to notify users about their password expiry before 10  days (something like that) I have made the script and tested it in lab. But the main requirement is I want to use [email protected] mail ID for sending mail. And if any recipient
    reply on the auto-generated mail it goes to [email protected] mailbox (which is managed by different team).  
    So the query is can I use two different mailbox enabled IDs on a single SMTP Relay, If yes then how..
    Thanks
    Pankaj

  • How do I set up an account to receive email from my SMTP relay Server. Have I made a SMTP Server config error?

    Hi,
    How do I set up an account to receive email from my SMTP Relay Server?
    I've setup the SMTP feature and set my Server to use anonymous authentication.
    Things appear to look ok.
    But I can't connect make a test connection to it when I am trying to add an email account in Outlook.
    I could be doing something wrong here.
    This is my process.
    1. I have setup my SMTP Server.
    2. Created a user account in AD and given it an email address.
    3. Opened Outlook and tried to manually add a POP3 account by specifying the incoming and outgoing Server details.
    But when I go to test the connection on the email setup it keeps failing.
    Please help.
    Thanks

    Hi Midi25,
    As Florent suggested, please use Telnet to test SMTP Communication. For more details, please refer to following articles.
    How to Use Telnet to Test SMTP Communication
    XFOR: Telnet to Port 25 to Test SMTP Communication
    In addition, please also refer to following article and check if can help you.
    How to Configure a Windows Server 2003 Server as a Relay Server or Smart Host
    Best regards,
    Justin Gu
    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 Support, contact [email protected]

  • Have to add 0.0.0.0/0 to "Accept SMTP relays only from these"?

    To reach the server via vpn I had to add a virtual IP (192.168.1.1) to the ethernet port. Since then mail acts a bit strange: I have to add 0.0.0.0/0 to "Accept SMTP relays only from these" in SA. Otherwise i get a "[/var/imap/socket/lmtp]: Connection refused" in the smtp log and the server does not accept any delivery of mails from the internets.
    I'm not quite sure if it's a good idea. Can anyone please tell if this is still a security risk (while having access restrictions on the mail service)?

    After a few telnet tests I can answer my own question: It makes an open relay server to spammers! But to solve the former issue with the connection refuse, I had to switch to virtual hosting in the advanced tab of the mail service and add my own domains.

Maybe you are looking for

  • Popluate Column Heading Dynamically in UI

    HI Experts, I have a requirement where i  need to get column descriptions dynamically at item level in UI  depending on the process type. I have an order with two items, when i display the order from search result i go to order detail where i can see

  • APEX 3.1.0.00.32 doesn't work with ORACLE 10g SE 10.2.0.1.0

    I have Oracle 10g Express Edition 10.2.0.1.0 under Windows XP SP2 on my Personal Computer. There is installed the too , which is working fine. Also I have Oracle 10g Standard Edition 10.2.0.1.0 (after installing Oracle 10g BI SE One) under Windows 20

  • Spend Limit and Approval limit data w.r.t Employee

    Hello, Below is the requirement: I wanted to build a report in BI which will provide the Spend Limit, Approval limit and Approver Data w.r.t an Employee from SRM system. Please advice how can I get these details? Is there any Function module or table

  • How to always rotate objects around the same point, even using the right-click menu?

    I need some of my objects to always rotate around the same point. How can I select a point which will stay that way? Using the rotate tool resets after deselecting. Also, I'd like to rotate objects around a certain point even when using the right cli

  • Table View Navigation

    I've a table view with one column being an image (clickable). I have 40 rows of records (say for example) and I display 15 at a time in my table view. When I navigate to page 3 of my tableview (for example) and click on row to edit (lineedit mode) my