Mail Server Relay Authentication Failure in Server Admin

I need to set up Mail Server to relay through my ISP.  I know that I can authenticate to smtp.comcast.net:587 using my account and TLS usnig a mail client.
However, when I use Server Admin to configure my server's SMTP to send all outgoing email through this relay (Server Admin>Mail>Settings>General>
Rely outgoing mail through host: smtp.comcast.net:587
         Authenticate to rely with user name: user
I get the SMTP error:
SASL authentication failed: cannot authenticate to server smtp.comcast.net[76.96.62.117]: no mechanism available
There are no toggles on Server Admin to specify TLS or SSL or anything for authentication.
Does anyone know how to tell Server Admin how to authenticate an SMTP relay to smtp.comcast.net using TLS, which is apparently what comcast expects?

Wow, this is an obscure solution, but it works. According to this thread, the problem is that:
Although Comcast advertises "AUTH LOGIN PLAIN", the Postfix SASL library won't do plain text auth by default. It needs to be told it's okay with:
smtp_sasl_security_options = noanonymous
Solution:
$ su -
$ cd /etc/postfix
$ cp main.cf main.cf.no_smtp_sasl_security_options
$ echo 'smtp_sasl_security_options = noanonymous' >> ./main.cf
$ serveradmin stop mail
$ serveradmin start mail
I'm not sure how often /etc/postfix/main.cf is overwritten, but presumably this happens every time you change and save Mail settings in Server Admin, so you must redo these steps every time you change the Mail server if you want to use smtp.comcast.net as your mail relay.
AAPL, would you please add a toggle to handle this in Server Admin?

Similar Messages

  • Mail, Server Admin, MySQL running very, very slow

    Hi all,
    I have this Leopard Server on a Mac Mini and I experience some big bottlenecks on mail services (especially webmail), Server Admin connections (both local and remote), and also connections with mySQL clients (remote). Local MySQL is working fine. It is not the same for mail and Server Admin. They are very slow also for local connections. Any idea? Hint: I'm using a USB-ethernet adapter (from Apple) for my public IP's (I have 2 of them) and I use built-in ethernet for local network. I've switched them, I tried only with the built-in ethernet... no change. Please help... my enthusiasm about this server solution is getting lower and lower... Thank you very much

    pterobyte wrote:
    Have a look at system.log and mailaccess.log for clues to begin with.
    Server Admin is usually slow (locally and remotely) when the DNS (forward and reverse) setup is not correct.
    Since mySQL seems to have only problems when used remotely, I'd look at bandwidth, routers and switches involved.
    Is mail only slow when used via webmail or via any IMAP client?
    You're a genius as usually
    It seems that I removed my reverse zone accidentally... I didn't even think to look at DNS setting before you told me... Thank you very much

  • Server Admin cannot update any mail settings on nearly fresh 10.4 server

    I can no longer use the Server Admin application to change settings under Mail (and I need to make some changes - would like to change logging settings and require authentication for SMTP). I made some initial settings with no problems, but now it chokes...
    For example, I click on Mail, Settings, Advanced... and then try to click the box to require Kerberos Authentication for SMTP-- everything is normal until I hit SAVE. Then there is a delay of 10 or 15 seconds, followed by the error message:
    "A connection with a server or service was lost. Try to disconnect from XServe.local and then reconnect, or contact your network administrator."
    At this point the mail indicator is red, not green... after clearing the message the changes I've made to settings appear intact, but if I quit server admin the truth comes out... I'm asked would I like to save changes, if I say yes the error will repeat-- I have to quit without saving. Relaunching Server Admin reveals that indeed the changes have not been made.
    I've heard of this type of problem when hand editing config files, but I've not done that with any mail-related files (I made two minor changes to a http config file a while ago, otherwise it's all been through Server Admin).
    Is there any way to reset the mail-related files so that Server Admin will return to life, or do I have to reformat the drive and reinstall OS X 10.4.4 hoping it doesn't happen again?
    By the way, the problem started a few days ago, and the upgrade to 10.4.4 didn't magically cure it.

    I'm having the same problem (and updating to 10.4.5 did not fix it either).
    In my case, it takes 30 seconds for the "A connection with a server or service was lost." to come up; I have a lot of mailing lists, and was wondering if it was some sort of timeout value on the server admin server end. (I hope that Server Admin doesn't write out every mailing list's membership every time you change any Mail setting!)
    You can make some changes using the serveradmin command line tool. For example, I noticed this problem when trying to turn on log-rolling.
    First, to find the appropriate command:
    sudo serveradmin settings mail > mailsettings
    I grepped for "log":
    grep "log" mailsettings | grep -v mailman
    (grep -v mailman drops any mailman settings, such as all of the users where "log" appears in their e-mail address)
    And found:
    mail:postfix:logrolling_daysenabled = no
    I then ran the command:
    sudo serveradmin settings mail:postfix:logrolling_daysenabled = yes
    to turn log rolling on. Quitting Server Admin and getting back into it showed that logrolling_daysenabled was enabled.
    So that might be a temporary solution for simple changes.
    In my case, this is a very fresh server: purchased and put into play over a period of three weeks. It worked until I copied the mailing lists over, but a small number of mailing lists copied did not trigger the error. This is what leads me to believe there is some kind of timeout happening.
    Jerry

  • The mail could not be sent to the recipients because of the mail server failure.

    Hi,
      I am configured Database Mail,But i am getting below error while i am sending Test mail.
    Message
    The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 4 (2014-03-10T15:54:11). Exception Message: Cannot send mails to mail server. (The SMTP server requires a secure connection or the client was
    not authenticated. The server response was: 5.7.1 Client was not authenticated).
    Pls help me,
    Thanks - SelvaKumarSubramaniam.Please MARK AS ANSWER, if my answer is useful to U.

    Hi Selvaons,
    I would suggest you contact your mail administrator for assistance. Here are some good articles regarding how to configure database mail in SQL Server for your reference, please see:
    http://blog.sqlauthority.com/2008/08/23/sql-server-2008-configure-database-mail-send-email-from-sql-database/
    http://www.codeproject.com/Articles/29060/SQL-SERVER-Configure-Database-Mail-Send-Email
    http://www.sqlservercentral.com/blogs/databaseexpertisecom/2010/05/12/database-mail-set-up-in-sql-server-2008/
    Regards,
    Elvis Long
    TechNet Community Support

  • RE: Using JavaMail with JSP when access relay is denied on smtp mail server

    Could someone please let me know how to get around the problem of sending an automatic email from a JSP when access relay is denied by the smtp mail server. Could it be that the username and password just needs to be added somewhere???
    Any thoughts on how to solve this problem would be greatly appreciated.
    Thank you!

    I know what you are talking about because I setup no relay on my mail server. I understand why you need to supply a username and password because if the server doesn't allow relay, then you must supply a username and password. Doing it by IP address wouldn't work because you have to know the IP address of all people accessing that page. I am in the same boat as you and once I find out the answer, you'll be the first to know. There is one quick workaround. Get your Net Admin to create a user specifically for the page you plan to send from. Get him to allow relaying for that one user. That worked on my setup and like I said, I'm setup the same way you are. Thanks, J

  • Email authentication failure, password/server settings NOT changed

    Scenario: I've been using Thunderbird for years now to connect to Verizon and download my email.  Server settings have always been:
    POP3
    incoming.verizon.net port 110
    connection security none
    authentication method encrypted password
    SMTP
    outgoing.verizon.net port 25
    connection security none
    authentication method password, transmitted insecurely (oops)
    Suddenly when I try to get my email, it stops and tells me there's an authentication failure.  I've seen this happen before with Verizon when a server is down or messed up or whatever (pretty poor message for a service interruption, but whatev).  So I decided to wait it out, but when it didn't clear up after several hours, went to the website where I was able to log in (huh?) and decided to change my password for the hell of it.  Guess what?  New password doesn't work in the email client.  Quelle surprise. 
    Sooo, I find THIS page (https://www22.verizon.com/Support/Residential/internet/highspeed/email/setup+and+use/questionsone/86...) which tells me a lot of malarkey about server settings.  I tried changing the incoming to their recommended settings, and it looks like there's no server communications a-tall.
    Can someone tell me what's amiss, and while you're at it, tell me where in a just and well-ordered universe a service provider changes server settings without notifying users well in advance?  Extra points for creativity.

    These are the new settings and they do work in Thunderbird.
    Mail server settings
    Incoming mail server (POP3)        pop.verizon.net       
    Incoming Server Port Numbers: 995
    Outgoing mail server  (SMTP)       smtp.verizon.net
    Outgoing Server Port Numbers: 465 
    Connection security:   SSL/TLS      for POP & SMTP
    The change you are probably missing as it wasn't on that page:
    Make sure your Authentication method is set to  "Normal password"  for  POP & SMTP

  • Mail service in Server Admin not saving changes

    We have a Xserve with Snow leopard (10.6) and we have dovecot installed. We want to serve IMAP. According to mail it is on. Whenever we make any changes to the mail service in Server Admin and press save the values revert back to what they were (so no accepting the new values). We do not get any errors and we have checked the logs but nothing suggests why this has happened.
    Any idea's?
    Alternatively, is there anyone here really familiar with DoveCot that we could speak to? or any companies to contact?
    All we want to do is run/host our own IMAP mailserver.
    Thanks in advance,
    ~Luke

    Thanks for your kind help. We have tried stopping and making changes and then restarting but this hasn't worked.
    We have done the serveradmin fullstatus command and this is the output:
    sbin admin$ sudo serveradmin fullstatus mail
    mail:setStateVersion = 1
    mail:readWriteSettingsVersion = 1
    mail:cluster = emptydictionary
    mail:servicePortsRestrictionInfo = emptyarray
    mail:protocolsArray:arrayindex:0:status = "OFF"
    mail:protocolsArray:arrayindex:0:protocol = "IMAP"
    mail:protocolsArray:arrayindex:0:active = 0
    mail:protocolsArray:arrayindex:0:kind = "INCOMING"
    mail:protocolsArray:arrayindex:0:total = 0
    mail:protocolsArray:arrayindex:0:state = "STOPPED"
    mail:protocolsArray:arrayindex:0:error = ""
    mail:protocolsArray:arrayindex:1:status = "OFF"
    mail:protocolsArray:arrayindex:1:protocol = "POP3"
    mail:protocolsArray:arrayindex:1:active = 0
    mail:protocolsArray:arrayindex:1:kind = "INCOMING"
    mail:protocolsArray:arrayindex:1:total = 0
    mail:protocolsArray:arrayindex:1:state = "STOPPED"
    mail:protocolsArray:arrayindex:1:error = ""
    mail:protocolsArray:arrayindex:2:status = "ON"
    mail:protocolsArray:arrayindex:2:protocol = "SMTP"
    mail:protocolsArray:arrayindex:2:active = 0
    mail:protocolsArray:arrayindex:2:kind = "INCOMING"
    mail:protocolsArray:arrayindex:2:total = 0
    mail:protocolsArray:arrayindex:2:state = "RUNNING"
    mail:protocolsArray:arrayindex:2:error = ""
    mail:protocolsArray:arrayindex:3:status = "ON"
    mail:protocolsArray:arrayindex:3:protocol = "SMTP"
    mail:protocolsArray:arrayindex:3:active = 0
    mail:protocolsArray:arrayindex:3:kind = "OUTGOING"
    mail:protocolsArray:arrayindex:3:total = 0
    mail:protocolsArray:arrayindex:3:state = "RUNNING"
    mail:protocolsArray:arrayindex:3:error = ""
    mail:protocolsArray:arrayindex:4:status = "OFF"
    mail:protocolsArray:arrayindex:4:protocol = "LISTSERVER"
    mail:protocolsArray:arrayindex:4:active = 0
    mail:protocolsArray:arrayindex:4:kind = "OUTGOING"
    mail:protocolsArray:arrayindex:4:total = 0
    mail:protocolsArray:arrayindex:4:state = "STOPPED"
    mail:protocolsArray:arrayindex:4:error = ""
    mail:protocolsArray:arrayindex:5:status = "ON"
    mail:protocolsArray:arrayindex:5:protocol = "Junkmailfilter"
    mail:protocolsArray:arrayindex:5:active = 0
    mail:protocolsArray:arrayindex:5:kind = "INCOMING"
    mail:protocolsArray:arrayindex:5:total = 0
    mail:protocolsArray:arrayindex:5:state = "RUNNING"
    mail:protocolsArray:arrayindex:5:error = ""
    mail:protocolsArray:arrayindex:6:status = "ON"
    mail:protocolsArray:arrayindex:6:protocol = "Virus_scanner"
    mail:protocolsArray:arrayindex:6:active = 0
    mail:protocolsArray:arrayindex:6:kind = "INCOMING"
    mail:protocolsArray:arrayindex:6:total = 0
    mail:protocolsArray:arrayindex:6:state = "RUNNING"
    mail:protocolsArray:arrayindex:6:error = ""
    mail:startedTime = "2010-05-10 18:11:56 +0100"
    mail:logPaths:IMAP Log = "/var/log/mailaccess.log"
    mail:logPaths:POP Log = "/var/log/mailaccess.log"
    mail:logPaths:Lists smtp = "/var/log/mailman/smtp"
    mail:logPaths:Lists subscribe = "/var/log/mailman/subscribe"
    mail:logPaths:SMTP Log = "/var/log/mail.log"
    mail:logPaths:Server Log = "/var/log/mailaccess.log"
    mail:logPaths:Lists error = "/var/log/mailman/error"
    mail:logPaths:Lists post = "/var/log/mailman/post"
    mail:logPaths:Virus DB Log = "/var/log/freshclam.log"
    mail:logPaths:Lists smtp-failure = "/var/log/mailman/smtp-failure"
    mail:logPaths:Lists qrunner = "/var/log/mailman/qrunner"
    mail:logPaths:Amavisd Log = "/var/log/amavis.log"
    mail:logPaths:Virus Log = "/var/log/clamav.log"
    mail:imapStartedTime = ""
    mail:servicePortsAreRestricted = "YES"
    mail:state = "RUNNING"
    mail:postfixStartedTime = "2010-05-10 18:11:56 +0100"
    As you can see the pop/IMAP incoming is off. We cannot get it to turn on. The server has been restarted also and no change has occured.
    Any further help you can give will be greatly appreciated,
    Thanks in advance,

  • Server Admin relay host field bug?

    I noticed something curious when attempting to specify a relay host via Server Admin 10.4.3 (157.5) application.
    If I specify xxx.com in "Relay outgoing mail through host" field, the value will appear as entered in MailServicesOther.plist. However, it will NOT appear in main.cf, there is only a line 'relay='.
    When I manually edited main.cf to add 'relay=xxx.com' then relaying started working...however, if I use Server Admin after that to edit the value, it reverts back to an empty value again. Rather annoying, really.
    Is this a known bug?

    Honestly, I've had trouble with ServerAdmin and Postfix's main.cf from the beginning of 10.3.x I've given up on using SA for anything to do with the mail. I've tried everything from having someone send me a default main.cf and reseting everything in SA.
    I can't get it back into sync, and since my backup MX server is running Postfix on FC3 I learned the CLI and got over the SA. I still use SA for looking at Account Quotas under the Maintenance tab, everything else is dorked anyway now.
    Xserve G4 1ghz   Mac OS X (10.4.3)   OSXS 10.4.3

  • SMTP Relay Username and password disappear when I close Server Admin

    Hello,
    I have a mail server that was working properly with SMTP relay until last week, when it started to bounce back to itself. I checked the settings and the SMTP relay username and password were erased. I type them in again, click on save, close and reopen and it's erased. Is there a way to enter this information other than the Server Admin application. If so, where is it located and what should I change? Thanks!

    Here is the result of postconf -n:
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter = smtp-amavis:[127.0.0.1]:10024
    daemon_directory = /usr/libexec/postfix
    debugpeerlevel = 2
    enableserveroptions = yes
    html_directory =
    inet_interfaces = localhost
    mail_owner = postfix
    mailbox_transport = cyrus
    mailq_path =
    manpage_directory =
    mydestination = $myhostname,localhost.$mydomain,localhost
    mydomain = spikenet.homedns.org
    myhostname = spikenet.homedns.org
    newaliases_path =
    queue_directory = /var/spool/postfix
    readme_directory =
    relayhost =
    sample_directory =
    sendmail_path =
    setgid_group =
    smtpdpw_server_securityoptions = login,plain,gssapi,cram-md5
    smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
    smtpdsasl_authenable = yes
    smtpduse_pwserver = yes
    unknownlocal_recipient_rejectcode = 550
    The log changed to:
    Apr 13 11:05:19 spikenet postfix/sendmail[74525]: fatal: bad string length 0 < 1: mydomain_fallback = .

  • How to set up a mail server with a private DNS and relay over a public mail

    How to set up the mail server that we can send and pick up emails inside and outside?
    Our private network has the DNS name dnsname1.private.
    We have our privat DNS Server and he can forward requests to outside over our router.
    Our public emails are hosted by an internet provider. This dns name is dnsname2.com and dnsname2.org.
    How we have to set up our mail server that we can pick up our emails from our public dnsname2.com?
    And when we write an email how we have to set up it that the dnsname is dansname2.com and not dnsname1.private?

    If you want to move your mailservice to your own (internal) server, start by making sure you can recieve traffic on port TCP 25 (SMTP). Some ISPs blocks this port, especially on "non business" connections.
    Can you send mail from your LAN directly to where your mail is hosted using port 25 TCP or do you have to relay via your ISP?
    You have a static public IP?

  • Server: Mail configuration of Server Admin not showing ANY Accounts

    I have an LDAP directory for my accounts and in the Server Admin GUI, under the Mail configuration, I am not showing any accounts. Currently mail services not working and I have tried to reconstruct the db to no avail.
    I the POP log im gettting ...
    Aug 10 14:03:29 mail pop3[24233]: DBERROR: critical database situation
    In the Mail Access log ...
    Aug 10 14:04:56 mail lmtpunix[29548]: DBERROR: critical database situation

    How about more info?
    Did you ever have a working setup? Accounts?
    How did you try to reconstruct?
    Check /var/log/mailaccess.log and post some more info for a process number (number in square brackets)

  • How do I fix this error "An error occurred while sending mail. The mail server responded: Authentication is required before sending [R0107005]. Please verify

    My previous request had an incorrect email. This error began yesterday and I can't reply or send new emails from my PC, but email is working on my iphone.

    I have been doing that. Here is the complete message I get. It was cut off in my initial question. "An error occurred while sending mail. The mail server responded: Authentication is required before sending [R0107005]. Please verify that your email address is correct in your Mail preferences and try again."

  • An error occurred while sending mail. The mail server responded: Relaying not allowed.

    Suddenly I am not able to send any email from my account, from pc or phone.
    It gives error message "An error occurred while sending mail. The mail server responded: Relaying not allowed. Please check the message recipient --------and try again."
    I have checked account setting and is correct. please help

    This message, which comes from the server, usually means that you are using an smtp server provided for use with one particular account to send messages "from" other accounts. The fact that it also happens with your phone does indicate that it is external to Thunderbird.
    How many different email accounts do you have? How many different providers are involved?

  • Server Admin only shows 201 messages in Mail Queue

    This issue has been haunting me since 10.5.0 and I can't seem to get rid of it. It's not crucial, but very obnoxious. In Server Admin (from multiple computers) the mail queue will only show a maximum of 201 messages. If there are more than that I have a cryptic "message" at the end of the list that has a message ID of "FFFFFFFFFFFF" and the Recipients Field has [...]
    I would love to be able to see all the messages in my queue if possible, but haven't found anywhere to fix this.
    Any help would be very appreciated.

    Thanks Alex. We aren't bouncing spam on our mail server, but I do notice that a lot of the mail is from MAILER-DAEMON. I'm assuming it's "User not Found" messages from hosts that don't really exist. I've tweaked the server using some suggestions from osx.topicdesk.com to clear some of those out, but it hasn't been 100% effective.
    I think part of the issue is that the server is a dual G4 Xserve and is scanning junk mail on all messages. I assume that those two factors contribute to the backup of mail in the queue.
    As for volume of mail, we receive 100k a month.

  • VPN Settings Server Admin L2TP PPP Authentication Kereberos option dimmed?

    Hi. I set up my 10.4 server as an open directory master. Kerberos works on the LAN for single signon.
    I am trying to configure VPN service now. When I go to the "Settings" section of VPN in Server Admin, under L2TP, "PPP Authentication", MS-CHAPv2 is selectable but "Kerberos" is dimmed, i.e. I can't select it. What do I need to do to be able to used Kerberos here?
    Thanks,

    Thanks BrianFL. This helps hugely. Yes, I just to set up a simple filesharing VPN not the kind of VPN that bypass Internet censorship. I use ethernet connection directly from my router yes.
    1. I just need to use the server app to set up a VPN and port forwarding. That is it?
    2. The setting I have made according to the guide with Server Admin Tools seems never going away, even after I deleted the server that has all the settings inside Server Admin Tools. Upon creating a new server inside Server Admin Tools, the new server inherits all the settings from the one I just deleted. Any idea how I can restore to Server Admin Tools's defaults settings?
    3. Even VNC (I use RealVNC) on the mini stopped working after I made changes according to the guide and deleted all the changes I can find. What is the address format for lion's build in VNC (192.168.0.100:5800?) like? I forgot how it is.
    Thanks so much!

Maybe you are looking for