Create a java SMTP Server on localhost
URGENT !!!
Can Anybody here help me to find out the ways to create a SMTP server (usinf RFC 2821 )which can connect to any email client such as Outlook Express?...
thanks..
must stick to java implementation? why not trying one of those free smtp server avaiable?
i use 602 Lan Suite, simple enough
Similar Messages
-
Fixing the SMTP server of localhost
I have installed the role of the SMTP server in my VPS and it's okay as you see there is a red mark on.
screenshot : prntscr .com/46tup6
(remove the space in the link between the "r" and ".", my account is not verified to post links) i want to fix this problem and need tomake the SMTP working normal.
I think only can you can help me fix this hope you answer me soon!
Thanks,Hi MalikMax,
Did you confirm your SMTP configuration completed? You can refer the following related third party article to complete your configuration first.
How to set up an Internal SMTP Service for Windows Server 2012 Essentials
http://blog.powerbiz.net.au/exchange/how-to-set-up-an-internal-smtp-service-for-windows-server-2012-essentials/
More about the IIS question please post to the IIS forum.
IIS support forum
http://forums.iis.net/
Thanks for your understanding and support
Hope this helps.
*** This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites;
therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure
that you completely understand the risk before retrieving any software from the Internet. ***
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Running a SMTP server on localhost?
hey there,
im using easyPHP to test my scripts on my local machine
before my site goes live. the problem is, i have no way of testing
if my email functions are working. does anyone know of a good
open-source mail server that i could install on my local machine
that will work with easyPHP; or another solution to the problem? My
local machine is running windows XP, so my local configuration is
WAMP, and my remote server is going to be a LAMP configuration. Any
help would be greatly apreciated! Thanks!hey there,
im using easyPHP to test my scripts on my local machine
before my site goes live. the problem is, i have no way of testing
if my email functions are working. does anyone know of a good
open-source mail server that i could install on my local machine
that will work with easyPHP; or another solution to the problem? My
local machine is running windows XP, so my local configuration is
WAMP, and my remote server is going to be a LAMP configuration. Any
help would be greatly apreciated! Thanks! -
Any SMTP server to send emails from Localhost ??
Hi,
i want to email user,
is there any FREE SMTP server available to download to use it in localhost PC, that i can use to configure it and send my email to the user at perticular email ID from My LOCALHOST PC ?
i need authentication to send emails..
so i need my own java SMTP server for localhost to send EMAIL
my Email Application is ready and running.
but i need SMTP server
Please give me solutions.....http://java.sun.com/products/javamail/FAQ.html#servers
And of course http://sendmail.org/ -
Sun java messaging server sundomain
Please help me i want to create sun java messaging server sundomain
Regards
kkdasmark42324 wrote:
commadmin domain create –D admin –d hcu.physics.in.domain –n domain –w adminpass –S mail,cal,im –H mailhost
commadmin domain create –D admin –d hcu.math.in.domain –n domain –w adminpass –S mail,cal,im –H mailhostI'm glad you understood the question. The alternate interpretation is they wanted additional email addresses for the same user which they would do via the DA GUI.
NB: the above commands will only work with Delegated Administrator 7.0 which introduced the "im" service. For DA6.4 you would use "-S mail,cal".
Regards,
Shane. -
Changing Oracle XE SMTP server.
I am running Oracle XE on Vista Home Basic and as you may expect this version of Vista doesn't run SMTP or WWW server. Anyways, I wanted to use a remote SMTP sever, say smtp.mydomain.com. I found where to change the default SMTP server from "localhost" to "smtp.mydomain.com" - it is on
Home>Application Builder>Application Administration>Email Configuration>Email Environment Settings
the problem is that my SMTP server requires autentication and I see no place where to enter the user name and password. Can somebody help me with this?
GeorgeYou can achieve your objectives by using the UTL_SMTP package.
UTL_SMTP
{message:id=1320165}
{message:id=3416587}
{thread:id=288758}
{message:id=3649012}
{message:id=1426409}
{message:id=932565}
Regards,
PhiriAPEX SMTP Search Reults<a/>
{message:id=1320165}
{message:id=3416587}
{thread:id=288758}
{message:id=3649012}
{message:id=1426409}
{message:id=932565}
Regards,
Phiri -
How do i create a mail box in the SMTP server thru a java program
How do i create a mail box in the SMTP server thru a java program. If it is possible thru a java program.pls suggest a mail server compatible for the above possibility to work.
pls help ....Please let me know if it is not at all possible to
create a user account automatically thru a program
(java) in a mail server... how does yahoo work
then..does he manually add a user to the mail
server...By talking to a web server not a mail server.
>
Is not there any mail server that will allow us to
create mailboxes for my java program.. how do the
other web account services work..
As I said mail servers do have management interfaces. You need to find one and then determine what the management interface is. -
Weblogic 9.2 server not starting up : Could not create the Java virtual mac
Hi
I have created Weblogic domain.
Now I am trying to bring my server up by using the startWeblogic.cmd present in domain\bin.
I get the following error -
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode)
Unrecognized option: -
Could not create the Java virtual machine.
The output when i run the start script is as follows -
JAVA Memory arguments: -Xms1024m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=256m -XX:MaxPermSize=256m
WLS Start Mode=Development
CLASSPATH=S:local;;D:\bea\patch_weblogic923\profiles\default\sys_manifest_classpath\weblogic_patch.jar;P:\JDK150~1\lib\tools.jar;D:\bea\WEBLOG~1\server\lib\weblogic_sp.jar;D:\bea\WEBLOG~1\server\lib\weblogic.jar;D:\bea\WEBLOG~1\server\lib\webservices.jar;;D:\bea\WEBLOG~1\common\eval\pointbase\lib\pbclient51.jar;D:\bea\WEBLOG~1\server\lib\xqrl.jar;;Q:\VODAFO~1\lib\WSDLProxy.jar;
PATH=D:\bea\patch_weblogic923\profiles\default\native;D:\bea\WEBLOG~1\server\native\win\32;D:\bea\WEBLOG~1\server\bin;P:\JDK150~1\jre\bin;P:\JDK150~1\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;C:\Program Files\TortoiseSVN\bin;D:\ProgramFiles\Rational\common;C:\Program Files\CVSNT\;D:\bea\WEBLOG~1\server\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
Starting WLS with line:
P:\JDK150~1\bin\java -client -Xms1024m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=256m -XX:MaxPermSize=256m -Xverify:none -da -Dplatform.home=D:\bea\WEBLOG~1 -Dwls.home=D:\bea\WEBLOG~1\server -Dwli.home=D:\bea\WEBLOG~1\integration -Dweblogic.management.discover=true -Dweblogic.http.descriptor.merge=true -Dejbruntime.database=pointbase44 -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\bea\patch_weblogic923\profiles\default\sysext_manifest_classpath -Djava.protocol.handler.pkgs=com.vodafone.vgsg.wsdlproxy -Dcom.vodafone.vgsg.wsdlproxy.protocol=http -Dcom.vodafone.vgsg.wsdlproxy.host=localhost -Dcom.vodafone.vgsg.wsdlproxy.port=7001 -Dweblogic.Name=portalServer -Djava.security.policy=D:\bea\WEBLOG~1\server\lib\weblogic.policy - weblogic.Server
I checked all configurations. All seem fine but I am surely missing something.
I recreated the domain thinking I messed up something but that did not help.
I tried using jrockit instead of sun jdk. It still could not create JVM.
I really appreciate any help!
Regards,
SmitaExtra dash in the java start line ( before the weblogic.Server ):
-Dweblogic.Name=portalServer -Djava.security.policy=D:\bea\WEBLOG~1\server\lib\weblogic.policy - weblogic.Server
might be why you get the message:
Unrecognized option: -
I can get the same error with this example:
/bin> java -
Unrecognized option: -
Could not create the Java virtual machine. -
Not recognizing the smtp server and it triying connet to "localhost"
Hi this is my program:
package es.mario.prueba.jdbc;
import javax.mail.PasswordAuthentication;
import javax.mail.Authenticator;
public class SmtpAuthenticator extends Authenticator {
String pass = "";
String login = "";
public SmtpAuthenticator() {
super();
public SmtpAuthenticator(String login, String pass) {
super();
this.login = login;
this.pass = pass;
public PasswordAuthentication getPasswordAuthentication() {
if (pass.equals(""))
return null;
else
return new PasswordAuthentication(login, pass);
package es.mario.prueba.jdbc;
import java.util.Date;
import java.util.Properties;
import javax.mail.Authenticator;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
public class GeneraCorreo {
private Properties prop;
private Message message;
private Session session;
private Authenticator aut;
public GeneraCorreo(){}
public void enviar()throws MessagingException{
try{
prop = new Properties();
prop.put("mail.transport.protocol", "smtp");
prop.put("mail.smtp.host", "smtp.gmail.com");
prop.put("mail.smtp.starttls.enable", "true");
prop.put("mail.debug", "true");
prop.put("mail.smtp.auth","true");
this.aut = new SmtpAuthenticator("login", "pass"); this.session = Session.getInstance(propiedades, aut);
this.session.setDebug(true);
this.message = new MimeMessage(this.session);
this.mensaje.setSubject("subject");
this.mensaje.setFrom(new InternetAddress("[email protected]"));
this.mensaje.addRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
this.mensaje.setSentDate(new Date());
this.mensaje.setHeader("X-Mailer", "smtpsend");
this.mensaje.setText("somthing");
Transport.send(this.message);
}catch(MessagingException ex){
System.err.println(ex.getMessage());
Well the result of the debug is:
DEBUG: JavaMail version 1.4.1
DEBUG: successfully loaded file: C:\Archivos de programa\Java\jre1.5.0_13\lib\javamail.providers
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.providers
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.address.map
DEBUG: successfully loaded file: C:\Archivos de programa\Java\jre1.5.0_13\lib\javamail.address.map
DEBUG: setDebug: JavaMail version 1.4.1
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG SMTP: trying to connect to host "localhost", port 465, isSSL true
Could not connect to SMTP host: localhost, port: 465
Trying to connect to host "localhost", but the line {prop.put("mail.smtp.host", "smtp.gmail.com");}, why???
thanks and sorry for my englishHi it is my new trace:
DEBUG: JavaMail version 1.4.1
DEBUG: successfully loaded file: C:\Archivos de programa\Java\jre1.5.0_13\lib\javamail.providers
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.providers
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.address.map
DEBUG: successfully loaded file: C:\Archivos de programa\Java\jre1.5.0_13\lib\javamail.address.map
DEBUG: setDebug: JavaMail version 1.4.1
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "smtp.gmail.com", port 25, isSSL false
220 mx.google.com ESMTP u6sm6097388uge
DEBUG SMTP: connected to host "smtp.gmail.com", port: 25
the difference is the port, but I don't know why, if I change nothing. Oh I've installed James Server in localhost but it is stopped.
thanks for your interest -
Java mail(fetch default SMTP server address)
I am writting a code to send an email using Java Mail API.
I have manged what I wanted(send a mail with an attachment)
But in my code I have hard coded the SMTP server address,that is what I dont want to do .Is there anything in java which can fetch the default SMTP server address ?Let me send the code itself to make it clear
Here the host is hard coded to10.1.1.5
I dont want that ,rather I would like my code itself to fetch the host
package javamail;
import java.util.*;
import java.io.*;
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
public class SendMailUsage {
public static void main(String[] args) {
// SUBSTITUTE YOUR EMAIL ADDRESSES HERE!!!
String to = "[email protected]";
String from = "[email protected]";
// SUBSTITUTE YOUR ISP'S MAIL SERVER HERE!!!
String host = "10.1.1.5";
// Create properties for the Session
Properties props = new Properties();
// If using static Transport.send(),
// need to specify the mail server here
props.put("mail.smtp.host", host);
// To see what is going on behind the scene
props.put("mail.debug", "true");
// Get a session
Session session = Session.getInstance(props);
try {
// Get a Transport object to send e-mail
Transport bus = session.getTransport("smtp");
// Connect only once here
// Transport.send() disconnects after each send
// Usually, no username and password is required for SMTP
bus.connect();
//bus.connect("smtpserver.yourisp.net", "username", "password");
// Instantiate a message
Message msg = new MimeMessage(session);
// Set message attributes
msg.setFrom(new InternetAddress(from));
InternetAddress[] address = {new InternetAddress(to)};
msg.setRecipients(Message.RecipientType.TO, address);
// Parse a comma-separated list of email addresses. Be strict.
msg.setRecipients(Message.RecipientType.CC,
InternetAddress.parse(to, true));
// Parse comma/space-separated list. Cut some slack.
msg.setRecipients(Message.RecipientType.BCC,
InternetAddress.parse(to, false));
msg.setSubject("Test E-Mail through Java");
msg.setSentDate(new Date());
// Set message content and send
setTextContent(msg);
msg.saveChanges();
bus.sendMessage(msg, address);
setMultipartContent(msg);
msg.saveChanges();
bus.sendMessage(msg, address);
setFileAsAttachment(msg, "D:/ketan.txt");
msg.saveChanges();
bus.sendMessage(msg, address);
setHTMLContent(msg);
msg.saveChanges();
bus.sendMessage(msg, address);
bus.close();
catch (MessagingException mex) {
// Prints all nested (chained) exceptions as well
mex.printStackTrace();
// How to access nested exceptions
while (mex.getNextException() != null) {
// Get next exception in chain
Exception ex = mex.getNextException();
ex.printStackTrace();
if (!(ex instanceof MessagingException)) break;
else mex = (MessagingException)ex;
// A simple, single-part text/plain e-mail.
public static void setTextContent(Message msg) throws MessagingException {
// Set message content
String mytxt = "This is a test of sending a " +
"plain text e-mail through Java.\n" +
"Here is line 2.";
msg.setText(mytxt);
// Alternate form
msg.setContent(mytxt, "text/plain");
// A simple multipart/mixed e-mail. Both body parts are text/plain.
public static void setMultipartContent(Message msg) throws MessagingException {
// Create and fill first part
MimeBodyPart p1 = new MimeBodyPart();
p1.setText("This is part one of a test multipart e-mail.");
// Create and fill second part
MimeBodyPart p2 = new MimeBodyPart();
// Here is how to set a charset on textual content
p2.setText("This is the second part", "us-ascii");
// Create the Multipart. Add BodyParts to it.
Multipart mp = new MimeMultipart();
mp.addBodyPart(p1);
mp.addBodyPart(p2);
// Set Multipart as the message's content
msg.setContent(mp);
// Set a file as an attachment. Uses JAF FileDataSource.
public static void setFileAsAttachment(Message msg, String filename)
throws MessagingException {
// Create and fill first part
MimeBodyPart p1 = new MimeBodyPart();
p1.setText("This is part one of a test multipart e-mail." +
"The second part is file as an attachment");
// Create second part
MimeBodyPart p2 = new MimeBodyPart();
// Put a file in the second part
FileDataSource fds = new FileDataSource(filename);
p2.setDataHandler(new DataHandler(fds));
p2.setFileName(fds.getName());
// Create the Multipart. Add BodyParts to it.
Multipart mp = new MimeMultipart();
mp.addBodyPart(p1);
mp.addBodyPart(p2);
// Set Multipart as the message's content
msg.setContent(mp);
// Set a single part html content.
// Sending data of any type is similar.
public static void setHTMLContent(Message msg) throws MessagingException {
String html = "<html><head><title>" +
msg.getSubject() +
"</title></head><body><h1>" +
msg.getSubject() +
"</h1><p>This is a test of sending an HTML e-mail" +
" through Java.</body></html>";
// HTMLDataSource is an inner class
msg.setDataHandler(new DataHandler(new HTMLDataSource(html)));
* Inner class to act as a JAF datasource to send HTML e-mail content
static class HTMLDataSource implements DataSource {
private String html;
public HTMLDataSource(String htmlString) {
html = htmlString;
// Return html string in an InputStream.
// A new stream must be returned each time.
public InputStream getInputStream() throws IOException {
if (html == null) throw new IOException("Null HTML");
return new ByteArrayInputStream(html.getBytes());
public OutputStream getOutputStream() throws IOException {
throw new IOException("This DataHandler cannot write HTML");
public String getContentType() {
return "text/html";
public String getName() {
return "JAF text/html dataSource to send e-mail only";
} //End of class -
Specified SMTP server name is replaced with localhost
Hi,
I am getting following error when I try to send email from a
java program. The same program works on development server but
gives following exeception on production. Somehow it is replacing
the specified SMPT server with localhost while making the
connection
javax.mail.MessagingException: Could not connect to SMTP
host: localhost, port: 25; nested exception is:
java.net.ConnectException: Connection refused:
Please let me know the cause.
Thanks
MaheshDo you really have a SMTP server installed on your local machine?
If it does, you should set "mail.smtp.host" as "localhost".
props.put("mail.smtp.host", "localhost");
javax.mail.Session mail_session = javax.mail.Session.getInstance(props, null); -
Mail Server issues: non-SMTP command from localhost
I just installed Yosemite server. Noticed these messages showing up in the log:
Oct 28 06:32:08 my_server.net postfix/smtpd[28380]: warning: non-SMTP command from localhost[127.0.0.1]: From: Mrs. M.M Macheda <[email protected]>
Oct 28 06:32:08 my_server.net postfix/smtpd[28382]: warning: non-SMTP command from localhost[127.0.0.1]: From: Mrs. M.M Macheda <[email protected]>
Oct 28 06:32:08 my_server.net postfix/smtpd[28380]: disconnect from localhost[127.0.0.1]
Oct 28 06:32:08 my_server.net postfix/smtpd[28382]: disconnect from localhost[127.0.0.1]
Oct 28 06:32:08 my_server.net postfix/postscreen[27405]: CONNECT from [127.0.0.1]:52786 to [127.0.0.1]:25
Oct 28 06:32:08 my_server.net postfix/postscreen[27405]: WHITELISTED [127.0.0.1]:52786
Oct 28 06:32:08 my_server.net postfix/postscreen[27405]: CONNECT from [127.0.0.1]:52787 to [127.0.0.1]:25
Oct 28 06:32:08 my_server.net postfix/postscreen[27405]: WHITELISTED [127.0.0.1]:52787
Oct 28 06:32:08 my_server.net postfix/postscreen[27405]: CONNECT from [127.0.0.1]:52788 to [127.0.0.1]:25
Oct 28 06:32:08 my_server.net postfix/postscreen[27405]: WHITELISTED [127.0.0.1]:52788
Oct 28 06:32:08 my_server.net postfix/postscreen[27405]: CONNECT from [127.0.0.1]:52789 to [127.0.0.1]:25
Oct 28 06:32:08 my_server.net postfix/postscreen[27405]: WHITELISTED [127.0.0.1]:52789
Oct 28 06:32:08 my_server.net postfix/smtpd[28371]: connect from localhost[127.0.0.1]
Oct 28 06:32:08 my_server.net postfix/smtpd[28371]: improper command pipelining after EHLO from localhost[127.0.0.1]: MAIL FROM:<[email protected]>\\r\\nRCPT TO:<[email protected]\\r>\\r\\nDATA\\r\\nFrom: Mrs. M.M Macheda
Oct 28 06:32:08 my_server.net postfix/smtpd[28386]: connect from localhost[127.0.0.1]
Oct 28 06:32:08 my_server.net postfix/smtpd[28386]: improper command pipelining after EHLO from localhost[127.0.0.1]: MAIL FROM:<[email protected]>\\r\\nRCPT TO:<[email protected]\\r>\\r\\nDATA\\r\\nFrom: Mrs. M.M Macheda <he
Here is output of postconf -n
biff = no
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
html_directory = /usr/share/doc/postfix/html
inet_interfaces = loopback-only
inet_protocols = all
mail_owner = _postfix
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 10485760
mynetworks = 127.0.0.0/8, [::1]/128
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
recipient_delimiter = +
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = _postdrop
smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated permit
smtpd_tls_ciphers = medium
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
Except me nobody has access to the server yet. Nobody is sending out any emails. Appreciate any help.What does /var/log/mail.log have to say (you may need to increase logging level to "Information")?
-
How can i access gmail's smtp server using java mail api
i m using java mail api to access gmails pop and smtp service to receive and send mail from ur gmail account. I m able to access gmails pop server using the ssl and port 995 , but i can not use its smtp server to which i m connecting using ssl on 465 port. It requires authentication code.
if anybody can help me in this regard i m thnkful to him/her.
thnks in advance.
jogin desaiHere's an example of using SSL + Authentication
http://onesearch.sun.com/search/onesearch/index.jsp?qt=ssl+authentication&subCat=siteforumid%3Ajava43&site=dev&dftab=siteforumid%3Ajava43&chooseCat=javaall&col=developer-forums -
Unable to create connection to the Oracle Java Cloud server
Hi All,
I am trying to deploy simple ADF application to Oracle Cloud.
I am successfully transfered HR schema to my database cloud service and now am trying to create a connection to the oracle java cloud service instance
but it is failing to create a connection to the cloud server and throwing the error message
Testing Cloud-Admin ... failed.
listApplications failed.
Check username, password, domain, instance.
Check cloud sdk location & version: Tools->Preferences->Oracle Cloud
0 of 1 tests successful.
MyService details are as follows
JDEV : Build JDEVADF_11.1.1.6.0CLOUD_GENERIC_121118.1600.6229
Cloud version: 13.2.2.0.0
I am pretty sure , i am using proper credentials since am able to java cloud service console with same credentials.
Please help me out on this.
ThanksHi Thanks for the reply
I check check-box of proxy settings and restarted the jdeveloper and tried again but still it throws the same error? one doubt here...what all we need to include / exclude in our proxy settings...
and the I tried providing service name as both java and javatrial8477 but no luck i followed the same steps which are mentioned in the below document
Part 2: Deploying ADF Applications to Oracle Java Cloud
Do i need to do any other configuration? Or i can directly deploy my ear file to java service console rt instead of creating connection tot the server from IDE.
Regards,
Kotresh -
Unrecognized option: -server Could not create the Java virtual machine.
Hi
I'm running JBoss 4.0 with JDK 1.5.0_12 (or could use 1.2.1 or 1.4.2) but when I try run.bat I get the following error
Unrecognized option: -server Could not create the Java virtual machine.
IfI try removing -server I get a different message
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/jboss/Main (Unsupported major.minor version 48.0)
Hope you can help. Really need to get this going ASAP
Thanks
GeriHi all,
Thanks for responding.
This is what I get when I did the following:
$java -version
java version "1.2.2"
Solaris VM (build Solaris_JDK_1.2.2_06, native threads, sunwjit)
$which java
/usr/bin/java
The java version was definitely not what I expected as I had installed the Java(TM) 2 Runtime Environment 1.3.1 and no Java hotspot was found even though I had already installed it. Maybe it because I did not install them correctly.
How do I get rid of the older version and replace it with a newer one?
I noticed that in later versions of J2SE, Hotspot VM was said to have been incorporated in it. But there are no guides on how to get Hotspot up and running, it will be great if anyone of you can guide me on this or point me to a site that can help me.
Please bear with me as I am still very new to this. Thanks!
Maybe you are looking for
-
Service contract with quantity.
hi experts, my client track all material enter in the your organization through vendor at the time of services but do not want to maintain any liability. for e.g 1. a service requisition raised by user and purchase order has created. 2. when
-
Hi experts, I am new to IDOC and I want to learn IDOC AND ALE .So pls send me some scenario and process with screen shots to my mail id ([email protected]) so that i can learn. Thanks, DJREDDY. ([email protected])
-
Best Practices for disabling OWA Junk Email filter org wide
Users created in Exchange Online appear to have the following attributes set by default set-mailboxjunkemailconfiguration "identity" -enabled $true Like most organizations we have a more robust filtering solution and the OWA and Outlook implementatio
-
What can I do about my iTunes not opening ? I hasn't been able I buy songs for about a month.
-
I've recently added the MacAir to my Microsoft /Windows network. The Mac sees my printers but all the printers are "paused" and I cannot print, even if directly attached. How do I fix this?