Server App: Outgoing Mail Relay not working

Hi,
I'm trying to set up Outgoing Mail Relay on my Mountain Lion Server, but I always get bounced emails:
Oct  1 04:33:34 my.server.private postfix/smtp[9582]: C855DCE700D: to=<[email protected]>, relay=mx2.sub5.homie.mail.dreamhost.com[208.113.200.128]:25, delay=0.91, delays=0/0.02/0.65/0.24, dsn=5.7.1, status=bounced (host mx2.sub5.homie.mail.dreamhost.com[208.113.200.128] said: 554 5.7.1 Service unavailable; Client host [myIP] blocked using zen.dnsbl; http://www.spamhaus.org/query/bl?ip=myIP (in reply to RCPT TO command))
If I use in the SMTP servers list of Mail app, the exact same account credentials, the email is been delivered only when using SSL. So, I tried adding :465 and :587 to the ougoing relay server in the Server app (Relay outgoing mail throught ISP), but I get the following error and the message stays queued:
Oct  1 04:13:41 my.server.private postfix/smtp[8920]: connect to mx2.sub5.homie.mail.dreamhost.com[208.113.200.128]:587: Connection refused
Oct  1 04:13:41 my.server.private postfix/smtp[8920]: connect to mx1.sub5.homie.mail.dreamhost.com[208.113.200.127]:587: Connection refused
Oct  1 04:13:41 my.server.private postfix/smtp[8920]: 0BAD1CE6340: to=<[email protected]>, relay=none, delay=369, delays=369/0.02/0.43/0, dsn=4.4.1, status=deferred (connect to mx1.sub5.homie.mail.dreamhost.com[208.113.200.127]:587: Connection refused)
It seems I'm missing something. I want to use smtp account to send all the email coming from my Mac OS X Server, but it looks like I'm doing something wrong or the Server App doesnt work the same way Mail App does when connecting to a SMTP server.
Any comments?

Let me add....
Mail app is connecting and sending the emails correctly with the same credentials but using SSL through port 25:
READ Oct 01 05:04:01.566 [kCFStreamSocketSecurityLevelTLSv1SSLv3]  -- host:my.externalrelayserver.net -- port:25 -- socket:0x7f890be0c620 -- thread:0x7f890ca3dd70
250-homiemail-a45.g.dreamhost.com
250-PIPELINING
250-SIZE 40960000
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250 8BITMIME
WROTE Oct 01 05:04:01.588 [kCFStreamSocketSecurityLevelTLSv1SSLv3]  -- host:my.externalrelayserver.net -- port:25 -- socket:0x7f890be0c620 -- thread:0x7f890ca3dd70
AUTH PLAIN  (*** 48 bytes hidden ***)
READ Oct 01 05:04:01.793 [kCFStreamSocketSecurityLevelTLSv1SSLv3]  -- host:my.externalrelayserver.net -- port:25 -- socket:0x7f890be0c620 -- thread:0x7f890ca3dd70
235 2.7.0 Authentication successful
I would like to force Server App to do a SSL connection to port 25 of the specified relay server, but not sure how to do this. If I don't manage to do SSL on port 25, then, my relay server will bounce the emails...
grrrr!

Similar Messages

  • My outgoing mail is not working after the upgrade OS to mavericks. my mail client version is 7.1 . please help me resolve this issue

    My outgoing mail is not working after the upgrade OS to the mavericks. my mail client version is 7.1 . please help me out resolve this issue

    Please let me know , How we can reinstall apple mail ? .
    1 . We updated OS to mavericks few machine in last december and still does't works SMTP (Out going mail) on those MAC.
    2.  After that most recently we updated OS to mavericks few machine those are working will with SMTP server .
             a)Not showing any SMTP connection in TCP trace ,
             b) Connection docter every time Says "Connecting to the server "
    3, Then we have installed thunderberd (another mail) client on maverick os, which OS related to apple mail client not woking . It seems other mail client is working well with SMTP server .
    Please help me .
    Thanks,
    Ranesh..

  • Outgoing mail is not working on the Macbook Pro

    Hey
    I am using the mail client to read my gmail mails in my Macbook Pro. Incoming and outgoing emails were working fine and all of a sudden for the last 2 days my outgoing mails are not working and i get this error" the sender address blah blah.com was rejected by the server".
    I reentered my cred in the pref pane and it still does not work. I am able to send mails fine using the browser. Incoming mails is fine is fine on the client.
    Any idea what is causing this error?
    Thanks
    Rpk
    Mac Mini, MacBook Pro   Mac OS X (10.4.5)  

    I'm not sure why this worked fine for a period of time but most, if not all ISPs use for connecting to the internet block the use of SMTP servers outside of their network (or not provided by the ISP) on Port 25. Some ISPs allow the use of an authenticated SMTP server only that is outside of their network on Port 25 but some block its use regardless.
    These restrictions are in place as part of an overall effort to prevent spam emanating from the ISP's domain.
    Something to try.
    Go to Mail > Preferences > Accounts and under the Account Information tab for the account preferences at the SMTP server selection, select the Server Settings button below.
    Enter 587 in place of 25 in the Server Port field and when finished, select OK to save the changed setting.
    If this doesn't work, you need to add your ISP's SMTP server to mail and select this SMTP server to send mail with your gmail account which is invisible to all recipients.

  • OS X Server 3 outgoing mail relay no longer supports a specific port

    Just installed OS X Server 3 on Mavericks. All is well, but for some reason it does not allow adding a specific port for "Outgoing mail relay: mailout.isp.com:587"
    OS X Server 2 used to allow this and i used it to connect to my smtp relay from my isp. It does not allow port 25 connections. If you try this in OS X Server 3 it just complains with "bad formatting"
    Can anyone confirm this?

    Found another thread discussing this.
    https://discussions.apple.com/message/23544605#23544605
    Answer from there:
    You need to edit the postfix main.cf file manually with your favorite text editor:
    sudo vi /Library/Server/Mail/Config/postfix/main.cf
    find the line
    relayhost = host.example.com
    change it to
    relayhost = host.example.com:587 (or some other port)
    then do a
    sudo postfix reload
    to reload postfix configuration files
    and
    sudo postsuper -r ALL
    to retry sending the e-mails again.
    NOTE: If you open OS X Server 3 app and go to Mail -> Relay outgoing mail through ISP -> Edit the Outgoing server address will show as BLANK, this is normal, just click cancel and leave it alone.

  • TS3276 outgoing mail does not work on telus

    Everything works for incoming on my telus account, yet my outgoing that is setup exactly link my ipad does not work at all.  Any help.

    My iCloud mail is now working after my doing nothing. I still cannot send from verizon using apple service.  When I go to connection doctor I get the spinning gear continuously  indicating that it is trying to connect.  I think my settings are ok.  I have not changed anything and they had just been working previously

  • TS3274 my outgoing mail is not working, it says the password is not correct.  I have the newest version ipad

    I have the most current ipad (new)  I downloaded the restore so it got all my information from my computer.  I cannot use my outgoing mail because it says I have an incorrect password.  I have deleted the account and reloaded it and it is still not working.  It is a comcast account.  Thanks

    I think I found the answer in one of your other sections.  I will try it.

  • Just upgraded to iOS5 on iPad. Music app and mail does not work properly.

    Just upgraded iPad2 to iOS5. Music app does not work properly. When I select a song to play, it plays a different song. Sometimes, it just stops playing songs, other times, it shuffles songs.
    Not sure whats going on.
    Worked fine using iOS4.3.5.
    Synced the iPad to iCloud. enabled mail. It shows under settings that the iCloud mail is setup, but the mail does not appear in the mail app. Not sure whats happening with these functions on iOS5.

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Ungraded to IOS 8.2 and mail settings changed and outgoing mail will not work. Setting seem to me correct.

    IOS 8.2 did something to my Gmail settings for my outgoing mail. Check the setting and they seem to be correct. Anyone know what else the download may have affected in Gmail or email setting in general? Iphone 6 Plus

    Hello gfdunn,
    I'm sorry to hear you are having issues with your iPhone after the recent iOS 8.2 update. If you are having issues sending mail from your Gmail account in Mail, you may find the information and troubleshooting steps outlined in the following articles helpful:
    Gmail account cannot get or send email in iOS - Apple Support
    Get help with Mail on iPhone, iPad, and iPod touch - Apple Support
    Sincerely,
    - Brenden

  • Suddenly, outgoing mail is not working

    Hi,
    I've had the iPhone for 3 months now, and it's worked as advertised. Very glad. I have one email account set up on the phone - one which uses a POP server. Again, for the most part it's worked very well (every so often, when trying to send an email, I'd get a message saying "Message could not be delivered because server refused connection," but after sending again, the message would go through with no problems).
    However, today every single email I've sent has got stuck in my Outbox. Sometimes I get the "message could not be delivered" message, sometimes I don't even get that. Emails are simply not going out.
    I checked to make sure it wasn't my POP server that was the culprit, but I can send and receive emails from the email account in question when using the Mail app on my Mac Pro, or the webmail interface. So I'm fairly certain it's not the POP server.
    I've also tried to send the email (from the iPhone) with wifi turned on and off, but I get the same results...or lack thereof.
    I haven't changed any of the settings on my iPhone's email account, so that's also not the cause.
    Any ideas? I've got mails piling up on my outbox and don't know what to do. Any help would be much appreciated.
    Cheers,
    Mr. Sparkle

    Thank you very much! That seems to have done the trick.
    A friend of mine had a similar thing happen to him - hopefully, Apple can take care of this on a firmware update or some such.
    again, thanks.

  • Send Outgoing Mail Messages not working

    I'm having trouble with a workflow that creates a new mail message, gets specified iCal items, creates a summary text file, attaches to mail message and then sends mail message. Everything is working except the mail message does not get sent. There are no logged error messages. I've experimented with changing up the order of the actions and noticed that when I place "Send Outgoing Messages" directly after "New Mail Message", the message gets sent without a problem. However in order for my workflow to make sense I need to have many intermediary steps before I trigger the send messages action.
    Any clues on this problem. Thanks in advance.
      Mac OS X (10.4.7)  

    Cascanuit-
    I'm relatively new to Automator as well and by no means a programmer. It does seem that the iCal actions available are pretty meager. I did a search at www.automatorworld.com and there are a few additional actions but none that call out specific menu items.
    Another way to approach your desired workflow is to create an applescript that selects Export... from the File Menu. I know very little beyond the basics of applescript but I did cobble together the following:
    tell application "iCal" to activate
    tell application "System Events"
    tell application process "iCal"
    set frontmost to true
    click menu item "Export…" of menu 1 of menu bar item "File" of menu bar 1
    delay 4
    tell application "System Events"
    keystroke return
    end tell
    end tell
    end tell
    Here's the weird part. This script works, but only sporadically. Sometimes it stalls at the selection of the Export button in the dialog box. I have no idea why it sometimes works and other times fails.
    If someone could refine this script to make it bullet proof than you can simply incorporate it as an automator workflow and then save the created export file to another volume or anywhere you like.
    Hope this helps some.

  • I updated to 5.0 and my outgoing cox mail is not working

    I updated to 5.0 and my outgoing cox mail is not working.  In coming is fine, but I can't send any mail.

    I have the same problem with my iphone4 purchased in Hong Kong, I live in Guangzhou.  How can I switch the maps app back to English?

  • Mail is not working. The app opens because I see a light on under "Mail" in the dock.

    Mail is not working. The app opens because I see a light on under "Mail" in the dock, and I see the menu at the top of my screen, but I don't see the app itself or any windows. It is like it is running in the background, but I can't see it. Everthing is subdued when I click on the choices up in the menu. I have tried "Force Quit" and then re-opening the mail app several times, and have rebooted my notebook twice. What is weird is that this started right after I changed my password in a browser (it is a gmail account). I went into the System Preferences on my MacBook and changed my password there as well, so it should be setup properly to open. I am running Mac OS X Lion 10.7.5.   Any help anyone can provide is much appreciated.

    The current Mail version for 10.6.8 Snow Leopard is 4.6 (1085).   Run Software update or the combo updater ... Mac OS X 10.6.8 Update Combo v1.1

  • So I have updated my iphone4 GSM to ios 6.01, however after updating, my safari and mail could not work anymore, when i open these 2 apps, it just opens and hangs then it crashes.

    So I have updated my iphone4 GSM to ios 6.01, however after updating, my safari and mail could not work anymore, when i open these 2 apps, it just opens and hangs then it crashes.
    anybody can help me ?

    So I have updated my iphone4 GSM to ios 6.01, however after updating, my safari and mail could not work anymore, when i open these 2 apps, it just opens and hangs then it crashes.
    anybody can help me ?

  • Maverick's Mail does not work with Gmail ! it works better with iOS 7

    For info.
    I do know how it's complex to program and more for an OS System.
    Maverick's Mail DOES NOT work proprely with Gmail boxes ? Gmail incoming or outcoming messages are correctly notified on my iPhone 5s with iOS 7. But not on my Macbook Pro retina (end 2012) with Mavericks. One update was suppose to solve the trouble.
    Hope you'll solve the problem as soon as possible. Bur not during the nights. But during your daytimes' work !
    Wish you nice end of year's days.
    And please get my best wishes for 2014. Hope you'll get a lot of these nice little moments of happiness.
    Best regards.
    Pascal

    Have you checked your incoming and outgoing mail server settings?
    If you are using IMAP, it should look something like the following:
    Incoming Mail (IMAP) Server - Requires SSL
    imap.gmail.com
    Port: 993
    Requires SSL:Yes
    Outgoing Mail (SMTP) Server - Requires TLS
    smtp.gmail.com
    Port: 465 or 587
    Requires SSL: Yes
    Requires authentication: Yes
    Use same settings as incoming mail server
    If you are using POP3, it should look something like the following:
    Incoming mail server type: POP3
    Incoming mail (POP3 or IMAP) server: pop.gmail.com. Google Apps users, enter the server name provided, don't add your domain name in these steps.
              Port: 995
    Outgoing e-mail server (SMTP) name: smtp.gmail.com
         Port: 465
    Outgoing server requires authentication: enabled

  • TS2621 My iPhone yahoo mail is not working what do I do?

    My iPhone yahoo mail is not working what do I do?

    Change settings in "Mail"
    Yahoo Incoming Mail Server (POP3) - pop.mail.yahoo.com (SSL enabled, port 465)
    Yahoo Outgoing Mail Server (SMTP) - smtp.mail.yahoo.com (SSL enabled, port 995)

Maybe you are looking for

  • Using CVI libraries in Visual Studio C DLL

    Hello, I am attempting to enhance a legacy VS 2008 Visual C based DLL to use NI Shared Variable/Network Variable support.  From what I have found in the documentation, it seems to imply that CVI libraries can be imported into an existing VS by using

  • Collective confirmation through COGI-reg

    Hi When I do collective confirmation through COHV for production orders, Final issue indicator is set automatically and system does not allow any good issue posting for that orders. can you tell me whether any setting to be done in customising. Regar

  • UnmarshalException: error unmarshalling return, java.io.StreamCorruptedExce

    I am developing an application with Jonas and my environment is as follows: -Jonas 4.0.0 -Tomcat 5.0.19 standalone (my web app uses the remote interfaces). -I have amongst others those three jars in my web-inf/lib directory:      *test_guide.jar(my e

  • Transaction to Change Group Currency in a Specific Ledger

    Hi Everyone, Is there a transaction where I can choose a ledger to post an entry in group currency only?  I need something similar to F-05 but have the ability to post to a specific ledger. Thanks, Pete

  • FM to read the texts in GOS note

    Hi gurus, do you know any FM to read the texts when creating a note in GOS? Thanks!