Solved

fetchmail problem

Posted on 2004-08-25
5
205 Views
Last Modified: 2013-12-15
hi,
i need help on my linux server. everytime i edit my fetchmail. the sender always receive this message and i cannot retrieve the mails to my pc.

"I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the message returned below.

The Postfix program

<wferrer@tycophil.com>: cannot access mailbox /var/mail/wferrer for
user
    wferrer. cannot open file: Permission denied"
0
Comment
Question by:bongets
  • 3
  • 2
5 Comments
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 11908071
What are the permissions for /var/mail/wferrer?
0
 

Author Comment

by:bongets
ID: 11908631
im new in using linux. i dont know how to specify permisions. all i did was add the user wferrer and assign a password. then i use the mcedit .fetchmailrc command to get the mails. the last thing i remember also was i use the usermod -p command. what does that do?
0
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 11910699
Log in as wferrer and use the command "touch /var/mail/wferrer" (without the quotes).
0
 

Author Comment

by:bongets
ID: 11910816
i looked at the /var/mail and i saw this:
-rw-rw---- 1  568   568   0 Aug 17 18:04   wferrer   but our format should be li this
-rw-rw---- 1  wferrer   wferrer   0 Aug 17 18:04. how will i make it like this one?

many thanks
0
 
LVL 17

Accepted Solution

by:
owensleftfoot earned 500 total points
ID: 11910839
change to the /var/mail directory and use the commands
chown wferrer wferrer
chgrp wferrer wferrer
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now