LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-16-2003, 12:44 PM   #1
sicasal
LQ Newbie
 
Registered: Jul 2003
Location: Portugal / Lisbon
Distribution: RedHat 9
Posts: 23

Rep: Reputation: 15
qmail and Getmail


HI all...

Ive got a problem with Getmail in qmail.

What I need is the following:
Ive got qmail running OK, everything works...
At this moment I need something to get emails for me on a POP3 account from an ISP, cause Iam waiting for my Fix IP Adress to relay myself.
For this I found Getmail and it should work fine, it does actually, but when it gets the mails (configured with CRON Jobs every 5 min.) it posts the emails in my Maildir as an Owner as the Cron Job was running.
Ive got 25 accounts to get an so all the mails in the Maildir has the same Owner/Group.
Result: --> A cant get 24 of the emails with the Client like Outlook or what ever as the Client cant open the mail. It doesnt have the right owner. The 25 th client works (myself) as I work with the same user with runs the Cron Job, so there is no Owner problem.

I tried to fix this by givin all th Maildirs in /home/ the modus 0770 for Group rights. but it doesnt work cause the file in the Maildir has the wrong owner.

How can I fix this... should I run a second cron job like
chown -R 0770 /home/
so after getting mails it changes the owner of the hole /home/ dir.
Its not very safe I think...

Please, any suggestions ?

Regards and Thanks

Sicasal
 
Old 08-18-2003, 04:33 AM   #2
sicasal
LQ Newbie
 
Registered: Jul 2003
Location: Portugal / Lisbon
Distribution: RedHat 9
Posts: 23

Original Poster
Rep: Reputation: 15
Hi, ...

Does anyone have some suggestions to the matter above ?

Please, I need help....

Thanks a lot
Regards
 
Old 08-20-2003, 06:26 PM   #3
zopista
LQ Newbie
 
Registered: May 2003
Location: Wellington, New Zealand
Distribution: Debian sometimes, RedHat mostly ... playing with Mandrake on my laptop
Posts: 5

Rep: Reputation: 0
Try this:

Create a group for all users with pop3 accounts to belong to call it getmailers.

Make all of your users members of this group including your user that owns the cronjob that initiates the getmail process.

change the permissions on the home directories for the above users to 770. ie read/write/executable by the owner and members of the group.

HTH
 
Old 08-21-2003, 09:13 AM   #4
sicasal
LQ Newbie
 
Registered: Jul 2003
Location: Portugal / Lisbon
Distribution: RedHat 9
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks, i solved it with a couple of cronjobs, as I change the
Owner and Modus for each directory and user...

Thanks anyway

PEACE
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getmail exvor Linux - Software 3 03-31-2005 09:28 PM
fetchmail v. getmail gypsy_rabbi Linux - Software 0 01-26-2005 04:58 PM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM
using getmail linksocc Linux - Software 0 11-21-2003 12:19 AM
qmail getmail redhat 9 spam virus filter baronsam Linux - Networking 0 10-19-2003 06:15 AM


All times are GMT -5. The time now is 08:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration