#1  
Old 23rd December 2009, 04:45
maced0n maced0n is offline
Junior Member
 
Join Date: Dec 2009
Posts: 25
Thanks: 1
Thanked 3 Times in 3 Posts
Default Maildrop problem

Hi, I followed perfect lenny ISP 3 guide and with small changes everything went fine except that i cant receive emails.

This installation is in Linux-VServers and Lenny and everything is installed according to the guide except the quota part ( not available in this virtualization)

This is from mail.log

Quote:
Command output: /usr/bin/maildrop: Unable to change to home directory
Master.cf

Quote:
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${nexthop} ${sender}
#
Permissions are all fine.
Quote:
>> ls -l /var/

drwx------ 5 vmail vmail 4096 Dec 22 21:45 vmail
Quote:
>> maildrop -v
maildrop 2.0.4 Copyright 1998-2005 Double Precision, Inc.
GDBM/DB extensions enabled.
Courier Authentication Library extension enabled.
Maildir quota extension enabled.
This program is distributed under the terms of the GNU General Public
License. See COPYING for additional information.
Quote:
>> maildrop -V 9 -d test@thelondoneye.org
maildrop: authlib: groupid=5000
maildrop: authlib: userid=5000
maildrop: authlib: logname=test@thelondoneye.org, home=/var/vmail, mail=/var/vmail/thelondoneye.org/test
maildrop: Changing to /var/vmail

I Googled whole day without success, probably this issue is related with the quota.


Any hints?
Reply With Quote
Sponsored Links
  #2  
Old 23rd December 2009, 12:25
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,248 Times in 4,113 Posts
Default

Please post the output of:

grep vmail /etc/passwd
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 23rd December 2009, 14:31
maced0n maced0n is offline
Junior Member
 
Join Date: Dec 2009
Posts: 25
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by till View Post
Please post the output of:

grep vmail /etc/passwd
Quote:
grep vmail /etc/passwd
vmail:x:5000:5000::/home/vmail:/bin/sh
I don't think that there is a permission issue.

Also I forget to write, I can send an email without a problem.


As I said before can this be because my partition is mounted without a Quota ?
Reply With Quote
  #4  
Old 24th December 2009, 15:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,732 Times in 2,569 Posts
Default

What's your ISPConfig version?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 24th December 2009, 16:04
maced0n maced0n is offline
Junior Member
 
Join Date: Dec 2009
Posts: 25
Thanks: 1
Thanked 3 Times in 3 Posts
Default

The latest one " ISPConfig 3.0.1.6 ".

I installed ISPConfig 3 on same identical server only this time mounted with quota, all conf files and permissions are same as before .

Everything is working OK now.
Reply With Quote
  #6  
Old 5th May 2010, 20:44
divendres divendres is offline
Junior Member
 
Join Date: May 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Same problem

I'm having the same problem as you do. What do you mean by "mounted with quota". You have configured quota in your system?
I followed every step on the perfect server guide for debian lenny but i'm stuck with the problem of deferred mails.
Can someone give me any advise?

I'm running Debian Lenny and ISPConfig-3.0.2.1
The error is:
May 5 20:47:44 sipsda0005 postfix/pipe[29258]: 764354A81E0: to=<testing@example.com>, relay=maildrop, delay=6262, delays=6262/0.08/0/0.06, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/bin/maildrop: Unable to change to home directory. )

.mailfilter is receiving everything empty:
.mailfilter(5): LOGNAME="testing@example.com"
.mailfilter(6): EXTENSION=""
.mailfilter(7): RECIPIENT=""
.mailfilter(8): USER=""
.mailfilter(9): HOST=""
.mailfilter(10): SENDER=""

Last edited by divendres; 5th May 2010 at 20:51. Reason: Added info
Reply With Quote
  #7  
Old 5th May 2010, 21:03
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,248 Times in 4,113 Posts
Default

If you followed the guide, then you have quota enabled. So that should be ok.

Please ost the output of:

ls -la /var/vmail/

and the content of the postfix master.cf file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 5th May 2010, 21:20
divendres divendres is offline
Junior Member
 
Join Date: May 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ls -la /var/vmail
Quote:
sipsda0005:/var/log# ls -la /var/vmail/
total 20
drwxr-xr-x 4 vmail vmail 4096 2010-05-05 20:57 .
drwxr-xr-x 16 root root 4096 2010-05-05 09:20 ..
-rw-r--r-- 1 root root 0 2010-05-05 20:07 ispconfig_mailsize
-rw------- 1 vmail vmail 1382 2010-05-05 20:06 .mailfilter
drwxr-xr-x 2 vmail vmail 4096 2010-05-05 09:20 mailfilters
drwxr-xr-x 3 root root 4096 2010-05-05 20:10 example.com
master.cf:
Quote:
smtp inet n - - - - smtpd -o content_filter=spamassassin
smtps inet n - - - - smtpd -o content_filter=spamassassin
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticate d,reject
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - - - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - - - - smtp
-o smtp_fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
retry unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
#
# ================================================== ==================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ================================================== ==================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${nexthop} ${sender}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}

spamassassin unix - n n - - pipe
user=spamd argv=/usr/bin/spamc -f -e
/usr/sbin/sendmail -oi -f ${sender} ${recipient}

amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes

127.0.0.1:10025 inet n - - - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,rej ect
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o receive_override_options=no_unknown_recipient_chec ks,no_header_body_checks
-o smtpd_bind_address=127.0.0.1
Reply With Quote
  #9  
Old 5th May 2010, 21:21
divendres divendres is offline
Junior Member
 
Join Date: May 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I did not change any of postfix configuration files, it was all made automatically by ispconfig installation
Reply With Quote
  #10  
Old 5th May 2010, 21:22
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,248 Times in 4,113 Posts
 
Default

The domain directory in the vmail folder has the wrong owner. Please run:

chown -R vmail:vmail /var/vmail

to fix this.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 14:15
saslauthd problem: bind: Address already in use fitti70 Server Operation 4 14th May 2007 21:51
postfix mysql on fedora core5 igongora Installation/Configuration 7 17th April 2007 04:40
postfix+mysql and maildrop filter problem osanet Installation/Configuration 1 2nd June 2006 11:50
SMTP TLS Problem with Mail Client dschmid Installation/Configuration 1 9th December 2005 01:56


All times are GMT +2. The time now is 17:51.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.