Visit Our UNIX and Linux User Community

Mail server using POP3

Thread Tools Search this Thread
Operating Systems Linux Red Hat Mail server using POP3
# 1  
Old 03-18-2011
Mail server using POP3


I am trying to set up a mail server on Redhat9. I have read about POP3 and have decided to use that. However, I am unable to configure the files properly.

Can anyone tell me how to configure POP3?

Previous Thread | Next Thread
Test Your Knowledge in Computers #1008
Difficulty: Medium
A power series will converge for some values of the variable x and may diverge for others.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to send mail using PHP mail function On apache server.?

Hello, I am using centos-6.2 I have apache server,php5 on my system and I want to send mail using sendmail on my system. when I try to send mail from shell that time mail is succesfully sent to respective address() but when I try to send it through webbrowser I am not able to send it.... (1 Reply)
Discussion started by: Kiran ursal
1 Replies

2. UNIX for Advanced & Expert Users

How can I send a mail from my outlook or other mail accounts to UNIX server?

Hi all, I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix. How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Discussion started by: igelegin
2 Replies

3. UNIX for Dummies Questions & Answers

Minimal Mail Server Setup for Local Mail Transfer

I am trying to get stored mail out of an old mail client. I figured that the easiest way to do it is with IMAP by logging in with both clients. I can copy the mail to the server from the old mail client, and back down into the new mail client. Rather than using a real mail account on the... (2 Replies)
Discussion started by: nixie
2 Replies

4. UNIX for Dummies Questions & Answers

POP3 Mail Client (Command Line)

Hi list, I need a POP3 mail client which I can use from the command line within a bash shell script to download email to a folder location. Can anyone recommend a good POP3 client which can be used from the command line in bash? Using redhat enterprise linux 5 and 6. thanks, Land (2 Replies)
Discussion started by: landossa
2 Replies

5. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

6. HP-UX

[Solved] How do I configure Unix Mail Server to use another Mail Exchange Server

We have configured our mail unix server and can send out emails automatically from applications running on unix to different people in our company as well as outside our company. However there is an outside client who is not receiving these emails because the settings on their mail server cannot... (4 Replies)
Discussion started by: Tenyhwa
4 Replies

7. Solaris

identify the mail server for mail command

Hi , I am new to unix , i am using the mail and mailx command to send the mail .How come i will know the my mail command using which server as mail box.. Please help me .. Thanks in advance (1 Reply)
Discussion started by: julirani
1 Replies

8. UNIX for Dummies Questions & Answers

Qmail is working. Can't log into Pop3 server

I have installed Qmail via Lifewithqmail instructions. Qmail is working fine. The user directories are getting mail. I am using the qmail pop serve with checkpassword. When I check my mail with outlook I get a message saying the user has no $home/Maildir. Everything seems to be working. I just... (0 Replies)
Discussion started by: stufine
0 Replies

9. Red Hat

Pop3 server problem

hi frnds Unable to connect to POP server Error sending password: -ERR Bad login i m getting this problem in Ximain .I m using Redhat Enterprise 3. mit (1 Reply)
Discussion started by: naik_mit
1 Replies

10. UNIX for Dummies Questions & Answers

can not send mail from unix server to company/yahoo mail

hi, Gurus, I need some help with sending mail out from my UNIX server: It is running Solaris 2.6 and the sendmail version is 8.8. Output of :/usr/lib/sendmail -d0.1 -bt < /dev/null Version 8.8.8+Sun Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET ... (5 Replies)
Discussion started by: b5fnpct
5 Replies
Net::POP3(3pm)						 Perl Programmers Reference Guide					    Net::POP3(3pm)

Net::POP3 - Post Office Protocol 3 Client class (RFC1939) SYNOPSIS
use Net::POP3; # Constructors $pop = Net::POP3->new('pop3host'); $pop = Net::POP3->new('pop3host', Timeout => 60); DESCRIPTION
This module implements a client interface to the POP3 protocol, enabling a perl5 application to talk to POP3 servers. This documentation assumes that you are familiar with the POP3 protocol described in RFC1939. A new Net::POP3 object must be created with the new method. Once this has been done, all POP3 commands are accessed via method calls on the object. EXAMPLES
Need some small examples in here :-) CONSTRUCTOR
new ( [ HOST, ] [ OPTIONS ] ) This is the constructor for a new Net::POP3 object. "HOST" is the name of the remote host to which a POP3 connection is required. If "HOST" is not given, then the "POP3_Host" specified in "Net::Config" will be used. "OPTIONS" are passed in a hash like fashion, using key and value pairs. Possible options are: ResvPort - If given then the socket for the "Net::POP3" object will be bound to the local port given using "bind" when the socket is created. Timeout - Maximum time, in seconds, to wait for a response from the POP3 server (default: 120) Debug - Enable debugging information METHODS
Unless otherwise stated all methods return either a true or false value, with true meaning that the operation was a success. When a method states that it returns a value, failure will be returned as undef or an empty list. user ( USER ) Send the USER command. pass ( PASS ) Send the PASS command. Returns the number of messages in the mailbox. login ( [ USER [, PASS ]] ) Send both the USER and PASS commands. If "PASS" is not given the "Net::POP3" uses "Net::Netrc" to lookup the password using the host and username. If the username is not specified then the current user name will be used. Returns the number of messages in the mailbox. However if there are no messages on the server the string "0E0" will be returned. This is will give a true value in a boolean context, but zero in a numeric context. If there was an error authenticating the user then undef will be returned. apop ( [ USER [, PASS ]] ) Authenticate with the server identifying as "USER" with password "PASS". Similar to "login", but the password is not sent in clear text. To use this method you must have the Digest::MD5 or the MD5 module installed, otherwise this method will return undef. top ( MSGNUM [, NUMLINES ] ) Get the header and the first "NUMLINES" of the body for the message "MSGNUM". Returns a reference to an array which contains the lines of text read from the server. list ( [ MSGNUM ] ) If called with an argument the "list" returns the size of the message in octets. If called without arguments a reference to a hash is returned. The keys will be the "MSGNUM"'s of all undeleted messages and the values will be their size in octets. get ( MSGNUM [, FH ] ) Get the message "MSGNUM" from the remote mailbox. If "FH" is not given then get returns a reference to an array which contains the lines of text read from the server. If "FH" is given then the lines returned from the server are printed to the filehandle "FH". getfh ( MSGNUM ) As per get(), but returns a tied filehandle. Reading from this filehandle returns the requested message. The filehandle will return EOF at the end of the message and should not be reused. last () Returns the highest "MSGNUM" of all the messages accessed. popstat () Returns a list of two elements. These are the number of undeleted elements and the size of the mbox in octets. ping ( USER ) Returns a list of two elements. These are the number of new messages and the total number of messages for "USER". uidl ( [ MSGNUM ] ) Returns a unique identifier for "MSGNUM" if given. If "MSGNUM" is not given "uidl" returns a reference to a hash where the keys are the message numbers and the values are the unique identifiers. delete ( MSGNUM ) Mark message "MSGNUM" to be deleted from the remote mailbox. All messages that are marked to be deleted will be removed from the remote mailbox when the server connection closed. reset () Reset the status of the remote POP3 server. This includes reseting the status of all messages to not be deleted. quit () Quit and close the connection to the remote POP3 server. Any messages marked as deleted will be deleted from the remote mailbox. NOTES
If a "Net::POP3" object goes out of scope before "quit" method is called then the "reset" method will called before the connection is closed. This means that any messages marked to be deleted will not be. SEE ALSO
Net::Netrc, Net::Cmd AUTHOR
Graham Barr <> COPYRIGHT
Copyright (c) 1995-1997 Graham Barr. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. $Id: //depot/libnet/Net/ $ perl v5.8.0 2002-06-01 Net::POP3(3pm)

Featured Tech Videos