Sponsored Content
Operating Systems Solaris How can I edit the mailbox manually Post 302271789 by rolandk on Sunday 28th of December 2008 07:17:25 AM
Old 12-28-2008
How can I edit the mailbox manually

I use gmail to POP my account because of the spamfilter. From time to time I receive an error message
"Connection timed out: There may be a problem with the settings you added. Ple..." after this I am no longer able to retrieve my mails because of the blocked session: "[IN-USE] /var/spool/mail/.xxx.xxx.pop lock busy! Is another session ac..."
I delete the account on gmail and wait a while (few hours) after which I reconfigure the client account. Sometimes it works for 200 mails than the same story again but most of the time I recieve the first message "Connection timed out: There may be a problem with the settings you added. Ple...".
I am the only user, it's a dedicated server. How can I edit the mailbox manually (for example through vi) so that I can look for corrupted lines, problems etc and how can I identify and kill the active session. I am familiarized with telnet, shell and some unix/linux commands and I have read some chapters about sendmail etc Smilie Thank you for your help in advance
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Mailbox file format

Does anyone know where can I find information about UNIX mailbox files' organization? I am willing to develop a file-mailbox-compliant mail agent, but for doing so I need that information. (1 Reply)
Discussion started by: exile
1 Replies

2. UNIX for Dummies Questions & Answers

Delete Mailbox

Hi!! Where can i delete or find the *.mbox files in unix??? Please help me!! (3 Replies)
Discussion started by: Juergen1234
3 Replies

3. UNIX for Dummies Questions & Answers

Mailbox Nightmares!

I would like to migrate my current system's mailboxes to mail folders and i'm currently running exim! Anyone help with a new mail server and the migration to the one? (1 Reply)
Discussion started by: enzophite
1 Replies

4. Linux

root mailbox problem

Hi, I have a linux box which works as an smtp server. Past few months I am facing a problem, all the mails which my local lan users send to the outside world, all such mail gets bounced to root's mailbox. Also I have found that the mails which get bounced to the root's mailbox are mostly... (3 Replies)
Discussion started by: RajaRC
3 Replies

5. UNIX for Dummies Questions & Answers

Tell UW-Imap to read /var/mail/mailbox ??

Hi, I've got UW-IMAP installed on Gentoo. I'm using EXIM as the transfer agent. EXIM is working fine (I think)... all incoming mail - external and internal goes to /var/mail/username file. I can verifiy this by reading this file directly with nano. Also, IMAPd is running. It lets me login... (2 Replies)
Discussion started by: d11wtq
2 Replies

6. Shell Programming and Scripting

Extract all attachments from unix mailbox file

Hi guys, I wondering if someone already wrote a script for this, it looks easy for the first shot but I would say it's a bit advanced. I want to extract all my email attachments from /var/mail/username (Unix mail format) + from my local mails (Maildir format) to a directory with the original... (4 Replies)
Discussion started by: raynor
4 Replies

7. Shell Programming and Scripting

I need delete old mailbox

HI guys, I used my server linux how server to send and receive mails, but my mailbox now are so big and I need delete old mails, I found a program in the web called "expired_mail", but i found some problem with this porgram because delete some files mailbox "big problem" Somebody know... (5 Replies)
Discussion started by: jcordova
5 Replies

8. HP-UX

email mailbox output -

this was handy for me. stout goes to mail here. #mailbox pgm=mailbox USER1=`eval whoami` ... (2 Replies)
Discussion started by: Bill L.
2 Replies

9. UNIX for Advanced & Expert Users

Mailbox server performance issue

Hi. my company's mailbox server has severe performance issue on the days while full backup is running. There is huge I/O in another "mail replication process" for standby servers ( which runs all the time, every 15 mins. ). specs of servers :- RHEL5.5 , kernel -2.6.18-53.1.6.el5 , 8 core... (6 Replies)
Discussion started by: gauravsharma29
6 Replies

10. UNIX for Dummies Questions & Answers

Can't POP the mails off the server, the mailbox is corrupt!

First, please forgive me for my 2nd attempt to post in a Forum! And btw, the Code Tags tutorial has the fonts and the sizes, but when I am editing my post none of those fonts and sizes are not there! SCO OpenServer(TM) Release 5 (worf.xxx.com) Worf is our proxy & POP Server, and it... (7 Replies)
Discussion started by: Nancy L
7 Replies
popper(8)						      System Manager's Manual							 popper(8)

NAME
popper - pop 3 server SYNOPSIS
/usr/libexec/popper [ -d ] [ -t trace-file] DESCRIPTION
Popper is an implementation of the Post Office Protocol server that runs on a variety of Unix computers to manage electronic mail for Mac- intosh and MS-DOS computers. The server was developed at the University of California at Berkeley and conforms fully to the specifications in RFC 1081 and RFC 1082. The Berkeley server also has extensions to send electronic mail on behalf of a client. The -d flag sets the socket to debugging and turns on debugging. All debugging information is saved using syslog(8). The -t trace-file flag turns on debugging and saves the trace information in trace-file using fprintf(s). HOW TO OBTAIN THE SERVER
The POP server is available via anonymous ftp from ftp.CC.Berkeley.EDU (128.32.136.9, 128.32.206.12). It is in two files in the pub direc- tory: a compressed tar file popper.tar.Z and a Macintosh StuffIt archive in BinHex format called MacPOP.sit.hqx. THE POP TRANSACTION CYCLE
The Berkeley POP server is a single program (called popper) that is launched by inetd when it gets a service request on the POP TCP port. (The official port number specified in RFC 1081 for POP version 3 is port 110. However, some POP3 clients attempt to contact the server at port 109, the POP version 2 port. Unless you are running both POP2 and POP3 servers, you can simply define both ports for use by the POP3 server. This is explained in the installation instructions later on.) The popper program initializes and verifies that the peer IP address is registered in the local domain, logging a warning message when a connection is made to a client whose IP address does not have a canonical name. For systems using BSD 4.3 bind, it also checks to see if a cannonical name lookup for the client returns the same peer IP address, logging a warning message if it does not. The the server enters the authorization state, during which the client must correctly identify itself by providing a valid Unix userid and password on the server's host machine. No other exchanges are allowed during this state (other than a request to quit.) If authentication fails, a warning message is logged and the session ends. Once the user is identi- fied, popper changes its user and group ids to match that of the user and enters the transaction state. The server makes a temporary copy of the user's maildrop (ordinarily in /usr/spool/mail) which is used for all subsequent transactions. These include the bulk of POP com- mands to retrieve mail, delete mail, undelete mail, and so forth. A Berkeley extension also allows the user to submit a mail parcel to the server who mails it using the sendmail program (this extension is supported in the HyperMail client distributed with the server). When the client quits, the server enters the final update state during which the network connection is terminated and the user's maildrop is updated with the (possibly) modified temporary maildrop. LOGGING
The POP server uses syslog to keep a record of its activities. On systems with BSD 4.3 syslogging, the server logs (by default) to the "local0" facility at priority "notice" for all messages except debugging which is logged at priority "debug". The default log file is /usr/spool/mqueue/POPlog. These can be changed, if desired. On systems with 4.2 syslogging all messages are logged to the local log file, usually /usr/spool/mqueue/syslog. DEBUGGING
The popper program will log debugging information when the -d parameter is specified after its invocation in the inetd.conf file. Care should be exercised in using this option since it generates considerable output in the syslog file. Alternatively, the "-t <file-name>" option will place debugging information into file "<file-name>" using fprintf instead of syslog. For SunOS version 3.5, the popper program is launched by inetd from /etc/servers. This file does not allow you to specify command line arguments. Therefore, if you want to enable debugging, you can specify a shell script in /etc/servers to be launched instead of popper and in this script call popper with the desired arguments. You can confirm that the POP server is running on Unix by telneting to port 110 (or 109 if you set it up that way). For example: %telnet myhost 110 Trying... Connected to myhost.berkeley.edu. Escape character is '^]'. +OK UCB Pop server (version 1.6) at myhost starting. quit Connection closed by foreign host. VERSION 1.7 RELEASE NOTES Extensive re-write of the maildrop processing code contributed by Viktor Dukhovni <viktor@math.princeton.edu> that greatly reduces the pos- sibility that the maildrop can be corrupted as the result of simultaneous access by two or more processes. Added "pop_dropcopy" module to create a temporary maildrop from the existing, standard maildrop as root before the setuid and setgid for the user is done. This allows the temporary maildrop to be created in a mail spool area that is not world read-writable. This version does *not* send the sendmail "From " delimiter line in response to a TOP or RETR command. Encased all debugging code in #ifdef DEBUG constructs. This code can be included by specifying the DEGUG compiler flag. Note: You still need to use the -d or -t option to obtain debugging output. LIMITATIONS
The POP server copies the user's entire maildrop to /tmp and then operates on that copy. If the maildrop is particularly large, or inade- quate space is available in /tmp, then the server will refuse to continue and terminate the connection. Simultaneous modification of a single maildrop can result in confusing results. For example, manipulating messages in a maildrop using the Unix /usr/ucb/mail command while a copy of it is being processed by the POP server can cause the changes made by one program to be lost when the other terminates. This problem is being worked on and will be fixed in a later release. FILES
/usr/spool/mail mail files /etc/inetd.conf pop program invocation /etc/syslog.conf logging specifications SEE ALSO
inetd(8), RFC1081, RFC1082 AUTHORS
Bob Campbell, Edward Moy, Austin Shelton, Marshall T Rose, and cast of thousands at Rand, UDel, UCI, and elsewhere 4.3 Berkeley Distribution November 27, 1996 popper(8)
All times are GMT -4. The time now is 12:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy