Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
damn email. postfix help....again... ;)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
exklusve
Apprentice
Apprentice


Joined: 23 Aug 2002
Posts: 270
Location: currently ~/

PostPosted: Tue Feb 04, 2003 5:44 pm    Post subject: damn email. postfix help....again... ;) Reply with quote

Well i finially have postfix working. pop3d and smtp. but....its only for Root.

I have no idea why?

any help on this?

thanx!
_________________
eXklusve

You do know that no one gives a shit about your system spec's right?
Back to top
View user's profile Send private message
rtn
Guru
Guru


Joined: 15 Nov 2002
Posts: 427

PostPosted: Tue Feb 04, 2003 6:14 pm    Post subject: Reply with quote

That's a little vague.

Is root the only user that can accept mail? Is root the only user that can
access the pop server? Do the logs show you anything helpful? Are you
using mbox or maildir and do the correct spoolfiles/permissions exist?

--rtn
Back to top
View user's profile Send private message
exklusve
Apprentice
Apprentice


Joined: 23 Aug 2002
Posts: 270
Location: currently ~/

PostPosted: Tue Feb 04, 2003 6:32 pm    Post subject: Reply with quote

I can login as myself on the box, and use mutt to send an email. that works fine. but if i send my self an email, from say my hotmail account. i get a return email back. if i send myself an email as root on my gentoo box, i get the same error. heres the info from an email..
Code:

Return-Path: <>
Delivered-To: root@hightekterror.com
Received: by hightekterror.com (Postfix)
        id B05ACA6ACB; Tue,  4 Feb 2003 03:30:01 -0800 (PST)
Date: Tue,  4 Feb 2003 03:30:01 -0800 (PST)
From: MAILER-DAEMON@hightekterror.com (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: root@hightekterror.com
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
        boundary="971F2A6ACC.1044358201/hightekterror.com"
Message-Id: <20030204113001.B05ACA6ACB@hightekterror.com>

[-- Attachment #1: Notification --]
[-- Type: text/plain, Encoding: 7bit, Size: 0.5K --]

This is the Postfix program at host hightekterror.com.

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

<chrisv@hightekterror.com>: maildir delivery failed: create
    /home/chrisv/.maildir/tmp/1044358201.1930_0.hightekterror.com: Permission
    denied

[-- Attachment #2: Delivery error report --]
[-- Type: message/delivery-status, Encoding: 7bit, Size: 0.3K --]

Reporting-MTA: dns; hightekterror.com
Arrival-Date: Tue,  4 Feb 2003 03:30:01 -0800 (PST)

Final-Recipient: rfc822; chrisv@hightekterror.com
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; maildir delivery failed: create
    /home/chrisv/.maildir/tmp/1044358201.1930_0.hightekterror.com: Permission
    denied

does that help?
is it something with postfix not having rights to write to my home dir?

thanx
_________________
eXklusve

You do know that no one gives a shit about your system spec's right?
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Tue Feb 04, 2003 7:01 pm    Post subject: postfix and directory permissions Reply with quote

exklusve wrote:

The Postfix program

<chrisv@hightekterror.com>: maildir delivery failed: create
/home/chrisv/.maildir/tmp/1044358201.1930_0.hightekterror.com: Permission
denied


I ran across some docs a few months ago that stated in a roundabout way that Postfix will not create a maildir if the recipient does not have permission to create the dir. I can't find a reference to it now, but it would fit the described problem nicely. I would check the following

1. does /home/chrisv exist?
2. is the owner chrisv and the group users?

to fix:
mkdir /home/chrisv
chown -R chrisv:users /home/chrisv

You may want to install the superadduser package which will create users, home dirs, copy rc files, etc with the correct permissions from the start. useradd is pretty unfancy.

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
exklusve
Apprentice
Apprentice


Joined: 23 Aug 2002
Posts: 270
Location: currently ~/

PostPosted: Tue Feb 04, 2003 7:05 pm    Post subject: Reply with quote

thanx!

I had to run
Code:
chown -R chrisv:users /home/chrisv

and it worked.
I did use superadduser too add all my users.. dont know why this was screwed up.
i'll check the other users.

now i hope this is the last problem i have! 8)
thanx again!! :P
_________________
eXklusve

You do know that no one gives a shit about your system spec's right?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum