VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: [1] ]
Subject: SMTP Server


Author:
Qweezle
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 13:38:28 03/26/03 Wed

Anyone know how to enable the Sendmail server to work on your machine so that you can send and receive email locally?

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Replies:
[> Subject: Guide to setting Up Sendmail


Author:
MacGuru
[ Edit | View ]

Date Posted: 22:16:29 03/26/03 Wed

Assumptions:  

--A static IP address (ip doesn't change); if you have a dynamic ip check out http://www.dyndns.org to get a static ip for free.
--DNS for your domain points your domain name to your computer's static ip address (wan ip address)
--An MX record is  pointing to your domain name (not your DNS servers)
--Ports 25, 143, and 110 are open (and forwarded if need be).
--MacOS X 10.2
--MacOS X Developer Tools are installed

Install Webmin

Download Webmin

Unpack webmin using Stuffit Expander

Start Terminal (/Applications/utilities/Terminal)

Type "sudo mv [path to webmin folder] /usr/local/bin/[path to webmin folder]
(if /usr/local/bin doesn't exist, create it)

Type "cd /usr/local/bin/[path to webmin folder]

Type "sudo ./setup.sh"  

Hit the return key to each question in the webmin setup script except for your login name and password.  Make them whatever you want.  Type "y" to start Webmin at boot time.

Start WebMin

Start your web browser.  Type "http://localhost:10000" and hit enter.

Click on the System icon at the top of the browser.  Then click on the Bootup and Shutdown icon.

Start and Configure Sendmail

Click the MAILSERVER link in the Action column.

Change the MAILSERVER setting from -NO- to -YES-

Click the Save button below

Also below is the sendmail /System/Library/StartupItems/Sendmail/Sendmai startup script.  ABOVE the line "/usr/sbin/sendmail -bd -q1h", add this on a line all by itself:

chmod g-w / /Users  

Click the Save button below.

Open Terminal.  Type the following:

sudo sh
export EDITOR=/usr/bin/pico
crontab -e

Edit the crontab to look like this (replace username with your actual username):

MAILTO=username
0 * * * * chmod g-w / /Users /

Press Control+O, then Control+X.  Type "exit" to quit.

Restart your computer

Start Terminal.  Type "mail [username]" where [username] is your username.  Enter a subject, and then a brief message.  Type a single "." on the next blank line to send the message.

Type "mail" -- if everything is working you will receive your message.

Now start up Webmin again, and click on the Servers icon. Click on Sendmail Configuration. Click on Local Domains(cw).  Add your domain in the textbox under localhost.  Click the Save button.  Click on Outgoing Domains (CG), and add your domain name to the text box.  Click the Save button.  
 
Restart Sendmail using the button at the bottom of the Sendmail Configuration page in Webmin.

Your machine should accept mail now to your domain.  But we need to do a little more before you can start using Apple's Mail client.  We need to install the UW-IMAP so that we can have an imap/pop mail server that will work with Mail.

Install UW-IMAP

Start Terminal and type "curl -O ftp://ftp.cac.washington.edu/imap/imap.tar.Z"

Type "gnutar -xzvf imap.tar.Z"

Type "pushd imap-2002b"

To get this program to work nicely under OS X we need to make some modifications.  First IMAP by default likes to place its mbox files in your home directory, which just looks plain messy.  I have chosen to store the mbox files in:
~/Library/Mail-IMAP

IMAP can understand the mbox files created by Mail.app in:
~/Library/Mail/Mailboxes
However, if you choose this option your IMAP server will also show all the auxillary files the Mail.app creates.  Believe me, this will look ugly and may confuse some of your email users.

To make the mail directory modification:

Type "pico src/osdep/unix/env_unix.c"

Press Contol+W and type "static char *mailsubdir"[enter] to find the appropriate line.

change the line: "static char *mailsubdir = NIL;  /* mail subdirectory name */"

to: "static char *mailsubdir = "Library/Mail-IMAP";  /* mail subdirectory name */"

While you are editing this file, read the lines near the top that talk about "Microsoft Brain Damage".  If you have clients that will connect with Entourage, etc. you may want to uncomment the lines that they suggest (by simply removing the leading #).  Save your changes.

IMAP needs to be compiled without default SSL connections, otherwise your Mail.app clients will not be able to login to their accounts:

Type "make SSLTYPE=none osx" -- Type "y" if it asks you if you want to proceed.

After the build succeeds, we can copy the binaries into a convenient location, like our libexec directory:

Type "sudo cp imapd/imapd ipopd/ipop3d /usr/libexec"

Type "popd"

Type "sudo pico /etc/xinetd.d/imap"

Insert the following code into the blank file:

service imap
{
   disable     = no
   socket_type = stream
   protocol    = tcp
   wait        = no
   user        = root
   server      = /usr/libexec/imapd
   groups      = yes
   only_from   = 192.168.1.0 localhost    
}

Replace "192.168.1.0" in the code with your network machine ip -- 192.168.1.xxx -- I also typed in the ip of my domain after this number and before localhost.  Type Control+O to save, Control+X to exit.

Type "sudo pico /etc/xinetd.d/pop3"

Insert the following code into the blank file:

service pop3
{
   disable     = no
   socket_type = stream
   protocol    = tcp
   wait        = no
   user        = root
   server      = /usr/libexec/ipop3d
   groups      = yes
   only_from   = 192.168.1.0 localhost    
}

Replace "192.168.1.0" in the code with your network machine ip -- 192.168.1.xxx -- I also typed in the ip of my domain after this number and before localhost. Type Control+O to save, Control+X to exit.

Add User Accounts

Now close Terminal and go to System Preferences (/Applications/System Preferences)

Click on Accounts.  Add as many accounts as you would like email names (for example, if you want charlie@yourdomain.com, then add "charlie" as a user.  Don't allow these users to be administrations, so don't check the admin box below the password fields.  

Restart your computer.

Setup New Email Accounts

Now log into each account you just created and start the Mail Application (/Applications/Mail).  Add a new imap account or a pop3 account (though they are the same in this instance).  Your email is [username]@[yourdomain.com].  Your username and password is your MacOS X username and password.  Both incoming and outgoing mail servers are "localhost".

If everything is ok, Mail should log you on and create your mail folders in ~Library/Mail.  

You need to do this for every new user you added.  This is also the most secure way to do email, as it won't compromise your MacOS X Admin account.

Setup your Master Account to read all your new email accounts

Log back into your Master Admin MacOS X account.  

Now you will need to set the permissions to read your new email accounts by setting the permissions on the ~Library/Mail directory and contents.

Download Batchmod

Start Batchmod (after putting it into your Applications forlder) and drag each new user's Libary file (/Users/[user]/Library) into Batchmod.  Click on the "Group" tab and then select admin.  Check RWX under the group tab.  Uncheck RWX under "Everyone:" And check "Apply ownership and privileges" under Enclosed files and folders.  

Do this for each new user you created.

Click on Apple's Mail application (/Applications/Mail).  Add your new email accounts by typing in the same information as you did for each new user.  Then for each new account, click on the Advanced tab and where it says "Account Directory," click Choose, type /Users in the "Go to" box, and select the [user]/Library/Mail directory.  Click "Open" and then Click "Ok".

Then Mail should add the email accounts and you should be able to read the mail.

Congradulations you now have your own mail server!  You can send and receive mail using Apple Mail and it is of the form username@domain.com

[ Post a Reply to This Message ]
[> Subject: Turn 6$dollars into THOUSANDS of $dollars (follow directions)


Author:
MoneyMan
[ Edit | View ]

Date Posted: 13:27:07 08/21/03 Thu

Sure winner!!! Legal money!!!! READING THIS COULD CHANGE YOUR LIFE! I found this on a bulletin board and decided to try it. A little while back, I was browsing through newsgroups, just like you are now, and came across ansimilar to this that said you could make thousands of dollars within weeks with only an initial investment of $6.00! So I thought,"Yeah right, this must be a scam", but like most of us, I was curious, so I kept reading. Anyway, it said that you send $1.00 to each of the 6 names and address stated in the article. You then place your own name and address in the bottom of the list at #6, and post the articleat least 200 newsgroups. (There are thousands) No catch, that was it. So after thinking it over, and talking to a few people first, I thought about trying it. I figured: "what have I got to lose except 6 stamps and $6.00, right?" Then I invested the measly $6.00. Well GUESS WHAT!!... Within 7 days, I started getting money in the mail! I was shocked! I figured it would end soon, but the money just kept coming in. In my first week, I made about $25.00. By the end of the second week I had made a total of over $1,000.00! In the third week I had over $10,000.00 and it's still growing. This is now my fourth week and I have made a total of just over $42,000.00 and it's still coming in rapidly. It's certainly worth $6.00, and 6 stamps, I have spent more than that on the lottery!! Let me tell you how this works and most importantly, why it works....Also, make sure you print a copy of this article NOW, so you can get the information off of it as you need it. I promise you that if you follow the directions exactly, that you will start making more money than you thought possible by doing something so easy! Suggestion: Read this entire message carefully! (print it outdownload it.) Follow the simple directions and watch the money come in! It's easy. It's legal. And, your investment is only $6.00 (Plus postage) IMPORTANT: This is not a rip-off; it is not indecent; it is NOT illegal; and it is virtually no risk - it really works!!!! If all of the following instructions are adhered to, you will receive extraordinary dividends. PLEASE NOTE: Please follow these directions EXACTLY, and $50,000 or more can be yours in 20 to 60 days. This program remains successful because of the honesty and integrity of the participants. Please continue its success by carefully adhering to the instructions. You will now become part of the Mail Order business. In this business your product is not solid and tangible, it's a service. You are in the business of developing Mailing Lists. Many large corporations are happy to pay big bucks for quality lists. However, the money made from the mailing lists is secondary to the income which is made from people like you and me asking to be included in that list. Here are the 4 easy steps to success: 1: Get 6 separate pieces of paper and write the following on each piece of paper "PLEASE PUT ME ON YOUR MAILING LIST." Now get 6 US $1.00 bills and place ONE inside EACH of the 6 pieces of paper so the billnot be seen through the envelope (to prevent thievery). Next, place one paper in each of the 6 envelopes and seal them. You shouldhave 6 sealed envelopes, each with a piece of paper stating the above phrase, your name and address, and a $1.00 bill. What you are doing is creating a service. THIS IS ABSOLUTELY LEGAL! You are requesting a legitimate service and you are paying for it! Like most of us I was a little skeptical and a little worried about the legal aspects of it all. So I checked it out with the U.S. Post Office (1-800-725-2161) and they confirmed that it is indeed legal! REMEMBER, IF YOU DON'T SEND THE MONEY TO PEOPLE THE "SYSTEM" WON'T WORK AND NOBODY WILL GET MONEY. Mail the 6 envelopes to the following addresses:#1) Joe Campbell, 25 Brucewood Crs., #701, Toronto, On., Canada, M6A 3C9 #2) Keith Lambert, 1958 Dunedin Drive, Old Hickory, TN 37138 #3) Nick Morehead, 505 Wildwood Ave, St. Paul, MN 55110 #4) Michelle Howe, 5111 ½ Avenida Oriente, Tarzana, CA 91356 #5) D. Burkett, PO Box 3662, Brandon, FL 33509 #6) RON CARR, 1300 NORTH CEDAR DRIVE SEDALIA , MO 65301 STEP 2: Now take the #1 name off the list that you see above, move the other names up (6 becomes 5, 5 becomes 4, etc...) and add YOUR Name as number 6 on the list. STEP 3: Change anything you need to, but try to keep this article as close to original as possible. Now, post your amended article to at least 200 newsgroups. (I think there are close over 35,000) All you need is 200, but remember, the more you post, the more money you make! This is perfectly legal! If you have any doubts, refer to Title 18 Sec. 1302 & 1341 of the Postal lottery laws. Keep a copy of these steps for yourself and, whenever you need money, you can use it again, and again. PLEASE REMEMBER that this program remains successfulof the honesty and integrity of the participants and by their carefully adhering to the directions. Look at it this way. If you are of integrity, the program will continue and the money that so many others have received will come your way. NOTE: You may want to retain every name and address sent to you, either on a computer or hard copy and keep the notes people send you. This VERIFIES that you are truly providing a service. (Also, it might be a good idea to wrap the $1 bill in dark paper to reduce the risk of mail theft.) So, as each postdownloaded and the directions carefully followed, six members willreimbursed for their participation as a List Developer with one dollar each. Your name will move up the list geometrically so that when your name reaches the #1 position you will be receiving thousands of dollars in CASH!!! What an opportunity for only $6.00 ($1.00 forof the first six people listed above) Send it now, add your ownto the list and you're in business! ---DIRECTIONS ----- FOR HOW TO POST TO NEWSGROUPS------------ Step1) You do not need to re-type this entire letter to do your own posting.put your cursor at the beginning of this letter and drag yourto the bottom of this document, and select 'copy' from the edit. This will copy the entire letter into the computer's memory. 2) Open a blank 'notepad' file and place your cursor at the top of the blank page. From the 'edit' menu select 'paste'. This will paste a copy of the letter into notepad so that you can add your name to the list. Step 3) Save your new notepad file as a .txt file. If you want to do your postings in different settings, you'll always have this file to go back to. Step 4) Use Netscape or Internet explorer and try searching for various newsgroups (on-line forums, message boards, chat sites, discussions.) Step 5) Visit these message boards and post this article as a new message by highlighting the text of this letter and selecting paste from the edit menu. Fill in the Subject, this will be the header that everyone sees as they scroll through the list of postings in a particular group, click the post message button. You're done with your first one! Congratulations...THAT'S IT! All you have to do is jump to different newsgroups and post away, after you get the hang of it, it will take about 30 seconds for each newsgroup! **REMEMBER, THE MORE NEWSGROUPS YOU POST IN, THE MORE MONEY YOU WILL MAKE!! BUT YOU HAVE TO POST A MINIMUM OF 200** That's it! You will begin receiving money from around the world within days! You may eventually want to rent a P.O. Box due to the large amount of mail you will receive. If you wish to stay anonymous, you can invent a name to use, as long as the postman will deliver it. **JUST MAKE SURE ALL THE ADDRESSES ARE CORRECT.** Now the WHY part: Out of 200 postings, say I receive only 5 replies (a very low example). So then I made $5.00 with my name at #6 on the letter. Now, each of the 5 persons who just sent me $1.00 make the MINIMUM 200 postings, each with my name at #5 and only 5 persons respond to each of the original 5, that is another $25.00 for me, now those 25 each make 200 MINIMUM posts with my name at #4 and only 5 replies each, I will bring in an additional $125.00! Now, those 125 persons turn around and post the MINIMUM 200 with my name at #3 and only receive 5 replies each, I will make an additional $626.00! OK, now here is the fun part, each of those 625 persons post a MINIMUM 200 letters with my name at #2 and they each only receive 5 replies, that just made me $3,125.00!!! Those 3,125 persons will all deliver this message to 200 newsgroups with my name at #1 and if still 5 persons per 200 newsgroups react I will receive $15,625,00! With aninvestment of only $6.00! AMAZING! When your name is noon the list, you just take the latest posting in the newsgroups, and send out another $6.00 to names on the list, putting your name at number 6 again. And start posting again. The thing to remember is: do you realize that thousands of people all over the world are joining the internet and reading these articles everyday?, JUST LIKE YOU are now!! So, can you afford $6.00 and see if it really works?? I think so... People have said, "what if the plan is played out and no one sends you the money? So what! What are the chances of that happening when there are tons of new honest users and new honest people who are joining the internet and newsgroups everyday and are willing to give it a try? Estimates are at 20,000 to 50,000 new users, every day, with thousands of those joining the actual internet. Remember, play FAIRLY and HONESTLY and this will really work. --comments/feeback(please post your feedback/experiences here)--- Not bad for 1 hr's work....made me around $5320 in roughly 35 days Anthony M Texas Hello, i rcvd 269 bucks in the post in 2 weeks. Dan Miami, FL i had to wait around 10 days before i had any results - $13,450 as of 3rd Jan 2003 to date(14th Feb 2003).Am gonna re-post it again for more money!! Del from Alberta - Canada Only received around o588 in the post tng the actual internet. Remember rcvd 269 bucks in the post in 2 weeks. Dan Miami, FL i had to wait around 10 days before i had any results - $13,450 as of 3rd Jan 2003 to date(14th Feb 2003).Am gonna re-post it again for more money!! Del from Alberta - Canada Only received around o588 in the post tng the actual internet. Remember, play FAIRLY and HONESTLY and this will really work.

[ Post a Reply to This Message ]
[> Subject: hi


Author:
hi hi hi
[ Edit | View ]

Date Posted: 18:22:29 12/02/04 Thu

test

[ Post a Reply to This Message ]


Post a message:
This forum requires an account to post.
[ Create Account ]
[ Login ]
[ Contact Forum Admin ]


Forum timezone: GMT-8
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.