Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sendmail to send/recieve mails on aix to/from Exchange 2

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
hi all
I want to configure my aix box to recieve emails from
a win2k exchange server using sendmail....
Is it possile or i have to configure pop server on AIX
for this purpose...if yes then how b/c i dont find any doc
for cofiguring pop on AIX.
Can any body help me t configure sendmail for recieving
mail from exchange server and if possibe to send also
mails to that server.
Thanks in advance
Jasmine Richards
 
hi james,

i did it before, 'hope it's going to work for you. here's how:

1. make sure you configured your MS WIN NT to pass an email to your AIX box. (is it your DNS server?)

2. look for /etc/sendmail.cf @ AIX

3. create a file named sendmail.cw under /etc with the WIN NT name server on it or any mail server you want to receive emails.

4. uncomment #Fw-o /etc/sendmail.cw

5. restart sendmail

'hope it'll work for you, too.


 
In the AIX Documentation Search Service (= Online Manuals)

--------------------------------------------------------------------------------
System Management Guide: Communications and Networks

--------------------------------------------------------------------------------

Internet Message Access Protocol (IMAP) and Post Office Protocol (POP)
AIX provides two Internet-based electronic mail protocol server implementations for accessing mail remotely:

Post Office Protocol (POP)
Internet Message Access Protocol (IMAP)
Both the POP and IMAP servers store and provide access to electronic messages. Using these mail access protocols on a server eliminates the requirement that, to receive mail, a computer must always be up and running.

This implementation includes both a POP server and an IMAP server.

The POP server provides an off-line mail system, whereby a client, using POP client software, can remotely access a mail server to retrieve electronic mail messages. The client can either download the mail messages and immediately delete the messages from the server, or download the messages and leave the messages resident on the POP server. After the mail is downloaded to the client machine, all mail processing is local to the client machine. The POP server allows access to a user's mailbox by only one client at a time.

The IMAP server provides a superset of POP functionality but has a different interface. (Thus, there are IMAP-specific mail clients and POP-specific mail clients.) The IMAP server provides an off-line service, as well as an on-line service and a disconnected service. The IMAP protocol is designed to permit manipulation of remote mailboxes as if they were local. For example, clients can perform searches and mark messages with status flags such as "deleted" or "answered." In addition, messages can remain in the server's database until explicitly removed. The IMAP server also allows simultaneous interactive access to user mailboxes by multiple clients.

Both the IMAP and POP servers are used for mail access only. These servers rely on the Simple Mail Transfer Protocol (SMTP) for sending mail.

Both IMAP and POP are open protocols, based on standards described in RFCs. The IMAP server is based on RFC 1730, and the POP server is based on RFC 1725. Both are connection-oriented using TCP sockets. The IMAP server listens on well-known port 143, and the POP server listens on well-known port 110. Both servers are handled by the inetd daemon.

Configuring IMAP and POP Servers
Prerequisites
You must have root authority.

Procedure
Uncomment the imapd and pop3d entries in the /etc/inetd.conf file.
Refresh the inetd daemon by running the following command:
refresh -s inetd
Running Configuration Tests
You may want to run a few tests to verify your imapd and pop3d servers are ready for operation.

First, verify the servers are listening on their well-known ports. To do this, enter:

netstat -a | grep imap
netstat -a | grep pop
You should receive the following output from the netstat command:

tcp 0 0 *.imap2 *.* LISTEN
tcp 0 0 *.pop3 *.* LISTEN
If you do not receive this output, recheck the entries in the /etc/inetd.conf file and rerun the refresh -s inetd command.

To test the configuration of the imapd server, you can telnet into the imap2 port, 143. When you telnet in, you should get the imapd prompt. You can enter the IMAP Version 4 commands as defined in RFC 1730. To run one of the commands, type a period (.), followed by a space, and then the command name. For example:

. CommandName
Note that passwords are echoed when you telnet into the imapd server.

In the following telnet example, you must provide your own password where id_password is indicated in the login command.

telnet e-xbelize 143
Trying...
Connected to e-xbelize.austin.ibm.com.
Escape character is '^]'.
* OK e-xbelize.austin.ibm.com IMAP4 server ready
. login id id_password
. OK
. examine /usr/spool/mail/root
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]
* 0 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 823888143]
. OK [READ-ONLY] Examine completed
. logout
* BYE Server terminating connection
. OK Logout completed
Connection closed.
To test the configuration of the pop3d server, you can telnet into the Post Office Protocol Version 3 (POP3) port, 110. When you telnet in, you should get the pop3d prompt. You can enter the POP commands that are defined in RFC 1725. To run one of the commands, type a period (.), followed by a space, and then the command name. For example:

. CommandName
Note that passwords are echoed when you telnet into the pop3d server.

In the following telnet example, you must provide your own password where id_password is indicated in the pass command.

telnet e-xbelize 110
Trying...
Connected to e-xbelize.austin.ibm.com.
Escape character is '^]'.
+OK e-xbelize.austin.ibm.com POP3 server ready
user id
+OK Name is a valid mailbox
pass id_password
+OK Maildrop locked and ready
list
+OK scan listing follows
.
stat
+OK 0 0
quit
+OK
Connection closed.
syslog Facility
The IMAP and POP server software sends log messages to the syslog facility.

To configure your system for IMAP and POP logging through the syslog facility, you must be the root user. Edit the /etc/syslog.conf file, and add an entry for *.debug as follows:

*.debug /usr/adm/imapd.log
The usr/adm/imapd.log file must exist before the syslogd daemon re-reads the /etc/syslog.conf configuration file. To create this file, enter the following command:

touch /usr/adm/imapd.log
Then, refresh the syslogd daemon to re-read its configuration file. Enter the following command:

refresh -s syslogd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top