nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Postfix user accounts

This is a discussion on Postfix user accounts within the Mail Servers forums, part of the Mastering Servers category; I just finished setting up postfix as a gmail relay and as soon as I engage fetchmail, I notice (via ...


Go Back   nixCraft Linux Forum > Mastering Servers > Mail Servers

Linux answers from nixCraft.


Mail Servers Discussion on Postfix/Sendmail Mail servers and related program such as IMAP/POP3, Anti-Spam technologies.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 31-10-2009, 08:01 AM
Junior Member
User
 
Join Date: Oct 2009
OS: Ubuntu
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mewrei is on a distinguished road
Default Postfix user accounts

I just finished setting up postfix as a gmail relay and as soon as I engage fetchmail, I notice (via mutt) that I didn't have a mail spool file for my current user account in /var/mail

So I touched a file in that folder with my username and checked the permissions but it looks like Postfix still isn't writing out any mail to that spool.

Any ideas on how to remedy this?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 31-10-2009, 06:32 PM
jaysunn's Avatar
Powered By Linux
User
 
Join Date: Apr 2009
Location: 41.332032,-73.089775
OS: RHEL - OSX
Posts: 598
Thanks: 61
Thanked 78 Times in 70 Posts
Rep Power: 10
jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold
Default

Hello,

Not sure if this is the case on Ubuntu. But RHEL postfix spool folders are located here:

Code:
[root@sugar ~]# cd /var/spool/mail/
[root@sugar mail]# ls
amalik  dbasantani  kchakraborty  kshenai  nprajapati  rrao  snishchay  sshukla  zheng
[root@sugar mail]#

Code:
---Mutt: /var/spool/mail/root [Msgs:0]---(date/date)-------------------------------------------------------------------------------------------------------------------------------------------------------------------------(all)---
Mail sent.
Jaysunn
__________________
Have a look at what I have been working on
http://www.shellasaurus.com

Last edited by jaysunn; 31-10-2009 at 06:38 PM.
Reply With Quote
  #3 (permalink)  
Old 01-11-2009, 01:24 AM
Junior Member
User
 
Join Date: Oct 2009
OS: Ubuntu
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mewrei is on a distinguished road
Default

hmm, /var/mail must symlink to /var/spool/mail on Ubuntu, just checked in that location and it seems to be the same story with the file. There's the file I created with my local user, but its still empty.
Reply With Quote
  #4 (permalink)  
Old 01-11-2009, 04:25 AM
jaysunn's Avatar
Powered By Linux
User
 
Join Date: Apr 2009
Location: 41.332032,-73.089775
OS: RHEL - OSX
Posts: 598
Thanks: 61
Thanked 78 Times in 70 Posts
Rep Power: 10
jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold
Default

hmm,
I checked this on RHEL, and the same. There must be a symlink for both locations.

Code:
/var/mail
/var/spool/mail
Very odd,
I removed my root folder and was presented with this:

Code:
---Mutt: (no mailbox) [Msgs:0]---(date/date)---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------(all)---
/var/spool/mail/root: No such file or directory (errno = 2)
Upon running:

Code:
 touch /var/spool/mail/root
I was good. Very odd. How is your drive space looking? Do you have space?

Jaysunn
__________________
Have a look at what I have been working on
http://www.shellasaurus.com
Reply With Quote
  #5 (permalink)  
Old 01-11-2009, 04:39 AM
Junior Member
User
 
Join Date: Oct 2009
OS: Ubuntu
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mewrei is on a distinguished road
Default

Yeah I have gigabytes of space left in that partition. Further, the root account is functioning normally (I'm getting the cronjob reports emailed to me).

It might be worth mentioning that I have my /home partition segmented from the rest of the partitions and whenever I reinstall I rename the count the exact same thing as previous so all my settings migrate over.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Samba PDC with Openldap--getent fails to show ldap accounts nixcraftraj Novell Suse / OpenSuse 0 10-08-2009 06:19 PM
Postfix User Mailbox Quota jgijanto Mail Servers 6 09-05-2009 02:52 AM
Difference betwwen : Locked User Account & Disabled User Accounts in Linux ? avklinux CentOS / RHEL / Fedora 1 02-03-2009 04:02 PM
postfix one user multiple instance irfan1234 Mail Servers 0 10-08-2008 04:53 PM
How do i create new email accounts in Postfix? stoneiidol Mail Servers 4 05-08-2008 09:02 PM


All times are GMT +5.5. The time now is 11:51 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38