SMTP authentication for wap baesd email
Hi...
I m trying my hands on WAP based email system... I m working with javamail and servlets for the same..
The application developed so far works well except while sending mails, SMTP authentication is requred..
can some one elaborate how to handle this thru java as in while creating SMTP session smtpsession, how do we use the authentication feature....
Thnkcx
v!
More details.. this is my send mail function.
public void send(HttpServletRequest request,HttpServletResponse response, UserSessionData userSessionData)
throws ServletException, IOException, MessagingException {
try {
String from = userSessionData.getEmailAddress();
String to = request.getParameter("to");
String cc = request.getParameter("cc");
String subject = request.getParameter("subject");
String text = request.getParameter("text");
//Define message
MimeMessage message = new MimeMessage(userSessionData.getSmtpSession());
message.setFrom(new InternetAddress(from));
message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
try {
message.addRecipient(Message.RecipientType.CC, new InternetAddress(cc));
} catch (AddressException ae) {
//Bad cc address
message.setSubject(subject);
message.setText(text);
//send message
Transport.send(message);
this.mainMenu(request, response, userSessionData);
}catch (Exception e) {
e.printStackTrace();
Any suggestions guys ?
I hope this help you
//Define message
Session session = userSessionData.getSmtpSession();
MimeMessage message = new MimeMessage(session);
// Send message
Transport transport = session.getTransport("smtp");
transport.connect(HOST, MAIL_USER, MAIL_PWD);transport.sendMessage(message);
Similar Messages
-
Smtp authentication for email invites with RTC
I'm trying to configure email invitations for Real-Time conferences and am following the documentation.
Problem I'm encountering is we use smtp host authentication with Exchange but I don't see any way to set this up for RTC invites.
rtcctl> setProperty -system true -pname EmailEnabled -pvalue true
rtcctl> setProperty -system true -pname SmtpHost -pvalue "mail-net.company.com"Where do I set an SMTP username and password?
Thanks.Any comments from Oracle? Isn't anyone doing smtp authentication for outbound emails?
-
Can I use the VW outgoing SMTP servers for my personal email?
I'm having trouble with my company not allowing my personal ISP to email me at work. It means my wife can't email me from her iPhone. Is it possible to use the Verizon Wireless outgoing SMTP servers for my outgoing email?
Thank you,Hi bginsberg. I know how important it is to keep in touch with your wife. That sounds like a great idea to get around your work firewalls, but Verizon Wireless doesn't have an outgoing SMTP server anymore. http://bit.ly/QgXOOm But many email providers offer a free email account that you can use as an SMTP service if you need. I would suggest to contact your ISP/Email provider for availability of their SMTP email service.
Thank you
JenniferH_VZW
Please follow us on Twitter @vzwsupport -
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 for Notifications
Hi All,
I am trying to configure KM notifications. Our smtp server needs an authentication and I have configured e-mail service as follows :
Enable session debug info No
Parse personalized addresses: No
Send partial: Yes
Type: SMTP
Password: *******
Server: (IP address of exchange server)
User: portal
User and password are defined on exchange server.
When Portal tries to send mail it doesn't authenticate to the exchange server then it gets "client was not authenticated" message. Here is the communication between portal and smtp server :
<b>Portal :</b> EHLO HMSAPPRT
<b>Smtp Server :</b>
250-xxx.exchangeserver.com Hello [10.0.0.47]
250-TURN
250-ATRN
250-SIZE 51200000
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-X-EXPS GSSAPI NTLM LOGIN
250-X-EXPS=LOGIN
250-AUTH GSSAPI NTLM LOGIN
250-AUTH=LOGIN
250-X-LINK2STATE
250-XEXCH50
250 OK
<b>Portal :</b> : MAIL FROM:<[email protected]>
<b>Smtp Server :</b> :454 5.7.3 Client was not authenticated.
Event I fill username and password fields in e-mail channel it doesn't authenticate on smtp server.
Anybody has tried smtp authentication before ?
Thanks in advance
Abdul.Hello,
did you try to give it your Mailing user and password instead of "portal"?
regards
Guido -
Smtp authentication for remote relaying ?
hi all
i've just setup the mail server and all works well, no issues.
i can send and receive email.
question...
i want to be able to send/relay via the smtp server while outside the LAN.
any suggestions ?Thanks for the link---I was looking for an answer to the same question.
I will try this alternate SMTP submission port. But my question is why does sending mail from outside the LAN on port 25 not work? With authentication required on the server and set up on the mail client, Mail app always reports the server as being offline. If I turn authentication off in Mail app, it connects to the server fine but then (of course) the server refuses the mail because it's not authenticated.
So is it only possible to send authenticated SMTP mail on port 587 and this is why you have to set up an alternate SMTP port?
Thanks for helping me to understand these things!
Peter -
IMAP, POP and SMTP information for manual email setup
How to manually set up your Telstra email service:
Telstra email on the BigPond platform
POP & SMTP
Your name
Enter your name as you’d like it appear in emails you send.
Account type
POP3
Incoming server details
Server address
mail.bigpond.com
Port
995
Encrypted connection
SSL
Outgoing server details
Server address
mail.bigpond.com
Port
587 or 465
Authentication
Yes
Encrypted connection
With SSL Encryption
Username
Enter your full email address (ending in '@bigpond.com' or '@bigpond.net.au')
Password
Enter your Telstra email account password which will be case-sensitive.
Other settings to check
Ensure the checkbox is ticked for Outgoing server requires authentication – in most mail clients, this is not ticked by default.
Use:
Secure Sockets Layer (SSL) with the POP and SMTP connection, and
SMTP authentication for security.
Ensure that your operating system and email client have the latest updates.
Telstra email on the Outlook.com platform
If you’re on the Telstra email platform with Outlook.com®, you can choose either of the following types of settings to set up email on your computer, tablet or mobile phone:
IMAP and SMTP
POP and SMTP
Where possible, it’s preferable to use the IMAP & SMPT settings as they provide an extra layer of security.
IMAP and SMTP
Your name
Enter your name as you’d like it appear in emails you send.
Account type
IMAP
Incoming server details
Server address
imap-mail.outlook.com
Port
993
Encrypted connection
SSL
Outgoing server details
Server address
smtp-mail.outlook.com
Port
587
Authentication
Yes
Encrypted connection
With TLS/STARTTLS (preferred) or SSL Encryption
Username
Enter your full email address (ending in ‘@bigpond.com’ or ‘@bigpond.net.au’)
Password
Enter your Telstra email account password which will be case-sensitive.
Other settings to check
Ensure the checkbox is ticked for Outgoing server requires authentication – in most mail clients, this is not ticked by default.
Use:
Secure Sockets Layer (SSL) with the POP and SMTP connection, and
SMTP authentication for security.
Ensure that your operating system and email client have the latest updates.
POP and SMTP
Your name
Enter your name as you’d like it appear in emails you send
Account type
POP3
Incoming server details
Server address
pop-mail.outlook.com
Port
995
Encrypted connection
SSL
Outgoing server details
Server address
smtp-mail.outlook.com
Port
587
Authentication
Yes
Encrypted connection
With TLS/STARTTLS (preferred) or SSL Encryption
Username
Enter your full email address (ending in '@bigpond.com' or '@bigpond.net.au')
Password
Enter your Telstra email account password which will be case-sensitive.
Other settings to check
Ensure the checkbox is ticked for Outgoing server requires authentication – in most mail clients, this is not ticked by default.
Use:
Secure Sockets Layer (SSL) with the POP and SMTP connection, and
SMTP authentication for security.
Ensure that your operating system and email client have the latest updates.
Outlook is a registered trademark of Microsoft Corporation in the United States and/or other countries.Re: BigPond settings for POP, IMAP and SMTP
I am have trouble with Apple: they claim that because I have not physically changed my email address they won't "accept" it! (it's same one that I have had for the past 5years),
I am also unable to log on using the email address & password that I have for past 12 months!
Can I change my email address and password, when I have time (during business hours), regards Eric -
Need Authentication for SMTP Access
I have this Java program (SendMail.java) for sending email; however, my ISP requires authentication for SMTP server access, i.e. I receive a 550 Authentication Required error. Does anyone know how to go about coding authentication into a program like SendMail so that the userID and password can be sent back to the server?
* SendMail.java
* Created on July 13, 2005, 8:09 PM
* To change this template, choose Tools | Options and locate the template under
* the Source Creation and Management node. Right-click the template and choose
* Open. You can then make changes to the template in the Source Editor.
* @author Owner
// SendMail by Tony Swain.
// Send mail via SMTP
// To do Appletisize it.
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.net.Socket;
import java.util.StringTokenizer;
import java.net.Authenticator;
import java.net.*;
// To do. Finish multiThreading &| write que Thread.
// this programs sends mail Via SMTP as defined in RFC 821.
// ftp://ftp.isi.edu/in-notes/rfc821.txt
public class SendMail
Object mailLock = null; //In case we want a multi-threaded mailer
public String mailServerHost = "";
public String from = "";
public String to = "";
public String replyTo = "";
public String subject = "Java is Fun";
public String mailData =
"HyperSendMail";
public String errorMsg = "";
public Socket mailSendSock = null;
public BufferedReader inputStream = null;
public PrintStream outputStream = null;
public String serverReply = "";
SendMail()
// Doesn't do anything but we need this for extension purposes.
// Server, from,to,subject, data
SendMail(String server,String tFrom,String tTo,String sub,String sendData)
mailServerHost = server;
mailLock=this; // Thread Monitor passed constructor later. Default this Monitor.
from = tFrom;
to = tTo;
if(sendData != null)
mailData = sendData;
/* Just a note to remind myself to add this for cross app./Applet & Runnable.
& Threadsafe readLine() I'm too lazy ATM
SendMail()
if(mailLock != null)
if(mailLock instanceof Applet)
Applet app = (Applet)
public void send()
if(!open()) //Yikes! get out of here.
return;
try
outputStream.println("HELO sendMail");
serverReply = inputStream.readLine();
catch(Exception e0)
e0.printStackTrace();
try
outputStream.println("MAIL FROM: "+from);
serverReply = inputStream.readLine();
// I cheat and don't look for the whole 550
// we know 5 is an error anyway. Add it in if you want.
if(serverReply.startsWith("5"))
close("FROM: Server error :"+serverReply);
return;
// Note the switch here. we could get mail from somewhere and by
// pre setting replyTo reply somewhere else :)
if(replyTo == null)
replyTo = from;
outputStream.println("RCPT TO: <"+to+">");
// Ya got me! I didn't look for any 250 OK messages. Add it in if you really want.
// A real programmer will spend 30 hours writing self modifying code in order
// to save 90 nano seconds ;) we assume if it did't give an error it must be OK.
serverReply = inputStream.readLine();
if(serverReply.startsWith("5"))
close("Reply error:"+serverReply);
return;
outputStream.println("DATA");
serverReply = inputStream.readLine();
if(serverReply.startsWith("5"))
close("DATA Server error : "+serverReply);
return;
outputStream.println("From: "+from);
outputStream.println("To: "+to);
if(subject != null)
outputStream.println("Subject: "+subject);
if(replyTo != null)
outputStream.println("Reply-to: "+replyTo);
outputStream.println("");
outputStream.println(mailData);
outputStream.print("\r\n.\r\n");
outputStream.flush();
serverReply = inputStream.readLine();
if(serverReply.startsWith("5"))
close("DATA finish server error: "+serverReply);
return;
outputStream.println("quit");
serverReply = inputStream.readLine();
if(serverReply.startsWith("5"))
close("Server error on QUIT: "+serverReply);
return;
inputStream.close();
outputStream.close();
mailSendSock.close();
catch(Exception any)
any.printStackTrace();
close("send() Exception");
close("Mail sent");
public boolean open()
synchronized(mailLock)
try
mailSendSock = new Socket(mailServerHost, 25);
outputStream = new PrintStream(mailSendSock.getOutputStream());
inputStream = new BufferedReader(new InputStreamReader(
mailSendSock.getInputStream()));
serverReply = inputStream.readLine();
if(serverReply.startsWith("4"))
errorMsg = "Server refused the connect message : "+serverReply;
return false;
catch(Exception openError)
openError.printStackTrace();
close("Mail Socket Error");
return false;
System.out.println("Connected to "+mailServerHost);
return true;
public void close(String msg)
//try to close the sockets
System.out.println("Close("+msg+")");
try
outputStream.println("quit");
inputStream.close();
outputStream.close();
mailSendSock.close();
catch(Exception e)
System.out.println("Close() Exception");
// We are closing so see ya later anyway
public static void main(String Args[])
SendMail sm = new
// * NOTE:
// Erase these values right away! Just to show you how it is done.
// Whatever you do don' release it with my mail server hardcoded.
// last thing I need is 10 million Java mail test spams :)
SendMail(
"outgoing.myISP.net", //Mail Server
"[email protected]", // sender
"[email protected]", // Recipient
"Java mail test", // Subject
"test test test!"); // Message Data
sm.send(); // Send it!
}There is no one in the forum who can shed some light on my problem?
-
ISP requires authentication for outgoing email
On my Samsung Droid, my ISP requires authentication for outgoing email. I don't see this as an option and so all my supposedly sent items are sitting in my Outbox. Anyone else have this issue? My Gmail and Hotmail accounts work just fine. Thx
110/25 or.....
POP3/IMAPAccount
ServerType
Incoming Server
Incoming Port
Usesecureserver
VerifyCert.
Outgoing Server
OutgoingPort
Use secureserver
VerifyCert.
Aim.com
IMAP4
imap.aim.com
993 (or 143)
Yes
Yes
smtp.aim.com
465 (or 587)
Yes
Yes
aol.com
IMAP4
imap.aol.com
993 (or 143)
Yes
Yes
smtp.aol.com
465 (or 587)
Yes
Yes
Aim.com
POP3
pop.aim.com
995
Yes
Yes
smtp.aim.com
587
Yes
Yes
aol.com
POP3
pop.aol.com
995
Yes
Yes
smtp.aol.com
587
Yes
Yes
att.net
POP3
pop.att.yahoo.com
995
Yes
Yes
smtp.att.yahoo.com
465
Yes
Yes
bellsouth.net
POP3
pop.att.yahoo.com
995
Yes
Yes
smtp.att.yahoo.com
465
Yes
Yes
charter.net
IMAP4
mobile.charter.net
993
No
No
mobile.charter.net
587
No
No
charter.net
POP3
mail.charterinternet.com
110
No
No
smtp.charterinternet.com
25
No
No
comcast.net
POP3
mail.comcast.net
995 (or 110)
No
No
smtp.comcast.net
587
No
No
cox.net
POP3
varies by location
995 (or 110)
Yes
Yes
varies by location
587 (or 465)
No
No
earthlink.net
POP3
pop.earthlink.net
110
No
No
smtpauth.earthlink.net
587 (or 25)
No
No
excite.com
POP3
pop3.excite.com
110
No
Yes
smtp.excite.com
25 (or 587)
No
Yes
flash.net
POP3
pop.att.yahoo.com
995
Yes
Yes
smtp.att.yahoo.com
465
Yes
Yes
gmail
IMAP4
imap.gmail.com
993
Yes
Yes
smtp.gmail.com
465
Yes
Yes
Go Daddy Accounts
POP3
pop.secureserver.net
995 (or 110 w/out Secure connection)
Yes
Yes
smtpout.secureserver.net
465 (or 25 w/out Secure connection)
Yes
Yes
hotmail
POP3
pop3.live.com
995
Yes
Yes
smtp.live.com
587
No
Yes
lycos.com
POP3
pop.mail.lycos.com
110
No
Yes
smtp.mail.lycos.com
25 (or 587)
No
Yes
mac
IMAP4
mail.mac.com
993
Yes
Yes
smtp.mac.com
25 (or 587)
No
No
me
IMAP4
mail.me.com
993
Yes
Yes
smtp.me.com
25 (or 587)
No
Yes
mindspring
POP3
pop.mindspring.com
110
No
No
smtpauth.earthlink.net
587 (or 25)
No
No
msn.com
POP3
pop3.live.com
995
Yes
Yes
smtp.live.com
587
No
Yes
netzero.net
POP3
pop.netzero.com
110 -
Does Authenticated SMTP ensure that the sender email address
matches the username/password entered?
<P>
Not by default. However, in netscape.mail.conf, you can set
RewriteFromUsingAuth and/or RewriteSenderUsingAuth to "Yes"
which will rewrite the header "From:" and/or "Sender:" to be
the authenticated sender of the message.
<P>
On NT, the keys are in the registry under
HKEY_LOCAL_MACHINE\Software\Netscape\Messaging Server\3.0\Dispatch\ConfigI found the answer.
Apple has turned on an app-specific password for iPhoto and other Apple apps. It's located in the Apple ID management section under Passwords and Security.
As soon as I entered that new generated password in iPhoto I was able to send a pic with my iCloud.com email address.
Now I know where to go. Thanks for your help. -
10.3.9 - Mobile Users Authenticating for SMTP Relay.
I hope I get my thoughts together and this question comes out right.
I have a small shop, where most of my users are in-house. They're using Entourage clients, and my couple of PC folks are using Outlook 2003. From in-house, everyone works just fine. Relay filters are setup to allow people inside the network to send fine. I have 127.0.0.1/32 and 192.168.1.1/32 in the Mail/Settings/Filters/SMTP Relay settings.
However, I have a couple of mobile users, the Director being one of them, who want/need to send email when outside of the office, or from a mobile device, like their Treo.
What I'm running into is that my mobile users are having authentication issues when trying to send email while outside the office. Even when they indicate they need to authenticate SMTP from their client, I get different issues with different users.
The Director's Treo, using Versamail, recieves email normally via IMAP. However, when sending, even though she's set to ESMTP Authentication, I get a 502 error. Without ESMTP Authentication turned on, I get a relay error.
Mail/Settings/Advanced has LOGIN and Plain checked for SMTP Authentication, and IMAP has LOGIN, Plain and Clear checked, while POP has APOP and Clear slected.
I'm at a loss for how to proceed with correcting this issue to allow mobile users to authenticate reliably from where ever they are. Can someone provide me some straightforward guidence on how this should be correctly configured?
Thanks.
PowerBook G4 17 Mac OS X (10.4.9) 1.5G RAMThanks for the response.
I've seen the posts about adding alternate ports, but it doesn't seem to matter what the ISP source is, they get Relay denied messages and our mailer shows the denial traffic.
There are additional relay exceptions in this, but here is the postconf file you requested:
always_bcc =
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debugpeerlevel = 2
enableserveroptions = yes
inet_interfaces = all
luser_relay =
mail_owner = postfix
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mapsrbldomains = sbl-xbl.spamhaus.org,bl.spamcop.net
messagesizelimit = 15728640
mydestination = $myhostname,localhost.$mydomain,kemperart.org
mydomain_fallback = localhost
myhostname = mail.kemperart.org
mynetworks = 127.0.0.1/32,192.168.200.99/32,192.168.200.1/32,rr.com,68.25.136.123/32
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
relayhost =
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpdclientrestrictions = rejectmapsrbl
smtpdenforcetls = no
smtpdpw_server_securityoptions = plain,login,cram-md5
smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
smtpdsasl_authenable = yes
smtpdtls_certfile = /etc/postfix/server.pem
smtpdtlsloglevel = 0
smtpduse_pwserver = yes
smtpdusetls = no
unknownlocal_recipient_rejectcode = 450
Remember, be gentle, while I'm able to get around the Terminal Window, I am, by no means, an expert.
Thanks again!
PowerBook G4 17 Mac OS X (10.4.9) 1.5G RAM -
Configure for no smtp authentication
Hi all,
I have one machine (192.168.0.10)
I have domain a.com, b.com and c.com.
1. Is it possible to configure messaging server without needing SMTP authentication when this machine (192.168.0.10) sent the email out?
2. I also want to limit above IP address sending (with no SMTP authentication) to only domain c.com. Is it possible technically?
Following is my messaging server version:
# ./imsimta version
Sun Java(tm) System Messaging Server 6.2-7.05 (built Sep 5 2006)
libimta.so 6.2-7.05 (built 12:18:44, Sep 5 2006)
SunOS ms1 5.9 Generic_118558-37 sun4u sparc SUNW,Sun-Fire-880Yap wrote:
I have one machine (192.168.0.10)
I have domain a.com, b.com and c.com.
1. Is it possible to configure messaging server without needing SMTP authentication when this machine (192.168.0.10) sent the email out?Yes, you can add the IP address of the machine to the INTERNAL_IP mapping table. This will cause any emails coming from that machine to be regarded as "INTERNAL" (tcp_intranet source channel) and will not require SMTP authentication to relay emails.
e.g.
INTERNAL_IP
$(192.168.0.10/32) $Y
2. I also want to limit above IP address sending (with no SMTP authentication) to only domain c.com. Is it possible technically?Yes, you can achieve this with a ORIG_MAIL_ACCESS mapping table rule e.g.
ORIG_MAIL_ACCESS
! Deny access to any addresses except *@c.com
TCP|*|25|192.168.0.10|*|SMTP*|MAIL|tcp_*|*|*|*@c.com $Y
TCP|*|*|192.168.0.10|*|SMTP*|MAIL|tcp_*|*|*|*@* $NAccess$ Denied$ for$ domain$ $8Note that both of these steps were already outlined in the manual:
http://docs.sun.com/app/docs/doc/819-4428/bgauv?a=view
Regards,
Shane. -
I can't send email from my iPad. I am from Australia but on holidays in Greece. Does anyone know what is the smtp outserver for Greece that I should use?
As you haven't told us who your email provider is, no.
There isn't an SMTP server for Greece - it is either provided by your email provider, or the Internet provider you are connected through. -
Authentication Error while Sending Email from SMTP server.
Authentication Error while Sending Email from SMTP server. Can receive emails but cannot send emails from this account.
no email account was setup on the phone unless it was issued by your company.
gmail is required but no server address ports to enter.
my gmail account was setup before i took delivery of the phone but could have been done when phone was activated.
i added cox pop3 email and had to manually enter both pop3 and smtp servers with both boxes checked on both servers.
i doubt if it's a verizon issue. -
Why is Mail asking me for the name of an smtp server for an email address that doesn't exist?
I've migrated from Snow Leopard to Mountain Lion on a new Mac, but in trying to use Mail on ML, it keeps asking me for the name of an smtp server for an email address that's never existed. The addy has my user name correct, but the server part of the address doesn't exist, or at least I've never used an email address with that provider. On ML there's no plist file for Mail, so nothing to delete there. What else can I do to get Mail working? The only other option I have is to abandon Mail as being crippled and useless, and use Postbox, which for it's price (US$9.95) is an attractive option. OTOH, I've paid for Mail after all, so it really ought to work. Any clues as to what I can do to stop its nonsensical behaviour? How do I file a bug report?
TIA.
PaulineAmasis wrote:
On ML there's no plist file for Mail, so nothing to delete there.
~/Library/Containers/com.apple.mail/Container.plist
(Go to your Finder "Go" menu hold the option key to choose "Library", since the ~/Library is hidden on ML)
Maybe you are looking for
-
DataSocket memory leak problem (2VO0SF00) -- more info?
When upgrading to LabVIEW 8.5 recently, I noticed the following known issue in the readme file: "ID: 2VO0SF00 DataSocket/OPC Leaks Memory using ActiveX VIs to perform open-write-close repeatedly If you call the DataSocket Open, DataSocket Write, and
-
Can't install iTunes 11 on Widows 8, 'iTunes has stopped working' error message
Two months ago, I bought a new computer that uses Windows 8. I was running iTunes 10.6 on it fine until today, when it crashed for some unknown reason. Every time I've tried to open it again, I kept on getting a 'iTunes has stopped working' message
-
Trying to install cs3 from creative suite
Trying to install cs3, I have licience numbers but are not prompted to enter them, so I get the "you are not allowed to use this at this time contact it support"
-
Smartview Member & alias display issue
Hi All, i am having trouble i have 3 environments and when i pull ad hoc report from each environment in two i can see both Member name option as well as member & alias name option but in my Dev environment i am not seeing member & alias option, can
-
Trying to copy files to an external HD after booting ibook with OS X discs
hi everyone. my ibook g4, which is running os x 10.4.8, is having software problems and won't boot up properly- gets stuck on the start-up screen. i have restarted with my system discs and attached an external hard drive. i want to copy the files fro