How to configure an SMTP gateway

GW 7.0.1
We want to be able to send mail to our GroupWise system via SMTP.
What do I need to configure to implement this functionality?
Thanks,
John Fleming

The SMTP part of a Groupwise system is the GWIA
Cheers Dave
Dave Parkes [NSCS]
Occasionally resident at http://support-forums.novell.com/

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 configure multiple smtp servers per domain

    Hi,
    how do we configure multiple smtp servers per domain/corporate in iplanet messaging server 5.2. i wanted to do this so that i can configure some domains with virus scanning and some domains without antivirus.

    Hi Martin,
    Well we are trying to run a report without exactly specifying the name of reports server anywhere, e.g. in database or in form or anywhere else. Now if I do not supply a reports server name using RUN_REPORT_OBJECT, the error it displays is FRM-41211: Integration Error : SSL failure ... However if I specify the reports server name in the form, the reports run perfect. Also the name of reports server is specified in rwservlet.properties.
    Now the question goes as follows:
    Can I run my report from Form without specifying the name of the Reports server anywhere at all. This is so because either an in-process reports server should be picked or the one which is entered in rwservlet.properties should be pickec up by default. Please correct us if we are wrong. once we are through with it, we have to move to Oracle 10gR2 concept of reports server.
    Thanks in anticipation,
    Ruchi/Saurabh

  • How to configure Gamil SMTP in Project Server?

    In Project Server Alert Settings, I could notice only "smtp Server" , "port" and "from email" only, I want to use my "Gmail" or "Sendgrid" smtp setting in epm. In order to use those accounts i need a place
    to key in the account password. But i don't see any place to do that. Some one could you please help me how to configure this, Do i need to enable / install anything in order to make this work.
    Your reply is much much much helpful, and appreciated.
    Thanks

    Hi Jacob,
    Your email provider needs to accept unauthenticated connections.
    Please refer to this
    similar thread and this
    one also.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How to configure SMTP server in OSB eclipse platform

    how to configure the SMTP server in OSB eclipse platform......
    secondly.................the output email shud contain message sent and not the overview of the mail how do i do it

    How to configure the server? That depends on what server it is. If you are the administrator I would suggest finding the help file for the server and searching for the term "relaying". However I hope you are not, and can ask the real administrator.

  • SMTP Gateway address

    Hi,
    Where we configure the SMTP Gateway address for external mailing?
    Best regards
    Zied

    At transaction SCOT
    Read,
    http://help.sap.com/saphelp_nw04/helpdata/EN/af/73563c1e734f0fe10000000a114084/frameset.htm
    Regards
    Juan

  • How to Configure Multiple Relays / Mail Gateways

    Platform: Sun Solaris 8
    Software: iMS 5.2
    How to Configure two MX ( relay / Gateway servers) records in imta config file..? Our requiorement is to have two gateways defined ..for example "xyz.net" and "xyz.com". All emails destined to email addresses ending with ".net" should use the "xyz.net" gateway and rest of them should use the "xyz.com" gateway. and the configuration should be flexible enopugh to accomodate future additions to our gateways.
    An Early Response would be appriciated.
    Thanks
    Arun Addepalli

    Well, To point the outside mail servers to your gateways just put MX entries for each domain into DNS and point dns to the correct host for that domain.
    To make the mail server recognize the domain just create it in the ida and put the users under that domain. The users mailhost attribute will take care of letting the gateways know where to forward the mail so it will go to the correct host.
    If you need to do domain aliasing with the same users for both domains that is a bit different. Do you need to do this?

  • How to configure SMTP for iCloud?

    I have never used the Mail program on my macs. I started using Eudora in 1995 and when Mail came along some years later, i didn't take to it, it didn't have the functionality i needed and enjoyed. Fast forward to a couple days ago, my Snow Leopard MacBook is wearing out and i got a new MacBook Pro running Mountain Lion.  When i was setting up the new computer, i thought iCloud would be configured automatically. It wasn't because i have a couple of different Apple IDs but i think that is straightened out now and i'm signed in using the me.com email address and have my calendars and contacts syncing with iphone and my other computer. Mail is working, but only for my me.com email address which i rarely use.  I mainly use a gmail address.
    I don't want to use Mail and i don't want mail to be downloaded to it.  That happened on my other computur, so that i had tens of thousands of messages in a program i never open and don't use. So i somehow turned it off so it no longer gets the mail from my other accounts.  i don't want to receive email in Mail. But because i can't use Eudora in Mountain Lion, i need a new email client. Today, i downloaded and installed Mail Mate, i want to try it out.  When I tried to use Mail mate to send an email i got a message saying "No SMTP server configured for iCloud." i googled how to configure SMTP for iCloud and what i found said it configures automatically. So i don't know what to do. I went to ICloud in system preferences and i don't see anything i can do there. 
    Is there anything i can get it to do to configure automatically?   All my software is up to date, if that makes a difference.

    i was persistently googling search terms for this problem and came across a link that gave information to the effect that for non Apple email clients, SMTP has to be configured manually, and the settings were provided. I entered them into Mail Mate and now it works.  So thankfully, this problem is solved.

  • How to configure Symantec Mail Security for SMTP & Messaging Server 6.3

    Hi!
    I want to install a Symantec Mail Security for SMTP 5.0.1(host1) with Messaging Server 6.3 (in production - host2), but when I try to access to POP protocol to send a message from Internet, the system display a message with a relay problem.
    - Could you help me with this issue?,
    - Do you know some documentation that speaks of this?. I can't find any documentation that explain how to configure and integrate SMS and Messaging Server. Thanks in advance.
    Regards, CR

    ctemp1 wrote:
    I want to install a Symantec Mail Security for SMTP 5.0.1(host1) with Messaging Server 6.3 (in production - host2), but when I try to access to POP protocol to send a message from Internet, the system display a message with a relay problem.I take it that you have configured the symantec software like this?
    internet -> symantec mail security system -> sun messaging server -> recipientA better approach is the following
    internet -> sun messaging server -> recipient
                              |
                             V
                  symantec mail security system(refer here: http://blogs.sun.com/factotum/entry/messaging_server_correctly_deploying_the)
    - Do you know some documentation that speaks of this?. I can't find any documentation that explain how to configure and integrate SMS and Messaging Server. Thanks in advance.There is no documentation specifically for symantec software but we do document how to send emails via the symantec mail security server using the aliasdetourhost channel keyword:
    http://docs.sun.com/app/docs/doc/819-4428/6n6j42615?a=view#bgaqy
    Regards,
    Shane.

  • Securely Configure HT to Accept E-mails from non-Exchange SMTP Gateway

    Hi
    We have setup a new Exchange 2010 environment. We are not using Edge Transport servers as SMTP gateway, rather using a hosting service named ProopPoint. The ProofPoint gateway accepts e-mail for our SMTP domain
    and after performing anti-spam etc. functions, is supposed to send e-mail to internal Hub Transport servers in our domain. We need to allow the ProofPoint servers to send e-mail to our HT servers (HT servers should accept connections from ProofPoint servers).
    I know that I can go to the “Default <Sever_Name>” receive connector on each HT and on the
    Permissions Group tab check the “Anonymous Users” to allow ProofPoint servers to be able to submit e-mails to HTs but that won’t be a good idea as (I think) this would make my HT as “OPEN RELAY” (pls. correct me if I’m wrong)
    as that Default connector is configured by default to listen from any IP addresses. So want to know:
    If this is the only way I could achieve this?
    If I configure a separate “Receive Connector” on my HT servers and configure only IP Addresses of the ProofPoint to be able to submit e-mails to HT – Will this work?
    Also, is there a way I can restrict user(s) in Exchange 2010 to send only 30 messages per minute?
    Any ideas and/or supported documents would be highly appreciated….
    Regards
    Taranjeet Singh
    zamn

    Hi
    When I create a new Receive connector, I have to specify the type "Intended Use" of the connector in terms of Internal/Custom/Internet etc.. What option do I need to select here?
    If I select Internet, I do not get any window to put Remote IP Address and if I just go with default configuration in the connector creation, it gives me the following error:
    Failed
    Error:
    The values that you specified for the Bindings and RemoteIPRanges parameters conflict with the settings on Receive connector "<Server_Name)\Default". A Receive connector must have a unique combination of a local IP address, port bindings, and remote IP address
    ranges. Change at least one of these values.
    Click here for help...
    http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.2.309.2&t=exchgf1&e=ms.exch.err.Ex142B4F
    Exchange Management Shell command attempted:
    new-ReceiveConnector -Name 'Test' -Usage 'Internet' -Bindings '0.0.0.0:25' -Server 'Server'
    Elapsed Time: 00:00:00
    Also, what options do I need to select on the "Authentication" and "Permissions" tabs of the connector?
    Regards
    Taranjeet Singh

  • How to Configure internet channel to a relay SMTP server

    Hi men,
    My problem is How to Configure internet channel(or outbound mail) sending to a relay SMTP server. I want to test my spam software.
    I have search and read Sun Messaging Administration document but haven't fought the guide.
    ./imsimta version
    Sun Java(tm) System Messaging Server 7.0-0.04 32bit (built Jun 20 2008)
    Thank and Regards,
    Duc Tien.

    tien86 wrote:
    My problem is How to Configure internet channel(or outbound mail) sending to a relay SMTP server. I want to test my spam software. You can use the daemon channel keyword with the tcp_local channel e.g.
    ! tcp_local
    tcp_local smtp nomx multiple remotehost inner switchchannel identnonenumeric \
    pool SMTP_POOL maytlsserver maysaslserver saslswitchchannel tcp_auth loopcheck \
    daemon relay.yourdomain.com
    tcp-daemonIf the relay SMTP server only has an A record then use "nomx" instead of "mx".
    http://msg.wikidoc.info/index.php/Mx%2C_nomx%2C_nodns%2C_defaultmx%2C_randommx%2C_nonrandommx%2C_nameservers%2C_defaultnameservers_Channel_Options
    The "multiple" keyword instead of "single_sys" helps performance by increasing the number of emails per connection when sending to a relay system.
    http://msg.wikidoc.info/index.php/Multiple%2C_addrsperfile%2C_single%2C_single_sys_Channel_Options
    Regards,
    Shane.

  • 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.

  • How to Configure SMTP Port in ODI

    Hi,
    Someone know how to configure SMTP port in the ODI tool? I tried changing the port number in the odiparams but I still encountered an error:"Could not connect to SMTP host." when executing the odisendmail package object though I can access the SMTP Server thru tracetcp.
    TIA,
    Cathy

    950484 wrote:
    Hi Bhabani,
    Thanks for the quick response :) . I saw your post and its a nice approach in sending mail instead of using an odi package object odisendmail. However, the requirement is not to use the gmail credentials but to use the credentials provided to us. But I noticed that the port used for the SMTP server is not the default port number which is 25. So I am guessing that the reason why I cannot connect to the SMTP host is because of the port number. Do you know how to solve this?If you want to change the SMTP port then do the following
    edit smtplib.py located at <ODI_HOME>/oracledi/lib/scripting/LIB
    change SMTP_PORT to what ever port you want .
    restart ODI
    execute your mail sending program

  • How to configure sendmail to act as a mail gateway and relay mails???

    I installed the Solaris (Intel) v.8 (10/01) in my external network. Now, I want to configure it as a mail server and as a mail gateway between my internal mail host and itself.
    I think I have read all documentation which comes in Answerbook2 about mail gateway.
    I added some aliases to the aliases file in /etc/mail and executed the newaliases command.
    The aliases pointed to my mail host which is in my internal network.
    I included the IP address and the name of the mail host in the /etc/hosts
    I can telnet the internal mail host and I can connect to it and verify the internal account thru:
    mconnect "mail host"
    vrfy "account"
    But when I do
    /usr/lib/sendmail -v "alias" < /dev/null
    it translates the alias to the account in the internal mail host but it returns to me
    "account" ... User Unknow.
    When I try to use the mail server from one client in my internal network (I configure my mail client to use as Outgoing server the server in the external network) to send mails I receive the error:
    550 5.7.1 Relaying denied. IP name lookup failed
    I create a file called "access" and create the binary called "access.db" (makemap hash access < access), but it doesn�t work.
    I think that maybe the sendmail.cf doesn�t recognize the access file but I�m not sure. I have worked with other "sendmail" version under others OS (RedHat Linux) but the files are quite differents.
    Would you please help me?

    I found the way to do it and this is the procedure
    How to implement the mail gateway on Solaris 5.8
    You have to make changes in 3 different places
    1.- Files in /etc/mail (sendmail files)
    2.- /etc/hosts file
    3.- DNS files and /etc/nsswitch.conf file
    1.- Files in /etc/mail
    1.1.- Backup your existent sendmail.cf file and copy the main.cf file as
    sendmail.cf (cp /etc/mail/main.cf /etc/mail/sendmail.cf)
    1.2.- If you want to accept mail for entire domain in your mail gateway (your mail
    server is an MX record in the DNS files), you�ll have to modify the sendmail.cf
    file editing the line Dj as Dj$m or if you want to accept just mail for your specific
    server you must put Dj$w.$m (be carefull to avoid spaces).
    1.3.- Change in the sendmail.cf file the DM parameter adding ddn. It should
    looks like DMddn (no spaces anywhere).
    1.4.- Insert a line for the Dm parameter, which should include your domain
    (ex.:Dmyourdomain.com, be care with spaces). If you have defined multiple
    domains, add a line with Cm and put the domains one after other separated by
    spaces. You have to put a space between Cm and the first domain
    1.5.- Add the following rule in the ruleset, don�t use spaces, use tabs as
    separator:
    R$*<@$*.$+>$* $#ddn $@ $2.$3 $:$1<@$2.$3>$4 [email protected]
    1.6.- If you find the following rule in the ruleset you should comment out it.
    R$*<@$*.$+>$* $#$M $@$R $:$1<@$2.$3>$4 [email protected]
    1.7.- If your host is receiving mail under different names for "local" delivery,
    often you need to define those hosts in a "Cw" line and put the names one after
    other separated by spaces. You have to put a space between Cw and the first
    name.
    1.8.- If you want to relay mails to different domains or subnets you can include
    them into the file relay-domains. Each record in this file is a domain name (like
    sun.com) or a subnet (like 192.0.0., be carefull with last dot).
    1.9.- To test your sendmail service you have to stop and start it
    (/etc/init.d/sendmail stop; /etc/init.d/sendmail start) and you can do the following:
    1.9.1- To get basic debug information type:
    /usr/lib/sendmail -bt -d0.1 < /dev/null
    1.9.2- To test the conection:
    mconnect "mail server"
    vrfy "any alias"
    1.9.3- To test the alias you inserted into aliases file (remember run newaliases
    command after insert them).
    /usr/lib/sendmail -v "any alias" </dev/null
    2.- The /etc/hosts file:
    2.1.- You must include in this file the IP address server, its nickname
    (servername), its extended nickname (servername.domain), the word
    "mailhost", the word "mailhost" and your domain (mailhost.domain) and the
    word loghost.
    2.2.- If you wish you can include all the servers that you want in the file. You
    should do this is to avoid the use of DNS service translation.
    2.3.- Check the DNS service thru nslookup servername (ex. Nslookup
    sun.com), then test nslookup to your mail gateway
    3.- DNS files and /etc/nsswitch.conf file
    3.1.- Include a MX record for your mail gateway as the mail host for the entire
    domain and verify that each record into the zone files include the MX record.
    These files are in your DNS server (nameserver).
    3.2.- Check your /etc/nsswitch.conf file. The record host must include files and
    dns. It must look like
    hosts: files dns

  • How to configure default gateway Solaris 9

    How to configure default gateway using /etc/gateways file (NO /etc/defaultrouter).
    The line "net default gateway ip_router metric 1 passive" produce the following error message:
    in.routed: bad net "default" in /etc/gateways entry "net default gateway ip_router metric 1 passive"--cannot be default.
    With Solaris 8 is ok.
    Can you help me.

    you've probably worked this out by now, but this may help others;
    net 0.0.0.0 gateway x.x.x.x metric 1 passive
    * x.x.x.x = your gateway IP

Maybe you are looking for

  • ITunes won't open after I declined upgrade

    I opened iTunes and was in the iTunes store when the upgrade window popped up. I clicked to continue without downloading and iTunes shut down. Now I cannot get the application to open. I tried the tabs pinned to my taskbar, the desktop and the start

  • Sub-contracting: difference in Accounting

    Hi guys, I am using release 4.7 and we are discussing about 2 different ways to proceed sub-contracting. 1. Sub-contracting is handled only in MM: PR>PO>GR 2. Sub-contracting is handled as an external operation in routing: Prod.Order>PR>PO>GR>Confirm

  • My external harddisk formatted in one iMac can only read in other iMac. How to make enable read

    Why my external harddisk formated as R&W for one imac will remained for use in that imac only. When I bought a new imac the external hard disk end up can Read only. Shouldn't it remain the same as R&W? There is no way you can set back to R&W for my n

  • Burning Mp4 to DVD

    Does anyone know how to burn mp4's downloaded from the iTunes store onto a DVD that can be played in a DVD player?

  • Production and Development Database Connections

    Within JDeveloper I have created a database connection to a DEVELOPMENT database and am exposing PL/SQL packages in the development database as web services. I can develop and test successfully the exposed packages as web services, and can deploy and