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

Notices


Reply
  Search this Thread
Old 05-06-2008, 08:44 AM   #31
Gortex
Member
 
Registered: Nov 2005
Location: Enid Ok
Distribution: ubuntu 64 , debian , fedora core , vista ultimate 64, Winows 7 64 ultimate :p
Posts: 219

Original Poster
Rep: Reputation: 30

I don't think outlook is failing the message. I can not find any thing about the internet headers in outlook.
 
Old 05-06-2008, 09:00 AM   #32
Gortex
Member
 
Registered: Nov 2005
Location: Enid Ok
Distribution: ubuntu 64 , debian , fedora core , vista ultimate 64, Winows 7 64 ultimate :p
Posts: 219

Original Poster
Rep: Reputation: 30
if i change the address to randy@SERVICE it works now to see if i can find the mail.
 
Old 05-06-2008, 09:04 AM   #33
Gortex
Member
 
Registered: Nov 2005
Location: Enid Ok
Distribution: ubuntu 64 , debian , fedora core , vista ultimate 64, Winows 7 64 ultimate :p
Posts: 219

Original Poster
Rep: Reputation: 30
May 6 09:01:28 Rppt postfix/qmgr[16533]: DB9DB38090: from=<>, size=2537, nrcpt=1 (queue active)
May 6 09:01:28 Rppt postfix/bounce[16575]: CA5713808C: sender non-delivery notification: DB9DB38090
May 6 09:01:28 Rppt postfix/qmgr[16533]: CA5713808C: removed
May 6 09:01:28 Rppt postfix/local[16571]: DB9DB38090: to=<dustin@SERVICE>, relay=local, delay=0.04, delays=0.01/0/0/0.02, dsn=5.2.0, status=bounced (cannot update mailbox /dev/null/~/mail for user dustin. unable to create lock file /dev/null/~/mail.lock: Not a directory)
May 6 09:01:28 Rppt postfix/qmgr[16533]: DB9DB38090: removed
May 6 09:01:28 Rppt dovecot: pop3-login: Login: user=<dustin>, method=PLAIN, rip=192.168.2.254, lip=192.168.2.222
May 6 09:01:28 Rppt dovecot: POP3(dustin): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
May 6 09:01:33 Rppt dovecot: pop3-login: Login: user=<dustin>, method=PLAIN, rip=192.168.2.254, lip=192.168.2.222
May 6 09:01:33 Rppt dovecot: POP3(dustin): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
May 6 09:01:38 Rppt dovecot: pop3-login: Login: user=<dustin>, method=PLAIN, rip=192.168.2.254, lip=192.168.2.222
May 6 09:01:38 Rppt dovecot: POP3(dustin): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
May 6 09:02:38 Rppt postfix/master[16527]: terminating on signal 15
May 6 09:02:38 Rppt postfix/master[16712]: daemon started -- version 2.5.1, configuration /etc/postfix
May 6 09:02:52 Rppt postfix/smtpd[16719]: connect from unknown[192.168.2.254]
May 6 09:02:52 Rppt postfix/smtpd[16719]: EE6E13808C: client=unknown[192.168.2.254]
May 6 09:02:53 Rppt postfix/cleanup[16724]: EE6E13808C: message-id=<FHEHLHNOEEOEDLGGOCOBKEAFCAAA.dustin@SERVICE>
May 6 09:02:53 Rppt postfix/qmgr[16716]: EE6E13808C: from=<dustin@SERVICE>, size=671, nrcpt=1 (queue active)
May 6 09:02:53 Rppt postfix/smtpd[16719]: disconnect from unknown[192.168.2.254]
May 6 09:02:53 Rppt dovecot: pop3-login: Login: user=<dustin>, method=PLAIN, rip=192.168.2.254, lip=192.168.2.222
May 6 09:02:53 Rppt dovecot: POP3(dustin): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
May 6 09:02:53 Rppt postfix/local[16725]: EE6E13808C: to=<dustin@service.com>, relay=local, delay=0.19, delays=0.08/0.08/0/0.04, dsn=5.2.0, status=bounced (cannot update mailbox /dev/null/~/mail for user dustin. unable to create lock file /dev/null/~/mail.lock: Not a directory)
May 6 09:02:53 Rppt postfix/cleanup[16724]: 24A8938090: message-id=<20080506140253.24A8938090@Rppt.SERVICE>
May 6 09:02:53 Rppt postfix/qmgr[16716]: 24A8938090: from=<>, size=2561, nrcpt=1 (queue active)
May 6 09:02:53 Rppt postfix/bounce[16730]: EE6E13808C: sender non-delivery notification: 24A8938090
May 6 09:02:53 Rppt postfix/qmgr[16716]: EE6E13808C: removed
May 6 09:02:53 Rppt postfix/error[16732]: 24A8938090: to=<dustin@SERVICE>, relay=none, delay=0.08, delays=0.01/0.04/0/0.02, dsn=5.0.0, status=bounced (SERVICE)
May 6 09:02:53 Rppt postfix/qmgr[16716]: 24A8938090: removed
root@Rppt:/var/log#


so i cant send it with the format username@ipofserver

so what are my options
 
Old 05-06-2008, 09:29 AM   #34
Gortex
Member
 
Registered: Nov 2005
Location: Enid Ok
Distribution: ubuntu 64 , debian , fedora core , vista ultimate 64, Winows 7 64 ultimate :p
Posts: 219

Original Poster
Rep: Reputation: 30
delays=0.08/0.08/0/0.04, dsn=5.2.0, status=bounced (cannot update mailbox /dev/null/~/mail for user dustin. unable to create lock file /dev/null/~/mail.lock: Not a directory)



after reading this line in the log I went back to my postfix main.cf

there is a line:
home_mailbox = /home/%u/mail

but how do i get postfix to quit appending the /dev/nul/ to the start of that ?
 
Old 05-06-2008, 09:33 AM   #35
Gortex
Member
 
Registered: Nov 2005
Location: Enid Ok
Distribution: ubuntu 64 , debian , fedora core , vista ultimate 64, Winows 7 64 ultimate :p
Posts: 219

Original Poster
Rep: Reputation: 30
if i comment out the line: home_mailbox = /home/%u/mail

I get this.



(cannot update mailbox /var/mail/dustin for user dustin. cannot open file: Is a directory)
 
Old 05-06-2008, 09:41 AM   #36
Gortex
Member
 
Registered: Nov 2005
Location: Enid Ok
Distribution: ubuntu 64 , debian , fedora core , vista ultimate 64, Winows 7 64 ultimate :p
Posts: 219

Original Poster
Rep: Reputation: 30
okay I went through my config files in both postfix and dovecot
changed all the mail box locations back to there default locations
and now I am back at sqare one again.

May 6 09:40:42 Rppt dovecot: POP3(dustin): mkdir(/var/mail/dustin/cur) failed: Permission denied
May 6 09:40:42 Rppt dovecot: POP3(dustin): mkdir(/var/mail/dustin/cur) failed: Permission denied
May 6 09:40:42 Rppt dovecot: POP3(dustin): Couldn't open INBOX: Internal error occurred. Refer to server log for more information. [2008-05-06 09:40:42]
 
Old 05-06-2008, 09:58 AM   #37
Gortex
Member
 
Registered: Nov 2005
Location: Enid Ok
Distribution: ubuntu 64 , debian , fedora core , vista ultimate 64, Winows 7 64 ultimate :p
Posts: 219

Original Poster
Rep: Reputation: 30
okay now the logs are showing that the mail is being sent correctly, but outlook is not showing me as having any new mail
 
Old 05-06-2008, 09:59 AM   #38
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well now you are potentially back to relatively simple ownership issues. That directory should be owned by your dustin user, as should all directories beneath /var/mail/dustin
 
Old 05-06-2008, 10:13 AM   #39
Gortex
Member
 
Registered: Nov 2005
Location: Enid Ok
Distribution: ubuntu 64 , debian , fedora core , vista ultimate 64, Winows 7 64 ultimate :p
Posts: 219

Original Poster
Rep: Reputation: 30
right but i deleted out the entries and was going to let dovecot and postfix create them automaticly and this is what i end up with.

May 6 10:05:54 Rppt dovecot: POP3(dustin): stat(/var/mail/dustin/cur) failed: Not a directory
May 6 10:05:54 Rppt dovecot: POP3(dustin): stat(/var/mail/dustin/cur) failed: Not a directory
its not trying to create the directories

there is a file there named dustin
that was created by postfix and it has my messages appened in to it.


if i point dovecots mail location to /home/%u/mail
it doesnt find my messages because they are stored in the file 'dustin'
under /var/mail/

this is what that file looks like
Code:

From dustin@SERVICE  Tue May  6 09:59:10 2008
Return-Path: <dustin@SERVICE>
X-Original-To: dustin@SERVICE
Delivered-To: dustin@SERVICE
Received: from cad (unknown [192.168.2.254])
        by Rppt.SERVICE (Postfix) with SMTP id C7E1C3808F
        for <dustin@SERVICE>; Tue,  6 May 2008 09:59:10 -0500 (CDT)
Reply-To: <dustin@192.168.2.222>
From: "dustins" <dustin@SERVICE>
To: <dustin@SERVICE>
Subject: TESTING
Date: Tue, 6 May 2008 09:58:46 -0500
Message-ID: <FHEHLHNOEEOEDLGGOCOBKEAHCAAA.dustin@SERVICE>
MIME-Version: 1.0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180

TESTING DOES THIS WORK TESTING TESTING TESTING
thus i can send mail with outlook, but now it never receives it


/sigh

Last edited by Gortex; 05-06-2008 at 10:17 AM.
 
Old 05-06-2008, 01:26 PM   #40
Gortex
Member
 
Registered: Nov 2005
Location: Enid Ok
Distribution: ubuntu 64 , debian , fedora core , vista ultimate 64, Winows 7 64 ultimate :p
Posts: 219

Original Poster
Rep: Reputation: 30
I got it working.....


This is what I finaly did.


mail_location = mbox:home/%u/mail:INBOX=/var/mail/%u:INDEX=/var/indexes/%u

# mail_location = maildir:/home/%u/mail
# mail_location = mbox:~/mail:INBOX=/var/mail/%u
# mail_location = mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%n


i commented out all the origionals then added the top line and now i can receive going to test sending again one more time then i am good to go.


Thanks a million for the help btw. ( this might be a litle bit early
 
Old 05-06-2008, 02:17 PM   #41
Gortex
Member
 
Registered: Nov 2005
Location: Enid Ok
Distribution: ubuntu 64 , debian , fedora core , vista ultimate 64, Winows 7 64 ultimate :p
Posts: 219

Original Poster
Rep: Reputation: 30
well I thought I had it all working but then i tried to send e-mail from another account and guess what i get


premission denied
May 6 14:15:12 Rppt dovecot: POP3(randy): Failed to create storage with data: mbox:home/randy/mail:INBOX=/var/mail/randy:INDEX=/var/indexes/randy
May 6 14:15:12 Rppt dovecot: child 24620 (pop3) returned error 89
May 6 14:15:12 Rppt dovecot: pop3-login: Login: user=<randy>, method=PLAIN, rip=192.168.2.254, lip=192.168.2.222
 
Old 05-06-2008, 03:25 PM   #42
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
In dovecot.conf, comment out any lines with "mail_location" in them, and try again. Dovecot shouldn't need you to define where mail is kept unless you have some weird configuration. Don't forget to restart the service.


If that doesn't work, can you post

postconf -n
 
Old 05-07-2008, 08:43 AM   #43
Gortex
Member
 
Registered: Nov 2005
Location: Enid Ok
Distribution: ubuntu 64 , debian , fedora core , vista ultimate 64, Winows 7 64 ultimate :p
Posts: 219

Original Poster
Rep: Reputation: 30
I got it working in the mail location line I forgot the leading /

I would like to say thanks to all the peeps that helped me out with this.
 
Old 05-08-2008, 03:56 PM   #44
Gortex
Member
 
Registered: Nov 2005
Location: Enid Ok
Distribution: ubuntu 64 , debian , fedora core , vista ultimate 64, Winows 7 64 ultimate :p
Posts: 219

Original Poster
Rep: Reputation: 30
How would I increase the max message size that the server will allow.

IE. some one wants to send me a Turbo-cad drawling file thats 40 megs, the server wants to break it up in to 10000 peaces I would righter it not do that.
 
Old 05-08-2008, 05:01 PM   #45
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You're using Postfix aren't you?

message_size_limit in main.cf. Have a look at http://www.postfix.org/postconf.5.html and search for message_size_limit for usage.

Question for you. You seem to be using Maildir format for your messages, but everytime I see your dovecot setup, you refer to mbox. Which are you trying to use?
 
  


Reply



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
Dovecot+Postfix+Apple IMAP+Pine Problems dilseymgr Linux - Software 0 09-10-2007 03:40 PM
dovecot .99 or 1 cope Linux - Server 3 04-14-2007 07:19 PM
Dovecot problems dweeb Ubuntu 1 09-01-2006 03:30 PM
Postfix and Dovecot mail problems michaelsr Linux - Software 6 06-09-2006 10:06 AM
Dovecot setup problems on SuSE 9.2 Coldmiser SUSE / openSUSE 1 04-20-2006 07:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:20 PM.

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
Open Source Consulting | Domain Registration