Mailman: How to use SSL SMTP server?

It turns out that AOL rejects email sent to any of the email lists I have set up on my Snow Leopard Server system, because they require all sending hosts to have a fully qualified domain name.
My ISP, Verizon, requires SMTP communications to be encrypted via SSL and on Port 465. How do I tell Mailman to use the appropriate parameters?
I have learned that one modifies a configuration file at /usr/share/mailman/Mailman/mm_cfg.py . Will restarting the Mailman process by doing a "/usr/share/mailman/bin/mailmanctl restart" make the changed configuration effective?

For starters, consider using UTL_MAIL instead as it's easier than using the UTL_SMTP stuff...
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/u_mail.htm

Similar Messages

  • How to configure the smtp server..

    i had an error when running the java mail program..
    this is my program
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    import java.io.*;
    import java.util.Properties;
    public class MailClient
    public void sendMail(String mailServer, String from, String to,
    String subject, String messageBody,
    String[] attachments) throws
    MessagingException, AddressException
    // Setup mail server
    Properties props = System.getProperties();
    props.put("mail.smtp.host", mailServer);
    // Get a mail session
    Session session = Session.getDefaultInstance(props, null);
    // Define a new mail message
    Message message = new MimeMessage(session);
    message.setFrom(new InternetAddress(from));
    message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
    message.setSubject(subject);
    // Create a message part to represent the body text
    BodyPart messageBodyPart = new MimeBodyPart();
    messageBodyPart.setText(messageBody);
    //use a MimeMultipart as we need to handle the file attachments
    Multipart multipart = new MimeMultipart();
    //add the message body to the mime message
    multipart.addBodyPart(messageBodyPart);
    // add any file attachments to the message
    // addAtachments(attachments, multipart);
    // Put all message parts in the message
    message.setContent(multipart);
    // Send the message
    Transport.send(message);
    protected void addAtachments(String[] attachments, Multipart multipart)
    throws MessagingException, AddressException
    for(int i = 0; i<= attachments.length -1; i++)
    String filename = attachments;
    MimeBodyPart attachmentBodyPart = new MimeBodyPart();
    //use a JAF FileDataSource as it does MIME type detection
    DataSource source = new FileDataSource(filename);
    attachmentBodyPart.setDataHandler(new DataHandler(source));
    //assume that the filename you want to send is the same as the
    //actual file name - could alter this to remove the file path
    attachmentBodyPart.setFileName(filename);
    //add the attachment
    multipart.addBodyPart(attachmentBodyPart);
    public static void main(String[] args)
    try
    MailClient client = new MailClient();
    String server="smtp.canvasindia.com";
    String from="[email protected]";
    String to = "[email protected]";
    String subject="Test";
    String message="Testing";
    String[] filenames ={"c:/A.java"};
    client.sendMail(server,from,to,subject,message,filenames);
    catch(Exception e)
    e.printStackTrace(System.out);
    the error is .................
    javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    com.sun.mail.smtp.SMTPAddressFailedException: 553 Attack detected from p
    ool 59.144.8.116. <http://unblock.secureserver.net/?ip=59.144.8.*>
    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
    at javax.mail.Transport.send0(Transport.java:169)
    at javax.mail.Transport.send(Transport.java:98)
    at MailClient.sendMail(MailClient.java:47)
    at MailClient.main(MailClient.java:84)
    Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 553 Attack detected fro
    m pool 59.144.8.116. <http://unblock.secureserver.net/?ip=59.144.8.*>
    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
    ... 5 more
    how to configure the smtp server in my machine..
    please guide me...

    This uses gmail account, and gmail smtp
    * MailSender.java
    * Created on 14 November 2006, 17:07
    * This class is used to send mails to other users
    package jmailer;
    * @author Abubakar Gurnah
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    public class MailSender{
        private String d_email,d_password;
         * This example is for gmail, you can use any smtp server
         * @param d_email --> your gmail account e.g. [email protected]
         * @param d_password  --> your gmail password
         * @param d_host --> smtp.gmail.com
         * @param d_port --> 465
         * @param m_to --> [email protected]
         * @param m_subject --> Subject of the message
         * @param m_text --> The main message body
        public String send(String d_email,String d_password,String d_host,String d_port,
                String m_from,String m_to,String m_subject,String m_text ) {
            this.d_email=d_email;
            this.d_password=d_password;
            Properties props = new Properties();
            props.put("mail.smtp.user", d_email);
            props.put("mail.smtp.host", d_host);
            props.put("mail.smtp.port", d_port);
            props.put("mail.smtp.starttls.enable","true");
            props.put("mail.smtp.auth", "true");
            //props.put("mail.smtp.debug", "true");
            props.put("mail.smtp.socketFactory.port", d_port);
            props.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
            props.put("mail.smtp.socketFactory.fallback", "false");
            SecurityManager security = System.getSecurityManager();
            try {
                Authenticator auth = new SMTPAuthenticator();
                Session session = Session.getInstance(props, auth);
                //session.setDebug(true);
                MimeMessage msg = new MimeMessage(session);
                msg.setText(m_text);
                msg.setSubject(m_subject);
                msg.setFrom(new InternetAddress(m_from));
                msg.addRecipient(Message.RecipientType.TO, new InternetAddress(m_to));
                Transport.send(msg);
                return "Successful";
            } catch (Exception mex) {
                mex.printStackTrace();
            return "Fail";
        //public static void main(String[] args) {
        //    MailSender blah = new MailSender();
        private class SMTPAuthenticator extends javax.mail.Authenticator {
            public PasswordAuthentication getPasswordAuthentication() {
                return new PasswordAuthentication(d_email, d_password);
    }

  • How to setup the SMTP server in Oracle apps?

    Hi,
    How to setup the SMTP server in Oracle Apps? Is it mandatory to keep the SMTP server on the same host where the Oracle data base is installed? Also can someone help how we can set up the SMTP server on different host (not the Database server) and we can use the same for Workflow notification mailer.
    Thanks,
    Bijoy
    Edited by: user12070886 on Feb 6, 2013 4:26 AM
    Edited by: user12070886 on Feb 6, 2013 4:27 AM

    How to setup the SMTP server in Oracle Apps? Is it mandatory to keep the SMTP server on the same host where the Oracle data base is installed? No, it is not mandatory. Also please note that the mails are sent out from concurrent manager mode. Not from the database node.
    Also can someone help how we can set up the SMTP server on different host (not the Database server) and we can use the same for Workflow notification mailer.
    >
    It depends on the operating system you are using. If you are using *nix then sendmail needs to be configured.
    Thanks

  • How to use  SSL Technology in JSP.

    Can anybody Tell me that How to use SSL Technology in JSP ?
    I am using Apache Tomcat 5.0.28 Server.
    How to configure the Tomcat server so that it will access any web application supported by Tomcat via SSL ?
    Thank you very much in advance.

    The JSP does not need to know that the request is coming over SSL. If the application must be over SSL, but the server also allows non-SSL communication, then, like I said, you need to build in a Filter that will check if the incoming request is an https or http request and redirect to the https url if the request was http. And you can do that using the method listed in the previous post. As far as setting up the SSL certificate for Tomcat to use, refer to the Tomcat Documentation that comes with the server. Other than those two things, you don't need to know anything else about SSL inorder to run an SSL application through a Tomcat server (or any other enterprise server either, for that matter), but do an internet search for SSL and maybe one or two other keywords that apply to your situation and you should find plenty that will help.

  • Who has figured out how to use a print server with LR 2.1?

    Who has figured out how to use a print server with LR 2.1?
    Mac OS 10.4.11, G5 2.3 dual, 8 GB RAM. PS CS 3 Dual monitors
    Print server is Mac G4 dual 533 (audio)
    Epson Pro 9600 and Epson R2400 Both are connect by USB. Could be connected with FW 400.
    I can use a print server with PS However color management does not come through when using a print server and LR. Image prints, but color horrendous.
    All custom .icc profiles are on both the G5 and the print server, G4 dual 533 (audio)

    Hi,
    Based on my research, if we want to filter events based on user name, we need to edit the XML query.
    Please refer to this blog below:
    Advanced XML filtering in the Windows Event Viewer
    http://blogs.technet.com/b/askds/archive/2011/09/26/advanced-xml-filtering-in-the-windows-event-viewer.aspx
    Best Regards,
    Amy

  • How to use Apache Web Server?

    Hi all,
    How to use Apache Web Server?
    Thanks
    contact me: [email protected]

    i do not know for certain about the jsps you're talking about, but i would guess they should run just fine under jrun, and you wouldn't have to make jrun and jserv coexist.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by One:
    Hi ilya:
    Thank you for your quick reply.
    I will try that way but I wonder if the thing like "how about the *.jsp developed by the JDeveloper and BC4J run under JRun; could and is it necessary to make the Apache+JServ and Apache+JRun co-exist ... "<HR></BLOCKQUOTE>
    null

  • How to use Mac Mini Server as NAT with only one port??

    How to use Mac Mini Server as NAT with only one ethernet port??

    But why did apple sell me this server that does NAT with one port? I don't get it.

  • HT4519 How do I use one smtp server for multiple accounts?

    I have 5 email accounts on my iPhone.Though they are different providers, I've been using the same smtp server. To simplify my life, I'd like to delete 4 servers. However, each is considered a Primary server and is undeletable. How do I get around this?

    Direct your downloads to Users-Shared

  • How to use SSL certificates in OSX Server

    I have setup OSX server with a host name that is pointed properly to my OSX server. My question is about using certificates that were purchased through my domain registrar.
    I bought a cert and after the validation process, I was given a link to download 4 certificate files.
    AddTrustExternalCARoot.crt
    DV_NetworkSolutionsDVServerCA2.crt
    DV_USERTrustRSACertificationAuthority.crt
    [domain name].crt
    So after downloading these and opening them one by one, I installed them in the keychain as a system cert.
    The part I cant figure out is how to use the domain cert instead of the one that the server creates upon completion of setup (the self signed one).
    On the certificate selection in the sidebar, I can choose Import a certificate identity, but when I drag my domain cert into the box, it shows up as a non-identity cert and the Import button is still grayed out. I dragged all four certs there and all of them show as non-identity certs.
    If I go down the path of the Get a Trusted Certificate, it takes me through the CSR request which I dont think I need since i have my certificates already.
    Am I missing a step? Or do I need to export from the keychain, then import into the server application? Seems like the new certificates should show up in the server application. Any help would be greatly appreciated.

    I got the answer and wanted to post for anyone that happened to have this question.
    During the SSL cert setup, it asks where your domain is hosted and since it was hosted by Network Solutions, I chose that option which doesnt do the CSR request. I had to choose Other/VPS.
    Once I did that, I was able to generate a CSR in the server application and get my certificate issued again by pasting the request code on my registrars website. Once I received those certs, I dragged my domain cert into the Pending one listed in the certificate list.
    Also I chose Apache/ModSSL as the type of server. Hope that helps and new people like myself in setting up the server application.

  • How to config Gmail SMTP server for Crystal Report servers

    Hi Experts,
    My customer is using Gmail. They need to send out email from Gmail account via Crystal Reports Server to do some reports bursting.
    I tried many ways to setup in both CrystalReportJobServer and DestinationJobServer, but just got the following error message.
    [AccountsID (8caa73d5-fd2d-469d-8ef2-4d8bd277dc20)]. login error. [[CrystalEnterprise.Smtp] ([1]/[1])]: [SMTP Server does not support authentication. Return code: [SMTP 502 - Command not implemented.].] (FBE60013)
    User name and password are correct. It seems it just cannot get authentication.
    Anyone can help? Thanks in advance.
    Regards,
    Christina

    Hello,
    Sebastian is right. BO doesn't support SSL for email.
    However, there is a workaround by using a program sTunnel which redirects a default connection to a SSL connection.
    Have a look at the note 1611420 which explains on how to do it.
    (https://bosap-support.wdf.sap.corp/sap/support/notes/1611420)
    This will not be supported by BO of course but feel free to test it
    Regards,
    Philippe

  • How can I control SMTP server list in Mail?

    I've seen a lot of discussion about e.g. deleting servers, but it often includes smug replies like "click the delete button" when there is often no such button. I have found a possible 'get around' to this particular problem by changing the server data to something that doesn't exist, save that, then select the server again from the list and hey presto, there is now a Delete button you can use. But again, that is not the full story because if that server is used as the primary server for any other account, you cannot modify the data.
    Not only that, but you CANNOT simply swap servers so that e.g. an account uses one of the other servers as its primary server. Unless I'm missing something major here, it is NOT possible to move servers. You can change the data for the server to be exactly the same as another server, but that just means you now have an identical duplicate. Once a server entry has been created, it is an independent data entity.
    So I seem to have several problems here.
    1. A server cannot be deleted if it's in use as a primary for any account.
    2. Servers cannot be moved, i.e. swapped between 'Primary' and 'Other'
    3. Simply editing the server data does not 'merge' it with any other entry that may have the exact same data.
    4. When creating an account, you cannot pick the outgoing SMTP server from the list of ones already created. Simply entering the same data as one that already exists may use that existing server, but may create a new duplicate. I have seen both of these occur and once there's a duplicate, you cannot get rid of it.
    I want 3 accounts to all use the same 'Primary' server and also have the same 'Other' server. IOW, only 2 actual servers. After the first 2 accounts are created, that's what I have. Somehow they seem to be able to 'share' the same servers. But when I create the third account and enter the same data for its SMTP server as the others use as their primary (i.e. exactly the same process as when creating the second account), for some reason it does NOT use the existing matching server and I now get a third server created. I simply cannot get around this since whatever I do, each of the duplicates is used as a primary and so cannot be deleted. If I could swap them around so that the third account was using another account as its primary, then I could delete the duplicate and all would be well, but as pointed out above, that's not possible.
    I'm hoping that I'm simply wrong about all this and it is actually possible to do what I currently believe it impossible. Can anyone explain how to actually control this server list?

    can't edit SMTP server list in Mail
    i have exactly the same problem using 10.9.4 - did you ever get a reply?

  • How to use a com server develpped in python

    Hi,
    I am trying to use a Com server, developped with python to communicate with an equipment.
    The server is working fine if  called from VBScript ex:
    Set device = CreateObject("My_server")
    msg = device.DetectTactic(NomTACTIC,portCom).
    I have tried through the ActiveX AutomationOPen, but my Com server doesn't appear in the List.
    How can I correctly register this Server (I have only done a regsvr32 Path/Myserver.dll command)
    Any help will be welcome.
    Best regards
    Marc Baulin

    Hi,
    To select an ActiveX, you have to place an refunum automation on your front-panel and then right click >> Select ActiveX class >> Browse. Your server should appear in the list.
    On the follow link, you will find how manually Register Type Libraries, ActiveX Controls, and ActiveX Servers :
    http://digital.ni.com/public.nsf/websearch/4F811A9​B23F1D46E862566F700615B7A?OpenDocument
    Hope its help.
    Regards,
    Isabelle
    Ingénieur d'applications
    National Instruments France

  • How to use 2 FTP Server in ALSB 3.0

    We want to provide ftp tunneling functionality to any Billing System for ftping files to Payment Gateway System.For this we have one FTP server at Billing System and another FTP server at Payment gateway.We first need to pick the file from File System of Billing computer(using FTP server) and then transfer that vile via ALSB to File system of Payment Gateway(using FTP Server).Now I would like to know:
    1) How to configure 2 FTP server in ALSB(in a single known_host file) ?
    2)How many proxy and business services we need to make to complete this flow of transferring files?
    If any one has some examples or config.jar files for the above scenario of transferring files,please chare it, that would be great help.
    Thanks in advance!

    Hi all,
    i am using osb10g3r ftp business service to poll the remote directory to retrieve file from there.i have configured download,error,archive directories accordingly. I am trying to read the file from the download directory to process the file , through a java call out. But while testing i am getting a exception, filenot found exception from the download directory.
    can someone help me on this
    Regards
    shan

  • Where(How to change the SMTP- Server

    Hello,
    i'm using the OAS 10.1.2.0.2
    While installation OAS i entered the name of the actual working SMTP- Server.
    Sending mails worked fine until today.
    Now the name of the SMTP- Server has changed and i wanted to change it(the name) in the Application Server, but i didn't find one/all place(s) where i had to change the name(s) of the SMTP- Server.
    Is there anyone who can help me??
    Thanks a lot.
    Best regards.
    Florian

    Refer this:
    http://download.oracle.com/docs/cd/B14099_19/core.1012/b13995/reconfig.htm#sthref681
    Thanks
    Shail

  • How to use the web server tips (connected/disconnected)?

    Using the web server tips into a VI to know when a client is connected or disconnected.
    Hello Everyone
    I want to use the tips that appear when a remote user gets control of my VI via web server. That way I will be able to trigger some other operations as soon as the user gets in or out my VI. How can I extract the information that contains that (user has or has not control). I hope you can help me.
    Regards
    Marco Roman

    There is a VI method called Remote Panel Client Connections. It returns an array of clusters with connection information and also has a Controller output. If the controller output is -1, no clients are connected.

Maybe you are looking for