Study of free and open source software WINE
To create a window application (WinDIR app/ Drive Tree app.) using different GUI components and Direct view architecture.
THE LAYOUT OF A WINDOW:
To study various components of Mailman and the installation of the same package.
Theory: GNU Mailman is a GNU package for managing electronic mailing lists. It is free software, distributed freely under the GNU General Public License. Mailman’s chief distinction is its easy-to-use web interface for list administration.
Mailman is written in the Python programming language. It can work with any common Unix mail server software, including Postfix,Sendmail and gmail.
The integration with the free mail server software exim (which is used by the Debian GNU/Linux by default) is probably best: Using special configuration rules, exim knows which addresses are used by Mailman and automatically forwards all mails which are handled by Mailman to Mailman, without having to set customized aliases for each individual mailing list, as it is custom with most or all other mail servers.
User features include the Web interface, built-in archiving of messages, automatic processing of bounce messages, digest mode, and spam filtering.
By default, Mailman sends out a reminder message on the first of the month (local time) to all subscribers, causing many netizens to proclaim the first of the month to be “Mailman Day” as the messages start trickling in from all around the globe
What is a mailing list?
A mailing list is simply a list of addresses to which the same information is being sent. If you were a magazine publisher, you would have a list of the mailing addresses of all the subscribers to the magazine. In the case of an electronic mailing list, we use a list of email addresses from people interested in hearing about or discussing a given topic.
Two common types of email mailing lists are announcement lists and discussion lists.
Announcement lists are used so that one person or group can send announcements to a group of people, much like a magazine publisher’s mailing list is used to send out magazines. For example, a band may use an announcement mailing list to let their fan base know about their upcoming concerts.
A discussion list allows a group of people to discuss topics amongst themselves, with everyone able to send mail to the list and have it distributed to everyone in the group. This discussion may also be moderated, so only selected posts are sent on to the group as a whole, or only certain people are allowed to send to the group. For example, a group of model plane enthusiasts might use a discussion mailing list to share tips about model construction and flying.
Some common terms:
- A “post” typically denotes a message sent to a mailing list. (Think of posting a message on a bulletin board.)
- People who are part of an electronic mailing list are usually called the list’s “members” or “subscribers.”
- “List administrators” are the people in charge of maintaining that one list. Lists may have one or more administrators.
- A list may also have people in charge of reading posts and deciding if they should be sent on to all subscribers. These people are called list moderators.
- Often more than one electronic mailing list will be run using the same piece of software. The person who maintains the software which runs the lists is called the “site administrator.” Often the site administrator also administrates individual lists.
Creation of activex document dll using visual basic and register it.
Listing 1. GetPathFromFullFileName
a>
Public Function GetPathFromFullFileName(FullFileName As String) _
As String
' Passed a fully qualified filename, removes
' the filename part and returns the path information.
' Returns a blank string if there is no path information.
b>Strip any spaces.
FullFileName = Trim(FullFileName)
' Check for empty argument.
If Len(FullFileName) = 0 Then
GetPathFromFullFileName = ""
Exit Function
End If
c> Look for last / or \.
If Mid$(FullFileName, idx, 1) = "\" Or _
Mid$(FullFileName, idx, 1) = "/" GetPathFromFullFileName = Left$(FullFileName, idx)
a>
Private Sub UserDocument_InitProperties()
' Initialize the document's two data items.
End Sub
b>
path = GetPathFromFullFileName(UserDocument.Parent.LocationURL)
Hyperlink.NavigateTo path & "UserDocument2.vbd"
d>
Private Sub txtUserName_Change()
' Tell the container than a property has changed.
PropertyChanged "UserName"
e>
'Tell the container that a property has been changed.
PropertyChanged "UserComment"
UserDocument_ReadProperties(PropBag As PropertyBag)
' Read the document's two data items from the property bag.
txtUserName.Text = PropBag.ReadProperty("UserName", "")
UserComment = PropBag.ReadProperty("UserComment", "")
g>
UserDocument_WriteProperties(PropBag As PropertyBag)
' Write the document's two data items to the property bag.
PropBag.WriteProperty "UserComment", UserComment
PropBag.WriteProperty "UserName", txtUserName.Text
Private Sub cmdGoBack_Click()
Hyperlink.GoBack
End Sub
To study a free and open source software Send Mail.
The basic components of the mail system are:
gzip -dc sendmail.8.12.7.tar.gz | tar -xvf -
cd sendmail-8.12.7
# Follow the steps in the INSTALL file, which walk you through compiling. # Sendmail and setting up your configuration files.
The configuration files
3. access
Writing a sendmail configuration file
Generating sendmail.mc
VERSIONID(`My very own sendmail.mc’)
OSTYPE(linux)
DOMAIN(generic)
VERSIONID, OSTYPE, and DOMAIN these are the m4 macro names. The values in the parentheses are the options for that macro.
We can add some features to the mail server.Features are added using the FEATURE macro.
eg. FEATURE(access_db, `hash -o -T> TMPF FEATURE(local_lmtp)
Lastly, setting some mailers for the system:
MAILER(local)
MAILER(smtp)
This configures sendmail for local mail operation and SMTP mail operation.
Generating sendmail.cf
/usr/share/sendmail/cf/m4/cf.m4 \
sendmail.mc
This assumes your sendmail m4 directory is in /usr/share/sendmail/cf. It may be in a different location on your system. Sometimes you’ll find it in /usr/src/sendmail. Once you run the above command, you’ll have a ready-to-use sendmail.cf file.
Starting and Stopping sendmail
To start the server, run these commands:
/usr/sbin/sendmail -L sm-msp-queue -Ac -q25m
This starts the sendmail MTA as well as the queue runner.
To stop sendmail, issue this command:
Sendmail reacts to signals in a normal manner and when it is sent SIGTERM it will shut itself down.
CONCLUSION: