SMTP Authentication questions

Hi there.
Currently moving from a FreeBSD server using sendmail to SL 10.6 server.
I'm having difficulty figuring out on how to do it from the Server Admin interface.
What I would like to achieve is:
*People on local network (e.g. from 192.168.0.0/24) can send email without authentication (so mail server act has an open relay for local machines).
*When using a non encrypted connection , only accept the CRAM-MD5 and Kerberos authentication method
*When using encrypted connection (via TLS or SSL), accept LOGIN, PLAIN, Kerberos and CRAM-MD5.
Is there a GUI to configure this, or do I have to manually edit configuration files?
I'm expecting a very curious behaviour, if I configure mail to accept a given security/authentication mode, if I unselect it, then click save. When I check any options again then save, 2-3s later, the option unchecks itself automatically... Very weird.
Any help greatly appreciated.
Jean-Yves

in particular squirrel mail refuses to send email once I set SSL to "require".
Correct. Squirrelmail is typically on the same box as the mail server and uses the localhost address (127.0.0.1). No authentication required. You need to set SSL to "Use" not "require" (no SMTP from unknown Internet hosts will use SSL anyway, so it cannot be "require")
There are plenty of dumb clients that do not support smtp via authentication.
Outside of squirelmail, virtually all modern e-mail clients do support smtp authentication. Some might not support SSL, or SSL with self-signed keys. But they should all should support basic SMTP auth.
Too late for 192.168.x, been using it for over 10 years and there are easy way to get
around the VPN issue, I just allocate an IP in 192.168.100.x and route that subnet.
I thought I was cool by using 172.22.1.0 /24 at home... until my employer started using 172.22.0.0 /16 and shipped a policy forcing all the /16 traffic to use the tunnel. Whenever the VPN was up I could no longer print at home. I ended up using another otherwise unused class A network (yes there are a few left). It will work fine, until you need other local resources when the tunnel is up and there is an address conflict.

Similar Messages

  • GWIA SMTP Authentication

    I've read a number of posts on this topic but still need some clarification.
    Please forgive my lengthy explanation as I'd like to lay out the scenario properly - my questions are at the bottom of this post.
    My current setup is Groupwise 7.0.3 with a GWAVA5 appliance as the front end.
    All mail should go through GWAVA both inbound and outbound.
    We have an MX record that points to our GWAVA5 appliance
    We also have smtp pointing to our GWIA server for imap/pop connections by our mobile users, with authentication required.
    I was advised by one of our users that he received mail containing an attachment "message.zip" which contained "message.htm" disguising an ".exe"
    containing a virus.
    The header showed the following, with the actual domain name changed by me for security reasons.
    The IP of the sender is intact.
    Return-path: <>
    Received: from "ourdomain.com" ([115.248.180.37])
    by "our_smtp_server.com" with ESMTP; Sat, 07 Apr 2012 07:07:41 -0400
    From: "Automatic Email Delivery Software" <[email protected]>
    To: [email protected]
    Subject: Delivery failed
    Date: Sat, 7 Apr 2012 16:35:33 +0530
    MIME-Version: 1.0
    Content-Type: multipart/mixed;
    boundary="----=_NextPart_000_0012_955492E2.6AD1CC6D"
    X-Priority: 3
    X-MSMail-Priority: Normal
    X-Mailer: Microsoft Outlook Express 6.00.2600.0000
    X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
    This is a multi-part message in MIME format.
    ------=_NextPart_000_0012_955492E2.6AD1CC6D
    Content-Type: text/plain;
    charset=us-ascii
    Content-Transfer-Encoding: 7bit
    The following is the entry from the GWIA log on the date in question:
    07:07:40 359 DMN: MSG 462912 Accepted connection: [115.248.180.37] ()
    07:07:41 359 DMN: MSG 462912 Receiving file: NCGWIA/DATA:\NCGWIA\WPGATE\GWIA\receive\db7ef7f4.224
    07:07:43 359 DMN: MSG 462912 SMTP session ended: [115.248.180.37] ()
    Questions:
    It appears that the sender attached to our GWIA and sent the message from there.
    The "mailer-daemon" indicates it was disguised to look like a system-generated bounce message.
    What in my configuration would allow this?
    Within the properties of my GWIA, I do not have "reject mail if sender's identity cannot be verified".
    I've read the admin guides on this feature and it seems to point to PTR records checks.
    Would that prevent this incident?
    We have a number of internal servers that do send mail, through our GWIA, and I have relay exceptions for those (otherwise relay is not allowed)
    If I set the "reject mail......" how will that affect those internal servers - will they need an actual account to authenticate with.
    Hope I've explained it clearly
    Thanks in advance
    Vince

    Thanks Uwe, but the sending machine is actually located "out there somewhere" [115.248.180.37] not on our network, so can't be checked.
    As you stated, I'm sure this isn't a relaying issue as we have relay disallowed, with exceptions.
    I suspect the mail went through because the sender used "[email protected]"
    Vince
    Originally Posted by buckesfeld
    Vince,
    find the machine with the sending IP address and check the machine.
    To prevent such issues, you could modify the access control of the GWIA and allow SMTP only for those machines/users who need it.
    Relaying doesn't come into play here, since the sender addresses an internal recipient, so no SMTP authentication needed.
    Uwe
    Novell Knowledge Partner (NKP)
    Please don't send me support related e-mail unless I ask you to do so.

  • SMTP authentication description

    Hi everyone :
    I don't know what is Ironport SMTP authentication feature after reading the Adv-UserGuide.
    Is it the smtp authentication use to authen the user connect to email server and How it work between email server and client if it is , As we know Ironport is email gateway , How Ironport can control the user connect to email server ?
    Is it only work for Outgoing email authentication ?
    thx thx !

    I would say that SMTP Authentication is most commonly used for a segment of your end users that are traveling on business or work outside of the internal company network and can't be connected directly to the company mailserver to send out their outgoing mail.
    Since a user outside the network may not be able to directly connect to the corporate mailserver, what mail administrators try to set up is the IronPort appliance to do smtp authentication against an Active Directory server for example and then if the sender authenticates, they'll be able to relay using the IronPort appliance.
    If you run into any problems or questions, feel free to post the issue here and we'll try to iron it out.

  • CFMAIL SMTP authentication with CF5

    I need to use CFMAIL to send email notifications via an
    exchange server. The issue: the server is running CF 5 and the
    exchange server requires SMTP authentication. As you may all know,
    there's no way to pass a username and password in CF5.
    So my question is, is there a module available for CF5 that
    will achieve similar results.
    Sadly I can't upgrade to CF MX 6, 7 or 8.

    It's been quite a while since I worked with CF 5, but you can
    try setting up the mail server address like this:
    username:[email protected]
    On a side note, is there any reason why you (or the client)
    are not considering an upgrade? I mean, I think HTTP 1.1 was still
    the standard when 5 was released - it's about 40 "
    technology years" old now. *just wondering*

  • Mail server - smtp configuration questions

    i'm having a bit of trouble getting clear on how mail configuration works, in particular the settings relating to smtp.
    here are some questions i hope someone help with:
    1. am i correct that settings made on the the settings>relay tab apply only to when my server is used as a relay - and therefore would not apply to general incoming smtp connections when another server connects to mine for delivery to locally-hosted domains?
    2. there are three settings on the settings>relay tab. basically they are: "accept relays only from the specified addresses", "refuse all messsages from the specified addressses", and "use these rbl servers". the first two can seemingly each be separately enabled/disabled in addition to being configured with one or more addresses. my question is what happens if neither of the first two is checked (enabled)? does my server accept relay connections from anywhere? or does it accept no connections at all?
    3 on the settings>general tab, there is a checkbox to enable smtp... one would assume that if this is unchecked, that this would disable all incoming mail AND smtp relay, yet it seems i can have this unchecked and i can still configure smtp relay on the settings>relay tab, so that seems odd - am i missing something?
    4) on the same tab, it asks for a domain name and a host name. how are these used? what is the difference between the two? does it matter if my host accepts mail for multiple hosts (via host aliases - configured via settings>advanced>hosting>local host aliases)?
    5) i want my server to accept mail to anywhere from authenticated users (i.e. users on my network who are sending mail to random other places). i want my server to accept inbound mail (to users on my locally-hosted domains) from any server without requiring authentication. my guess is that this is a pretty common or standard config. i am confused by the settings>advanced>security tab, where i can seemingly allow certain types of authentication.
    5a) what are the semantics of the multiple check boxes for the different types of auth? if i select only one, does it mean that my server will require that specific type of auth? if i select more than one, does it mean that my server will select any of the specified types? what if nothing is checked - is that how you tell it to allow unauthenticated users to connect?
    5b) do the above auth settings apply both types of incoming smtp connections i described above? how can i configure it so as require smtp authentication from clients but not from servers connecting from other networks to deliver mail to my domain?
    thanks in advance.

    I went to http://www.google.com and did a search for "smtp server" and the second entry it returned was this:
    "PostCast Server - free outgoing SMTP e-mail server
    ... notifications to your customers, as well as for sending individual messages. You
    can use it instead of the SMTP server of your Internet Service Provider. ...
    Description: Enables you to send e-mail directly from your computer, without your Internet Service Provider's server.
    Category: Computers > Software > Internet > Servers > Mail
    www.postcastserver.com/ - 33k - Cached - Similar pages "
    The Internet is a great resource, isn't it?

  • Mail service not requiring SMTP Authentication

    hello everyone,
    I have been trying to find an answer and could not. I want my mail server to require SMTP Authentication. I have "CRAM-MD5" and "Login" checked in Server Admin -> Computers & Services -> Mail -> Advanced -> Security. Still, I can set up a mail account with any name and domain and SMTP through my server. (It does require a password for POP, so at least no one can read others folks mail)
    I have begun to notice that I get many returned mails that I never sent, from accounts that are not on my server. So, I am thinking that spammers are relaying or just using my server to spam. I would like that to stop.
    I have changed the configurations with Server Admin, stopped service, started service, and even restarted the whole server. Still, mail will not require SMTP Authentication.
    Can anyone help me do this with Terminal or manually?

    thanks, for any help in advance.
    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 = no
    inet_interfaces = all
    localrecipientmaps = proxy:unix:passwd.byname $alias_maps
    luser_relay =
    mail_owner = postfix
    mailboxsizelimit = 0
    mailbox_transport = cyrus
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    mapsrbldomains =
    messagesizelimit = 52428800
    mydestination = $myhostname,localhost.$mydomain,localhost,highlevelit.eu
    mydomain = highlevelit.eu
    mydomain_fallback = localhost
    myhostname = mailx.highlevelit.eu
    mynetworks = 127.0.0.0/8
    mynetworks_style = host
    newaliases_path = /usr/bin/newaliases
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = postdrop
    smtpdclientrestrictions = permit_mynetworks permit
    smtpdenforcetls = no
    smtpdpw_server_securityoptions = login
    smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
    smtpdsasl_authenable = yes
    smtpdtls_certfile = /etc/certificates/mailx.highlevelit.eu.crt
    smtpdtls_keyfile = /etc/certificates/mailx.highlevelit.eu.key
    smtpduse_pwserver = yes
    smtpdusetls = yes
    unknownlocal_recipient_rejectcode = 550
    virtualmailboxdomains = hash:/etc/postfix/virtual_domains
    virtual_transport = lmtp:unix:/var/imap/socket/lmtp

  • I need to configure a smtp authenticated. How do i do that?

    I need to configure a smtp authenticated. How do i do that?

    Just sync your old phone with your computere with itunes and when you sync your new phone it will put your muxic and dcontacts into the new phone. Make sure you have sync checked in the settings box.

  • SMTP authentication in OCSR2 9.0.4.1

    I am setting the smtp authentication in OCSR2 to true, after that, when ever I sent mail thru the server, it need the smtp authentication. I thought I had been successfully configure the server. But later on, when I trying to send mail to the user in the OCSr2 server(from hotmail mail), the mail was reject due to the error"authentication failed".
    It seem that the authentication setting not only affect the mail relaying but also incoming mail connection. Is this true??

    I searched some more on the Forum and eventually found a whitepaper on PJC's in Forms 6i. That gave me the tip not to implement the IView interface, but just extend the VBean class.
    That's what I just tried and no more classCastException. That seems to fix my issue. No to develop the bean itself...

  • IDM Password Reset Authentication Questions

    Hi,
    We are implementing Password Self Service using IDM 7.1, everything is set up and we have tested and were able to reset password for users to connected target systems. we are now doing some cosmetic changes before going live, like
    setting up new authentication questions and changing existing questions from IDM.
    In total we have 10 questions and the way we set it is
    Minimum number of validation questions = 5
    No. of questions to show = 3
    No. of answers required = 3
    After setting all 10 questions, i took a new test id who was never set with a profile and set its profile with 5 random questions answers out of 10 and saved it, went back to   /idm/pwdrest  and entered the unique id which is the user id and the 3 challenge questions it showed up were not the ones i set my answers to.
    Why is it prompting the questions for which i have not set answers to ?
    Can anyone tell me if i am missing any config creating these attributes ?? or its the way IDM works ??
    Thanks.

    Greetings,
    It has been my experience that the system will show any of the available questions when a user has not had any answers set. Sometimes, there is a disconnect with the Unique ID entered and the user ID stored in the identity store and it just cannot find the stored answers. As long as the additional question attributes you created follow the existing convention, they should be fine.
    I would start by looking at what question attributes you have commited for the user and which ones show in the pwdreset task screen for the user. You can also run the guided task several times with the same ID to see what rotation of questions you see to see if it is going through all 10 or only a certain subset.
    Do you have a self-service task configured to set the question answers?
    Thanks,
    Jared

  • Moved from DC to NC now smtp authentication with Cox won't work on roadrunn

    I just moved from DC to NC. I have a cox.net email I prefer to use. Cox allows smtp authentication over other ISPs. I had RCN in DC and it worked perfectly. But now, with Time Warner (RoadRunner), it doesn't work. (Incoming still works fine, this is just about outgoing/smtp.) The smtp authentication is set up EXACTLY as it was in DC, but the connection just times out. Oddly, it works fine when I am connected directly to the cable modem. BUT, it does not work when I am connected to my wireless network using an airport extreme. I have deleted the smtp server a hundred times. I have selected SSL and unselected SSL a hundred times. I have tried no authentication. I have tried removing the "cox.net" after my name in the outgoing mail settings. I have reset the airport extreme to factory settings and set the network up again. NOTHING is working. Why would this work directly connected to the modem but not through the EXACT SAME WIRELESS NETWORK and settings I had with RCN??? Any tips/help is greatly appreciated. Oh, and all of my other non-RoadRunner smtp authentication accounts work fine. And my me.com email works fine.

    Thanks again, Bob! Here is the error I'm getting for all three usual ports (25, 465 & 587):
    CONNECTED Apr 07 08:26:51.776 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:smtp.west.cox.net -- port:465 -- socket:0x116c00450 -- thread:0x116f54800
    READ Apr 07 08:26:52.090 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:smtp.west.cox.net -- port:465 -- socket:0x116c00450 -- thread:0x116f54800
    554 fed1rmimpo03.cox.net bizsmtp connection refused from 71.77.138.209
    It looks to my untrained eye that the cox servers are refusing me. Is that correct? So I should call cox, right? And how do I find the IP address that I'm being refused under?
    Sorry to be so ignorant, but your help is greatly appreciated!

  • Smtp authentication 10.8

    Hi,
    In 10.7 we could lock the SMTP service down to requiring a username and password.
    In 10.8 it appears that anyone can send via the server, as long as they have the address. No very secure!!!
    We did a simple upgrade from 10.7-10.8.
    Obviously Server.app has been trimmed down severely, is there a way in terminal to require a user/password for SMTP authentication?
    Thanks

    Use jMapMyLDAP plugins and this config works perfectly:
    Name
    Value
    LDAP V3
    Yes
    Host
    [DNS/IP Address to LDAP Server]
    Port
    389
    Connect User
    Leave blank unless anonymous binding is switched off
    Connect Password
    Leave blank unless anonymous binding is switched off
    Use Search
    Yes
    Base DN
    [Base of your directory such as dc=company,dc=com]
    User DN / Filter
    (uid=[username])
    Map User ID
    uid
    Map Full Name
    cn
    Map Email
    mail
    The following table shows an example group mapping configuration:
    Name
    Value
    Use Group Mapping
    Yes
    Allow Additions
    Yes
    Allow Removals
    Yes & Default Managed
    Mapping List
    [The groups to map such as cn=teachers:4]
    Lookup Type
    Reverse
    Lookup Attribute
    memberUid
    Lookup Member
    uid
    Use Recursion
    No

  • Cannot send to some receipients with error "550-Please turn on SMTP Authentication in your mail client"

    I am using exchange 2003 connected using MAPI with outlook2010.
    when i send e-mail to one of my customer.
    i got below error message
    There was a SMTP communication problem with the recipient’s email server.  Please contact your system administrator.
    <xxxx.net #5.5.0 smtp;550-Please turn on SMTP Authentication in
    your mail client. >
    xxxx.net was my server
    and my customer was using messagelabs "cluster6a.us.messagelabs.com" to receive mail
    i was strange that MAPI connect does not need smtp authentication when send out e-mail.
    is that anythings i have missing to do?
    thank you

    Hello,
    Kindly go through with below link.
    http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_28133927.html
    http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_28078232.html
    Deepak Kotian.
    MCP, MCTS, MCITP Server / Exchange 2010 Ent. Administrator
    Disclaimer:
    Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognizes useful contributions. Thanks!
    All the opinions expressed here is mine. This posting is provided "AS IS" with no
    warranties or guarantees and confers no rights.

  • SMTP Authentication for PHP Mail

    Can anyone help me in figuring out the correct way to incorporate the SMTP authentication into a form? I am having a lot of trouble in getting my forms to send with this format. My code for my php action page is below. I have my correct information where i included *******. Please let me know what i have wrong.
    CODE STARTS HERE
    <?php
    //new function
    $to = "*******";
    $nameto = "LTL Freight Shop";
    $from = "*******";
    $namefrom = "LTL Freight Shop";
    $subject = "Account Request";
    authSendEmail($from, $namefrom, $to, $nameto, $subject, $message);
    ?>
    <?php
    $recipient  = "*******";
    //$subject = "Account Request";
    $companyname = check_input($_POST['CompanyName'], "Enter your company name");
    $firstname  = check_input($_POST['FirstName'], "Enter your first name");
    $lastname  = check_input($_POST['LastName'], "Enter your last name");
    $phone  = check_input($_POST['PhoneNumber'], "Enter your phone number");
    $fax  = check_input($_POST['FaxNumber']);
    $email  = check_input($_POST['Email'], "Enter your email");
    $address  = check_input($_POST['StreetAddress'], "Enter your address");
    $city  = check_input($_POST['City'], "Enter your city");
    $state  = check_input($_POST['State'], "Enter your state");
    $zipcode  = check_input($_POST['ZipCode'], "Enter your zip code");
    $country  = check_input($_POST['Country'], "Enter your country");
    $yearsinbusiness  = check_input($_POST['YearsinBusiness'], "Enter your years in business");
    $typeofindustry  = check_input($_POST['TypeofIndustry'], "Enter your type of industry");
    $multiplelocations    = check_input($_POST['MultipleLocations']);
    $numberoflocations  = check_input($_POST['LocationsCount']);
    $ltl  = check_input($_POST['ServicesLTL']);
    $ftl  = check_input($_POST['ServicesFTL']);
    $domesticparcel  = check_input($_POST['ServicesDomesticParcel']);
    $intlparcel  = check_input($_POST['ServicesInternationalParcel']);
    $airfreight  = check_input($_POST['ServicesAirFreight']);
    $oceanfreight  = check_input($_POST['ServicesOceanFreight']);
    $other  = check_input($_POST['ServicesOther']);
    $none  = check_input($_POST['ServicesNone']);
    $volume  = check_input($_POST['TypicalVolume'], "Enter your typical volume");
    $carrier  = check_input($_POST['CurrentCarrier'], "Enter your current carrier");
    $class  = check_input($_POST['AverageClass'], "Enter your average class");
    $weight  = check_input($_POST['AverageWeight'], "Enter your average weight");
    $process   = check_input($_POST['Process']);
    $hearabout = check_input($_POST['HearAbout']);
    $comments = check_input($_POST['Comments']);
    if (!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/", $email))
        show_error("E-mail address not valid");
    $message = "You have received an account request from:
    Company Name: $companyname
    First Name: $firstname
    Last Name: $lastname
    Phone Number: $phone
    Fax Number: $fax
    E-mail: $email
    Street Address: $address
    City: $city
    State: $state
    Zip Code: $zipcode
    Country: $country
    Years in Business: $yearsinbusiness
    Type of Industry: $typeofindustry
    Multiple Locations: $multiplelocations
    Number of Locations: $numberoflocations
    Services they use: $ltl, $ftl, $domesticparcel, $intlparcel, $airfreight, $oceanfreight, $other, $none
    Typical Volume: $volume
    Current Carrier: $carrier
    Average Class: $class
    Average Weight: $weight
    How they currently process: $process
    How they heard about us: $hearabout
    Comments: $comments
    End of message
    //ini_set("SMTP","smtp.emailsrvr.com");
    //ini_set("SMTP_PORT", 25);
    //ini_set("sendmail_from","*******");
    //mail($recipient, $subject, $message);
    function check_input($data, $problem='')
        $data = trim($data);
        $data = stripslashes($data);
        $data = htmlspecialchars($data);
        if ($problem && strlen($data) == 0)
            show_error($problem);
        return $data;
    function authSendEmail($from, $namefrom, $to, $nameto, $subject, $message)
    $smtpServer = "smtp.emailsrvr.com";
    $port = "25";
    $timeout = "30";
    $username = "********";
    $password = "********";
    $localhost = "smtp.emailsrvr.com";
    $newLine = "\r\n";
    $smtpConnect = fsockopen($smtpServer, $port, $errno, $errstr, $timeout);
    $smtpResponse = fgets($smtpConnect, 515);
    if(empty($smtpConnect))
    $output = "Failed to connect: $smtpResponse";
    return $output;
    else
    $logArray['connection'] = "Connected: $smtpResponse";
    fputs($smtpConnect,"AUTH LOGIN" . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['authrequest'] = "$smtpResponse";
    fputs($smtpConnect, base64_encode($username) . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['authusername'] = "$smtpResponse";
    fputs($smtpConnect, base64_encode($password) . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['authpassword'] = "$smtpResponse";
    fputs($smtpConnect, "HELO $localhost" . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['heloresponse'] = "$smtpResponse";
    fputs($smtpConnect, "MAIL FROM: $from" . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['mailfromresponse'] = "$smtpResponse";
    fputs($smtpConnect, "RCPT TO: $to" . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['mailtoresponse'] = "$smtpResponse";
    fputs($smtpConnect, "DATA" . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['data1response'] = "$smtpResponse";
    $headers = "MIME-Version: 1.0" . $newLine;
    $headers .= "Content-type: text/html; charset=iso-8859-1" . $newLine;
    $headers .= "To: $nameto <$to>" . $newLine;
    $headers .= "From: $namefrom <$from>" . $newLine;
    fputs($smtpConnect, "To: $to\nFrom: $from\nSubject: $subject\n$headers\n\n$message\n.\n");
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['data2response'] = "$smtpResponse";
    fputs($smtpConnect,"QUIT" . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['quitresponse'] = "$smtpResponse";
    function show_error($myError)
    ?>
        <html>
        <body>
        <b>Please correct the following error:</b><br />
        <?php echo $myError; ?>
        </body>
        </html>
    <?php
    exit();
    ?>

    I have the same problem - user has Outlook 2010 on Exchange 2007. Mail goes directly into the deleted items folder. After browsing around the net I found 2 different site with the same potential fix. It seems that when migrating a user from Exch 2003 to
    2007 (which we did) some of the configs get set incorrectly. The weird thing is we migrated over 2 years ago, and some others are experiencing the same after a long period after the migration. The fix that was suggested is:
    Go to your Exch server, open up Exchange Management Shell and type the following:
    get-mailboxcalendarsettings "domain/ou/user" | fl 
    set-mailboxcalendarsettings "doman/ou/user" -automateprocessing: Autoupdate 
    My user already had Autoupdate set, but this seems to have fixed it for me...

  • SMTP authentication problem

    I try to send mail with a Javamail client code (you can see the code below), it works fine if the mail server doesn't require SMTP authentication to be relay, but SendFailedException occurs if the mail server security setting is set to SMTP requires authentication (same settings as POP usr/pwd) on the mail server.
    I believe it is an issue of SMTP authentication.
    How do I code for SMTP authentication with Java Mail API?
    Thanks!
    Can Odabasioglu
    Source Code:
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.io.UnsupportedEncodingException;
    public class MailExample {
    public static void main (String args[]) {
    String host = "odabasioglu.net";
    String from = "[email protected]";
    String to = "[email protected]";
         try {
         Properties props = System.getProperties();
         Authenticator auth = new POPAuth ();
         props.put("mail.smtp.host", host);
         Session session = Session.getInstance(props, auth);
         MimeMessage message = new MimeMessage(session);
         message.setFrom(new InternetAddress(from,"FromName"));
         message.addRecipient(Message.RecipientType.TO,new InternetAddress(to,"ToName"));
         message.setSubject("Test Subject");
         message.setText("Can Odabasioglu");
         Transport.send(message);
         catch (MessagingException e) {e.toString();}
    catch (UnsupportedEncodingException e) {e.toString();}
    static class POPAuth extends Authenticator {
    public PasswordAuthentication getPasswordAuthentication() {
    return new PasswordAuthentication("UserName", "Password");
    }

    “Cannot send message using the server
    Mail.ISP.net:[email protected]
    …And provides the “Send message using:” pulldown to
    select one of two accounts (one is followed by
    “:[email protected]”, the other is not). Both are the
    same options the other two machines have, but neither
    option works on this machine.
    This is one of those error messages that they send application programmers to school for so that they can include error messages that don't tell you what the problem is.
    After much trial and error, I discovered that this message is returned if there is an error in the recipient's email address. Perhaps, if it was stored in the address book, it became corrupt. I've found that manually typing in the address (without automatically finishing it from cache) usually fixes the problem. I just spoke to a customer this morning with the same error message, and entering the recipient's email address manually corrected the problem.

  • NAC Guest Server SMTP Authentication

    Does anyone know if you are able to set your SMTP server in the NAC Guest Server to do SMTP Authentication? Our old Exchange server just let us specify the SMTP server and send the guest accounts their Username and Password to their outside accounts.  Our new Exchange server requires SMTP authentication, but we do not see the option available in the NAC Guest Server interface.  We are running NAC Guest Server 1.1.3.  Any ideas would be appreciated.  Thanks!

    I have Cisco NAC Guester server 2.0.2 and have sort of similar issues.
    I configured the Base DN to the OU of the sponsor groups in AD and then map that particular group in roles. Users from that group can log on fine and create guest accounts.
    The problem is, it seems that other users from that OU seems to be able to log on as sponsors too. How do I restrcit this to just that sponsore group? I tried changing the Base DN to the OU of the sponsore group then enter CN=sponsorgroup to narrow it to just that group but still other users can log in as sponsors.

Maybe you are looking for