Setting up Mail for the first time with OSX Server 10.5.6
I just got done reading the 100+ page mail services administration manual. A few things are unclear and I wanted to clear those up prior to embarking on my first adventure configuring mail services.
The questions I have are the following:
1. When using mail for incoming and outgoing, do I 'have' to use local DNS services or can I simply change the MX records by my DNS Provider?
2. I have more than one IP on the server using the 'IP Alias' command. Will the mail server be able to distinguish the different mail domains base on IP Address, or will virtual domains need to be configured?
3. If virtual domains need to be configured, is this configuration simple or is it semi complex?
4. Provided the answer to questions two and three, what is the best configuration for the firewall settings on the server? Allow IMAP inbound, POP3, and SMTP? What else?
Thanks in advance
1. Mail service relies heavily on DNS. You may run your own DNS servers on the same network as your mail server or you can use a DNS provider to host your zone data including your MX record.
2. Your server will listen on all available network devices by default. It will only accept those messages for the hosts that are listed in the general pane, the local host list, or the virtual domain list under the advanced pane. No virtual domains need to be configured if all users are real users (i.e. shows up in WorkGroup Manager).
3. As stated in (2), you do not need virtual domains to receive e-mail for multiple hostnames or domain names, but you may want to do so if you want separate accounts with same usernames for different domains. E.g. [email protected] and [email protected] will go to two separate inboxes. It's not that difficult, but rather tedious if you already have a lot of e-mail accounts set up.
4. You must allow SMTP through the firewall to receive mail from the outside world. Depending on your clients, you may open IMAP or POP. There are no other specific ports necessary for mail to work at this level... except for Submission (587). Many ISP's block port 25 for mail clients. You may want to use port 587 for submissions so that your mobile users don't have to switch back and forth between the two ports when they change locations. This is done by editing /etc/imapd.conf manually.
Similar Messages
-
How do I set up voicemail for the first time?
I feel like i am losing my mind. I CANNOT find simple instructions (even in the manual) on how to set up my husband's voicemail on the BB 8800. There are all kinds of questions and answers about voicemail, but I just need to know how to set it up for the first time. The message you get when you call the phone is "This user has not yet set up voicemail" (or something to that effect).
PLEASE HELP!
Solved!
Go to Solution.This is simple in deed! Go to Call Log -> click Menu and select Options -> Voice Mail. Now in the Access Number put your carriers Voice Mail Box number. Some carrier requires access password which you can also put in the.
Let know if this helps.
tanzim
If your query is resolved then please click on “Accept as Solution”
Click on the LIKE on the bottom right if the post deserves credit -
I live in Italy and I am trying to buy an App, for the first time with my iphone4...in the past only downloaded free apps free apps; I have a US Visa card and it is not accepted by italian Itunes...what can I do to do my purchases?
On the apple website that is correct i beleive.... but i have an italian american express and am able to purchase stuff here in the US.
I mean, i dont think it really matters -
I'm trying to use my iPad mini for the first time with a previous apple ID and password but it says "iTunes is not working try again"...it allowed me to download an app on my iPhone using the same apple ID & password but all my apps are in "Waiting Status" on my iPad mini because it says "iTunes is not working"...PLEASE HELP ME NOW!!!
Previous user installed iOS 7 beta on that iPhone.
Take it back and get your money returned. You
are running into a new security feature. Whoever owns
the ID that it is asking for is the only person who can
remove the security. That iPhone is worthless to you. -
When I set up email for the first time, I had to enter a 4 digit pin. Since then, every time I switch my phone on, I have to enter this pin. How do I remove or bypass the pin so that I can switch on the Iphone without having to first enter a pin?
Go to Settings>General>Passcode Lock>tap Turn Passcode Lock Off, enter your "pin".
Edit: Are you saying you are getting a prompt for your email pin, or are you talking about the passcode lock that appears when you turn the phone on? -
I decided to backup for the first time with icloud yesterday, and lost all my phone contacts! I am panicking because the backup is saying 0 and I checked the internet account on my pc,and it's only showing email addresses from my hotmail account. What to do? How to recover them!
Have they also gone from iCloud.com when you log in from a computer.
-
HT4859 How long should it take to back up iphone for the first time with about 6 gigs?
How long should it take to back up iphone for the first time with about 6 gigs?
Welcome to the Apple Community.
The first back up to iCloud may take some considerable time. Just how long isn't really possible to say without knowing how much is in your back up and your connection speed.
What many people don't realise is that upload speeds are often significantly less than download speeds, so for example a user may have a download speed of 40 Mbps, but only 1 Mbps for uploading. As a rough guide it will take around 2 ¼ hours to upload 1 GB of data at 1 Mbps. -
Do I require internet connection to set up iPodShuffle for the first time (Windows)?
Will I require internet connection to set up iPodShuffle for the first time (Windows)?
I don't think so. THe only thing you need internet for is to download the free VoiceOver feature, and that's optional.
-
I have set up icloud for the first time on iphone 4 and its still says downloading after 12 hours. Is this right?
I think you may not using the right technical terms. When backing up to icloud, there is no way you'd get a message saying things will be wiped. This message may be displayed when you are performing a RESTORE from a backup and then trying to cancel it.
If you are doing a restore, then you can reboot and restore again. -
Signing up for the first time with no success..
I was reluctant to get Ipad and mac services but this is making me frustrated. Using a New Ipad, I signed up for a new Id.. using my email and a password that I know very well. I go to sign in for the first time and I get Id has not been used before please select review and..... well I hit review and nothing happens.. I try to go direct to apple id services and it says either my email or my password is incorrect. I've already requested to new passwords used them and requested a verification email which I get and go to verify and it is not working.. VERY FRUSTRATING...
Please help..Hi..
Sorry you are having problems right off the bat ..
Even though you just created a new Apple ID, try the suggestions here > Using an existing Apple ID with the iTunes Store, Mac App Store, and iBooks Store
If that doesn't help, contact Apple directly > Contacting Apple for support and service -
Getting Connected for the First Time with JDBC
Hello everyone. I am trying to make my first database connection to a mysql database with Java. I am using jdk 1.5.0, MySQL 4.1.11 nt, and I think I have the freshly downloaded driver C:\jdk1.5.0\jre\lib\ext\mysql-connector-java-3.0.16-ga-bin.jar" installed in the right spot. When I try to run the following code...
package dbfinder;
import java.sql.*;
import javax.sql.*;
import com.sun.rowset.JdbcRowSetImpl;
import javax.sql.rowset.JdbcRowSet;
import java.sql.ResultSetMetaData;
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2005</p>
* <p>Company: </p>
* @author not attributable
* @version 1.0
public class DatabaseConnector {
public DatabaseConnector() {
public static void main(String args[]){
Connection connection;
Statement statement;
// ResultSet resultSet;
// ResultSetMetaData metaData;
String DATABASE_DRIVER = "com.mysql.jdbc.Driver";
String DATABASE_URL = "jdbc:mysql://localhost/state_crime";
String USER = "cis695d";
String PASSWORD = "cis695d";
JdbcRowSet rowSet = new JdbcRowSetImpl();
try {
Class.forName(DATABASE_DRIVER); // load database driver
System.out.println("class loaded");
rowSet.setUrl("DATABASE_URL");
rowSet.setUsername(USER);
rowSet.setPassword(PASSWORD);
rowSet.setCommand("Select * FROM state_crime_rates");
rowSet.execute();
ResultSetMetaData metaData = rowSet.getMetaData();
int numberOfColumns;
numberOfColumns = metaData.getColumnCount();
System.out.println(numberOfColumns);
} catch(SQLException sqlException){
sqlException.printStackTrace();
System.exit(1);
catch(ClassNotFoundException classNotFound){
classNotFound.printStackTrace();
System.exit(1);
I get the following exception...
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:545)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at com.sun.rowset.JdbcRowSetImpl.connect(JdbcRowSetImpl.java:618)
at com.sun.rowset.JdbcRowSetImpl.prepare(JdbcRowSetImpl.java:630)
at com.sun.rowset.JdbcRowSetImpl.execute(JdbcRowSetImpl.java:526)
at dbfinder.DatabaseConnector.main(DatabaseConnector.java:44)
Does anyone have any ideas? Is it my code? Is there a different driver I should use? Any help would be greatly appreciated.Hello everyone. I am trying to make my first
database connection to a mysql database with Java. I
am using jdk 1.5.0, MySQL 4.1.11 nt, and I think I
have the freshly downloaded driver
C:\jdk1.5.0\jre\lib\ext\mysql-connector-java-3.0.16-ga
-bin.jar" installed in the right spot. You shouldn't be putting that JAR in jre/lib/ext, even if you've found some docs to tell you to do it. Only language extensions (e.g., packages that begin w/javax) belong there.
I get the following exception...
java.sql.SQLException: No suitable driver
Does anyone have any ideas? Is it my code? Is there
a different driver I should use? Any help would be
greatly appreciated.The driver is correct. The class loader found it, even though I think you should use the -classpath option to find the JAR.
It's your code.
What are you doing with all that RowSet stuff?
This works. Study it:
import java.sql.*;
import java.util.*;
* Command line app that allows a user to connect with a database and
* execute any valid SQL against it
public class DataConnection
public static final String DEFAULT_DRIVER = "sun.jdbc.odbc.JdbcOdbcDriver";
public static final String DEFAULT_URL = "jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\\Edu\\Java\\Forum\\DataConnection.mdb";
public static final String DEFAULT_USERNAME = "admin";
public static final String DEFAULT_PASSWORD = "";
public static final String DEFAULT_DRIVER = "com.mysql.jdbc.Driver";
public static final String DEFAULT_URL = "jdbc:mysql://localhost:3306/hibernate";
public static final String DEFAULT_USERNAME = "admin";
public static final String DEFAULT_PASSWORD = "";
/** Database connection */
private Connection connection;
* Driver for the DataConnection
* @param command line arguments
* <ol start='0'>
* <li>SQL query string</li>
* <li>JDBC driver class</li>
* <li>database URL</li>
* <li>username</li>
* <li>password</li>
* </ol>
public static void main(String [] args)
DataConnection db = null;
try
if (args.length > 0)
String sql = args[0];
String driver = ((args.length > 1) ? args[1] : DEFAULT_DRIVER);
String url = ((args.length > 2) ? args[2] : DEFAULT_URL);
String username = ((args.length > 3) ? args[3] : DEFAULT_USERNAME);
String password = ((args.length > 4) ? args[4] : DEFAULT_PASSWORD);
System.out.println("sql : " + sql);
System.out.println("driver : " + driver);
System.out.println("url : " + url);
System.out.println("username: " + username);
System.out.println("password: " + password);
db = new DataConnection(driver, url, username, password);
System.out.println("Connection established");
Object result = db.executeSQL(sql);
System.out.println(result);
else
System.out.println("Usage: db.DataConnection <sql> <driver> <url> <username> <password>");
catch (SQLException e)
System.err.println("SQL error: " + e.getErrorCode());
System.err.println("SQL state: " + e.getSQLState());
e.printStackTrace(System.err);
catch (Exception e)
e.printStackTrace(System.err);
finally
if (db != null)
db.close();
db = null;
* Create a DataConnection
* @throws SQLException if the database connection fails
* @throws ClassNotFoundException if the driver class can't be loaded
public DataConnection() throws SQLException,ClassNotFoundException
this(DEFAULT_DRIVER, DEFAULT_URL, DEFAULT_USERNAME, DEFAULT_PASSWORD);
* Create a DataConnection
* @throws SQLException if the database connection fails
* @throws ClassNotFoundException if the driver class can't be loaded
public DataConnection(final String driver,
final String url,
final String username,
final String password)
throws SQLException,ClassNotFoundException
Class.forName(driver);
this.connection = DriverManager.getConnection(url, username, password);
* Get Driver properties
* @param database URL
* @return list of driver properties
* @throws SQLException if the query fails
public List getDriverProperties(final String url)
throws SQLException
List driverProperties = new ArrayList();
Driver driver = DriverManager.getDriver(url);
if (driver != null)
DriverPropertyInfo[] info = driver.getPropertyInfo(url, null);
if (info != null)
driverProperties = Arrays.asList(info);
return driverProperties;
* Clean up the connection
public void close()
close(this.connection);
* Execute ANY SQL statement
* @param SQL statement to execute
* @returns list of row values if a ResultSet is returned,
* OR an altered row count object if not
* @throws SQLException if the query fails
public Object executeSQL(final String sql) throws SQLException
Object returnValue;
Statement statement = null;
ResultSet rs = null;
try
statement = this.connection.createStatement();
boolean hasResultSet = statement.execute(sql);
if (hasResultSet)
rs = statement.getResultSet();
ResultSetMetaData meta = rs.getMetaData();
int numColumns = meta.getColumnCount();
List rows = new ArrayList();
while (rs.next())
Map thisRow = new LinkedHashMap();
for (int i = 1; i <= numColumns; ++i)
String columnName = meta.getColumnName(i);
Object value = rs.getObject(columnName);
thisRow.put(columnName, value);
rows.add(thisRow);
returnValue = rows;
else
int updateCount = statement.getUpdateCount();
returnValue = new Integer(updateCount);
finally
close(rs);
close(statement);
return returnValue;
* Close a database connection
* @param connection to close
public static final void close(Connection connection)
try
if (connection != null)
connection.close();
connection = null;
catch (SQLException e)
e.printStackTrace();
* Close a statement
* @param statement to close
public static final void close(Statement statement)
try
if (statement != null)
statement.close();
statement = null;
catch (SQLException e)
e.printStackTrace();
* Close a result set
* @param rs to close
public static final void close(ResultSet rs)
try
if (rs != null)
rs.close();
rs = null;
catch (SQLException e)
e.printStackTrace();
* Close a database connection and statement
* @param connection to close
* @param statement to close
public static final void close(Connection connection, Statement statement)
close(statement);
close(connection);
* Close a database connection, statement, and result set
* @param connection to close
* @param statement to close
* @param rs to close
public static final void close(Connection connection,
Statement statement,
ResultSet rs)
close(rs);
close(statement);
close(connection);
}% -
Setting up HTTP for the first time...
Hey All,
My site can be viewed from inside our district. When I get home I just get errors when going to the site.
I know I'm close, just can't seem to find the right settings.
XServe 10.4.10
Thanks!
BrandonAs a very general rule of IP networking, one IP address is assigned to one IP host only. (In more involved configurations, the IP address can potentially float within certain multi-host configurations, with one host "hot" at any moment, but the other hosts are intended to be replicates. And that's not the case here.)
There are technically ways to get where you want, where some software or some device sniffs the http headers. This can be an Apache reverse-proxy. Which also means that you have a primary web server and a secondary, and if the primary (the reverse proxy) is down the secondary is also down. Or you can use a web proxy appliance devices. These approaches can and do work, but they require either expense (for the http appliance) or configuration and software complexity. (My general preference is to keep it simple, and only bring out the power tools and the IP and Apache arcana when I really need to.) I'd tend to recommend against both the Apache reverse proxy or spending money on the appliance.
Given what I'm reading in this thread, I'd suggest using two static addresses, two sets of port-forwards, and use two hosts and two web servers. Two DNS entries. www.example.com and myhappyplace.example.com can be set up in DNS, for instance, for each of the two parallel hosts. It's simple, and it works, and it's easy to manage and easy to explain.
Or better, should you need two domains that appear separate, I'd suggest the use one public static IP address and one port forward and one host and one web server, and multiple virtual domains. Two virtual domains means two sets of web directories, and security access controls can be set up for two different groups of web authors (via ACLs, for instance). On the same host.
With more IP hosts and more web servers, you're opening up the crack in the firewall wider. More hosts is more exposure and more maintenance and more upkeep. No DMZ can be more exposure, should your hosts be breached. Should one or both of your hosts become "moderately compromised", your district can end up blacklisted in the spam databases, which means your district is tossed off the Internet for email. (There have been folks here in the discussions over the past month or two that have had weaknesses in their web servers exploited for spamming. Given the variety of web servers I see listed in my Apache logs, they're very far from alone in being compromised.) Were a server breach to arise, even your legitimate outbound mail for your district could get dropped by the recipients, should your domain end up compromised and found to be launching spam runs. (qv: various "Help, I've been hacked" threads here.)
Mistakes here will get the district and the district superintendent's attention Right Fast. Most admin folks are attached to their email, and can get cranky -- mail withdrawal syndrome? -- when their domain gets blacklisted. -
How to backup to TC for the first time with ethernet or USB
I had an existing wireless network and have added a TC to it as a password protected wireless device. I can initiate a wireless backup using Time Machine from my desktop Mac, but anticipating that this will be a very long first backup, I'm trying to set up a wired first time backup using ethernet. So, I've plugged an ethernet cable between the desktop Mac and one of the ethernet ports on the TC and then switched off my desktop Airport connection. I was hoping that I could then just backup using TM, but the TC doesn't seem to be recognised.
Can anyone tell me what to do? Presumably I'm doing something wrong because most people who have bought TCs are likely to have done their first backup through ethernet.amthie,
Here are the steps I have used to perform the initial TC backup.
*Using Time Capsule via Temporary Ethernet ONLY Connection*
Connect one end of a Cat-5 Ethernet cable into one of the LAN ports of the TC (<•••>) NOT to the WAN port (wheel icon). Connect the other end to your Macs ethernet port.
Next, go to System Prefs --> Network.
At the top of the window note what “Location” you are currently using, as you will need to return to this setting later.
Now, change “Location” to “Edit Locations”.
Click the “+” button and create a new location named “Ethernet Only”.
Click “Done”.
In the Services Pane on the left, eliminate all other services using the “-” button leaving “Ethernet” only. If you choose to leave other services listed then al the very least move Ethernet to the top of the list using the Action Menu (gear button) at the bottom and "Set Service Order".
Verify that “Configure” says “Using DHCP”.
Click "Apply" in the lower right.
You should be seeing an assigned IP Address and the Status should say “Connected”. The dot beside “Ethernet” should be green.
Now begin your backup or transfer of files.
You should still have internet access during this period.
Once the backup/transfer is complete, remember to change the Network Prefs “Location” back to “Automatic”, or whatever setting it had originally been, to restore Airport connectivity.
Cheers! -
Setting up MRP for the first time
Good afternoon,
what are the steps that need to be done to set-up MRP?
Thanks in advance,
GuyCustomizing settings
OPPQ - Copy the std settings from 0001 to your plant
Master data - masterial master with MRP view settings
Customizing settings
In OMDU - in MRP tab page activate the MRP for the plant
Setup planning file- create a variant for the plant and execute
Consistance check - createa variant for the plant and execute.
in the next node - Define Planning File Entries for Goods Movements activate PPE for the plant.
Define Parallel Processing in MRP here define the server and sessions/server.
Check Storage Mode for MRP List - do not have any tick for the check box-transp MRP. -
Using QuickTime 7 Pro for the first time with Windows. What can it do?
Greetings,
After spending almost two hours with Apple reps, I finally figured out where the controls are for QuickTime Pro. I have started to use Miraizon's Cinematize Pro 2 to extract clips as mpeg-4 files (a lot smaller than a QT movie, though maybe it can be made smaller if I compressed it, though I don't know how). Now I wish I knew exactly what I am able to do with my mpeg-4 clip once I've extracted it.
So the question is, having a PC, Windows XP and QT 7 Pro, exactly what features does it have for editing? I opened a mpeg-4 with QT Player and of course have the following to choose from under the "edit" function: cut, copy, delete, select all,select none, trim to selection, add to movie, add to selection and scale, find and preferences. So please tell me at least what I can do with this program and at least how to begin.
By the way, I have a website and use Microsoft FrontPage 2003. I have a combination of video types previously made and sent to me by others; some are .wmv, some are .mov. Now as I use Cinematize 2 Pro, I am creating mpeg-4s. This choice is made because I'd like to keep the file as small as possible without losing quality per se and also I want to reduce to a minimum the problems anyone visiting my site who wants to see the clip might have. Also you should know I insert the movie files onto my websie as plug-ins/MIME files.
I'm new to the list and would greatly appreciate your help.
Thanks!QuickTime Pro is a rather simple editing application and once you learn how to make a "selection" (letter i and o keys) and then fine tune it (Shift and right left arrow keys) you're on your way.
You can also "scrub" through large files by using the J, K and L keys or copy/paste selections into new Player windows.
Dozens of image, video and audio formats can be opened by QuickTime Pro and then "Exported" (converted) to other file formats. It can even open plain text files to use as "titles", narration text for the hearing impaired.
The Windows version can also make "One Click" audio recordings (Mac version can make video and audio files). A simple way to add a narration track to your video. Since QuickTime .mov files can have up to 99 tracks and support about 27 languages you can make one file for many nations.
QuickTime Pro is also a very powerful authoring tool.
QuickTime Pro can even create files that view without a "box":
http://homepage.mac.com/kkirkster/D/index.html
Some of my QuickTime files and Web pages as examples:
http://homepage.mac.com/kkirkster/03war/
http://homepage.mac.com/kkirkster/RedneckTexasXmas/index.html
It can also be used to make "presentation" files:
http://homepage.mac.com/kkirkster/.Public/TouchofGrey.qtl
What can it do? It's all up to your imagination.
Maybe you are looking for
-
In iBooks or other pdfs apps markings/highlights of ebook recorded by itunes at sychs
In iBooks or other pdfs apps, markings/highlights of ebooks done when reading, recorded by itunes after sychronization?
-
Does not support french character in UTF-8
I am using adobe flash 3 and all coding pattern in action script 2. I have french language's xml file which I have to show content in flash player. I have used UTF-8 for encoding. But my french encoding character is not working.How to show french l
-
Install Process for solaris 10 6/06
After installation, Solaris prompts me for a login and pass What is the default admin pass??
-
2.0.1 update is breaking iMac
Hi I just got the 2.0.1 iPod touch update it downloaded fine but when it goes to install my iMac goes to a kernel panic, should I re-download it again and try? I dont want it to break my iMac again Thanks
-
Hi to all world...this is my question. How can i make a clock, in Forms 6i, that refresh every second? Thanks in advance..