Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-16-2008, 12:19 AM   #1
Senior Member
Registered: Apr 2003
Posts: 3,679

Rep: Reputation: 55
mails never arrive nor rejected

Hi folks,

Ubuntu 7.04 server amd64
Postfix 2.3.8
SquirrelMail version 1.4.11

I discovered the cause of the non-arrival of incoming mails to users. The mails were not rejected.

Users have their mailbox on $HOME/Maildir. Addtionally they have another mail_files on;

$ ls /var/mail/
Maildir user1 user2 user3 user4 etc.

$ ls /var/mail/Maildir/
cur new tmp

/var/mail/Maildir/cur and /tmp are empty
/var/mail/Maildir/new having spam mails

Each time when new mails arrive the same will be added on their mail-files on /var/mail. For such a reason the new mails never arrive on $HOME/Maildir.

When creating a new account with;

$ sudo useradd -m -s /bin/bash user100

New mail box will be created on user's $HOME/Maildir automatically. However the first new mail to user100 will create a new mail_file on /var/mail/user100. All later mails to user100 will be added on /var/mail/user100 (the mail_file)

Please advise where shall I check and how to fix this problem. I don't need mail_files. I need all incoming mails delivered on respective $HOME/Maildir. TIA

Old 02-17-2008, 01:34 PM   #2
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
What is your home_mailbox set to in your /etc/postfix/ file?
Old 02-17-2008, 01:42 PM   #3
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Originally Posted by
Support for maildir-style mailboxes

Maildir is a specific one-file-per-message organization that was introduced with the qmail system by Daniel Bernstein. In order to turn on maildir-style delivery, specify, for example:
home_mailbox = Maildir/
Any relative pathname that ends in / turns on maildir delivery. The home_mailbox value is appended to the user's home directory pathname.
The maildir format is also supported with delivery via aliases or via .forward files. Specify /file/name/ as destination. The trailing / turns on maildir delivery.

I have my home_mailbox setup exactly as described above on Ubuntu and it uses my home directory Maildirs.


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
STRANGE:mailserver receives mails but is not able to send mails outside nics Linux - Server 1 05-04-2007 12:44 AM
Allow only local domain mails reject other mails sikkalgopal Linux - Server 0 04-03-2007 12:51 AM
Sendmai can send mails but unable to receive mails satimis Linux - Server 2 02-15-2007 09:22 AM
Mails sent from server rejected. Possible domain problem? zentro Linux - Newbie 5 02-15-2006 09:53 PM
Mails don't arrive from Internet... csavoretti Linux - Networking 20 12-24-2004 08:34 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:41 PM.

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