Receiving mail in Unix


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Receiving mail in Unix
# 1  
Old 09-13-2006
Data Receiving mail in Unix

I have 2 problems with my mail on Unix..

1- I have accounts on 2 different unix boxes, one running Sun Solaris and other is a version of Linux. When I receive email on those machines, on one the email arrives in my /var/mail/USERNAME; whereas on the other box the email is delivered to $HOME/mail/inbox even though I have a /var/mail/USERNAME file ready to receive messages. It creates problems because my pine email program is configured to read the messages in /var/mail/USERNAME file. Since the emails arrive on $HOME/mail/inbox I have to cat it at the end of the /var/mail/USERNAME file.. and there are some other additional problems as well, such as deleting messages and so on.

I browsed through the config files on the system to see where it says that "receive the messages on $HOME/mail/inbox" but I couldn't find anything. Even when I delete the $HOME/mail/inbox file or the $HOME/mail directory, it still creats that directory and/or file on new message arrival..

what makes that difference? where is it configured that way, any idea?

(I hope I have been clear..)

2- When I am trying to send an email using pine I receive a message like this:

Quote:
Problem detected: "Received abort signal".
Pine Exiting.
And I can't send any message. What might be the problem?

Regards,

Last edited by milhan; 09-13-2006 at 06:54 PM.. Reason: new question
# 2  
Old 09-13-2006
A couple of thoughts. It sounds like an imap server setup. Is an imap server installed and running (netstat -a | grep imap or telnet localhost 143|220)? An alternative would be do you have procmail running (.procmailrc and possibly a .forward file in your home directory)?

Carl
# 3  
Old 09-13-2006
Quote:
Originally Posted by BOFH
netstat -a | grep imap or telnet localhost 143|220)?
Code:
localhost [~]# netstat -a | grep imap
tcp        0      0 *:imaps                 *:*                     LISTEN
tcp        0      0 *:imap                  *:*                     LISTEN

Code:
localhost [~]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4REV1 LITERAL+ SASL-IR LOGIN-REFERRALS AUTH=LOGIN]
 localhost IMAP4rev1 2004.357-cpanel at Wed, 13 Sep 2006 15:00:52 -0700 (PDT)

Quote:
An alternative would be do you have procmail running (.procmailrc and possibly a .forward file in your home directory)?
no, I have neither of those..
# 4  
Old 09-13-2006
Yep, I'd say you have imap installed and running Smilie I haven't had an opportunity to admin imap so I can't be of any more help than this without finding the docs and reading it.

If you don't use imap and it's your server, you might just stop imap. That'd probably solve the problem.

Carl
# 5  
Old 09-15-2006
I still couldn't solve my both problems. Any help will be highly appreciated..
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. 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

2. Shell Programming and Scripting

mail is not receiving from the server

Dear All, I am using CentOS release 5.5 (Final).I want to monitoring the system activity through mail.But the <code>mail -s "Subject" user1@domain.com</code> is not working from the server.could you help me the procedure to generate mail from the server. (2 Replies)
Discussion started by: kpoobathi
2 Replies

3. Red Hat

Sendmail fails receiving mail since the IP changed on Redhat Server

Hi, Since i move my Linux Redhat server on another Network with new IP address. WE'RE ABLE TO SEND MAIL OUTSIDE BUT we can not receive any incoming mail. It alway points to the old IP. I updated new IP in /etc/hosts and /etc/sysconfig/network then reboot the system. 10.117.32.20 is an old ip... (3 Replies)
Discussion started by: lamoul
3 Replies

4. UNIX for Dummies Questions & Answers

Unix mail to personal mail, Strange behavour

Hi. I am running a script on solaris 10 and mailing it to my personal email. the script is ran as user xxx, And i have edited the crontab for user xxx to run the script and mail it to my email account. /network_check.sh | /usr/bin/mailx -s "Network Test" k454@hotmail.com the sript... (2 Replies)
Discussion started by: k00061804
2 Replies

5. UNIX for Advanced & Expert Users

Mail Receiving issue in linux Environment

we got one critical issue in job scheduling.we are migrating one application from solaris environment (Current PROD) to SUSE linux 9 environment (New or ported PROD).The application actually schedules the job by filtering the subject of the incoming mail (using PROCMAIL).Here incoming mail is... (0 Replies)
Discussion started by: prisaras
0 Replies

6. UNIX for Dummies Questions & Answers

Receiving error on Unix server-- java.lang.UnsatisfiedLinkError: registerNatives

Hi all, This is my first shell script, so I'm hoping the problem is that I'm just missing something, and not something bigger. I have a Java application that I wrote in WSAD that reads data from an Excel file and inserts values into a DB2 database. I'm able to run it successfully in WSAD. I... (4 Replies)
Discussion started by: loveToBlade
4 Replies

7. UNIX for Dummies Questions & Answers

I am not able to send mail form unix to other mail accounts.

Using Mailx command i.e mailx -s "subject" chinni@hotmail.com < \tmp\chin this command executed sucessfully but not able to receive the mail in chinni@hotmail.com please help. (1 Reply)
Discussion started by: chinnigd
1 Replies

8. 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
Login or Register to Ask a Question