Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 1st February 2009, 02:18
jpb77 jpb77 is offline
Junior Member
 
Join Date: Feb 2009
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Default

Same problem here with Ubuntu 8.10.

Now it's working with Inco's solution, but you must put a space between "-d" and "vmail":

flags=R user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${domain} ${sender}

Thanks Inco.
Reply With Quote
The Following User Says Thank You to jpb77 For This Useful Post:
AceFrahm (4th February 2009)
Sponsored Links
  #12  
Old 3rd February 2009, 15:49
gemini gemini is offline
Junior Member
 
Join Date: Feb 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Same problem on Debian 4.0, need help (newbie)

Hello,

I've got similar problem with mails with ISPConfig and Debian 4.0

Feb 3 14:58:57 stock postfix/pipe[7008]: C1879109E58: to=, relay=maildrop, delay=0.09, delays=0.06/0.02/0/0.01, dsn=5.1.1, status=bounced (user unknown. Command output: Invalid user specified. )

Full mail log located here
Postfix master.cf
When I tried to change postfix config for listed above then error occured:
Code:
Feb 3 15:38:05 stock postfix/cleanup[24092]: 3E9B210A4F4: message-id=<846642ef0902030638y5c65c1a9v4fa9489113b02dd3@mail.gmail.com>
Feb 3 15:38:05 stock postfix/qmgr[24084]: 3E9B210A4F4: from=, size=2106, nrcpt=1 (queue active)
Feb 3 15:38:05 stock postfix/pipe[24097]: warning: file /etc/postfix/master.cf: service maildrop: unknown macro name: "domain"
Feb 3 15:38:05 stock postfix/smtpd[24095]: disconnect from localhost.localdomain[127.0.0.1]

What is strange, that "to=" parameter isn't specified (log is unedited).

maildrop -d my_email@my_domain.com
shows "Invalid user specified"
while I'm sure there is such user within mysql DB of IspConfig
Does the maildrop use some cache or something or should it use straight from mysql? Because I don't see any queries to DB.
Reply With Quote
  #13  
Old 4th February 2009, 02:24
AceFrahm AceFrahm is offline
Junior Member
 
Join Date: Jun 2007
Posts: 22
Thanks: 3
Thanked 0 Times in 0 Posts
Question

I followed Inco's instruction, but I don't really know what it does, I was just hoping for something simple that would work.
Quote:
Originally Posted by Inco View Post
problem in master.cf in postfix, with arguments who send pipe to maildrop and .mailfilter don't know this argument.
known torouble as "user unknown. Command output: /usr/local/bin/maildrop: Invalid user specified."
I use next configuration master.cf


maildrop unix - n n - - pipe
flags=R user=vmail argv=/usr/bin/maildrop -dvmail ${extension} ${recipient} ${user} ${domain} ${sender}

work fine. ubuntu 8.10
I tried Inco's solution with jpb77's extra space added, on a fresh complete reinstallation.
Quote:
Originally Posted by jpb77 View Post
Same problem here with Ubuntu 8.10.

Now it's working with Inco's solution, but you must put a space between "-d" and "vmail":

flags=R user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${domain} ${sender}

Thanks Inco.
It did not work for me. I get the same error.

I also get the same result as gemini:
Quote:
Originally Posted by gemini View Post
maildrop -d my_email@my_domain.com
shows "Invalid user specified"
while I'm sure there is such user within mysql DB of IspConfig
Does the maildrop use some cache or something or should it use straight from mysql? Because I don't see any queries to DB.
But I can see my e-mail user in the MySQL ispconfigdb mail_user table!!!???


maildrop -d ___ace___.___frahm___@__acefrahm___.com [without the underscores]

produces the same "Invalid user specified" message for me that gemini got.

-----------------------------------------------
I would like to use ISPConfig as a no-brainer IMAP mailbox auto-config, but I'm willing to learn how to make a mail-server run from scratch if I must.

till: when you said:
Quote:
Originally Posted by till View Post
Your system seems to work properly. You will just have to change the mailscan option for the email account and domain to not rejecet bad headers.
What did you mean exactly?
This user already has no spamfilter applied, and no other rules of any kind applied.
Exactly how do I tell ISPConfig to accept bad headers, and if I do, aren't I defeating spam filtering and Clam Antivirus?
Reply With Quote
  #14  
Old 4th February 2009, 03:30
AceFrahm AceFrahm is offline
Junior Member
 
Join Date: Jun 2007
Posts: 22
Thanks: 3
Thanked 0 Times in 0 Posts
Cool AHA! I incorrectly added jpb77's space to Inco's line!

In

/etc/postfix/master.cf

I put this on the maildrop line:
Code:
  flags=R user=vmail argv=/usr/bin/maildrop -dv mail ${extension} ${recipient} ${user} ${domain} ${sender}
Notice the incorrect "-dv mail".

I should have put THIS on the maildrop line instead:
Code:
  flags=R user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${domain} ${sender}
Notice the correct "-d vmail".

A message sent from gmail can now get through.


Thank you friends for your help!


For anyone else in trouble with your install trying to follow along with this thread, I did not find it necessary to replace courier-maildrop with plain old maildrop as in afredriksson's post:
Quote:
Originally Posted by afredriksson View Post
Hi everyone. I have had the same problem on my Ubuntu installation and have after a few days of searching down wrong tracks found the solution.

The problem is, at least in Ubuntu, that authlib support is absent in the courier-maildrop package. Once I found out that this was my problem, I was able to get it to work by removing the courier-maildrop package and instead install the standalone maildrop package:

Code:
sudo apt-get remove courier-maildrop
sudo apt-get install maildrop
I don't know where else I need to post this solution, someone please direct me. I am a newbee to this site.

And by the way. WOW! This is a great product! :-)
Even though he reports his switcheroo worked for him.
Reply With Quote
  #15  
Old 4th February 2009, 03:36
AceFrahm AceFrahm is offline
Junior Member
 
Join Date: Jun 2007
Posts: 22
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Hey gemini, I got it working on Ubuntu Intrepid Ibex. Is there any particular reason you're using ordinary Debian instead?
Ubuntu is built on debian.

Last edited by AceFrahm; 4th February 2009 at 03:38.
Reply With Quote
  #16  
Old 4th February 2009, 04:14
gemini gemini is offline
Junior Member
 
Join Date: Feb 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by AceFrahm View Post
Hey gemini, I got it working on Ubuntu Intrepid Ibex. Is there any particular reason you're using ordinary Debian instead?
Ubuntu is built on debian.
Well, I've choosed debian because it's more recommended as server distribution while ubuntu is recommended more as desktop (I'm not very advanced linux user, so I relied on others opinions).
Currently I'd rather avoid changing OS, since I've already moved everything on new server, dropped old one, and reinstall of server would mean downtime of websites as well as a lot of work. Everything works perfectly, except mail.


P.S. I can't find any maildrop mysql related config.
Is there any way to test mysql/support/connection with maildrop? I can't find such option ;/
Reply With Quote
Reply

Bookmarks

Tags
incoming email refused, invalid user specified., ispconfig 3 rc1

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
ISPConfig 3RC1 - email domain vs. site domain across users Ben Developers' Forum 2 13th January 2009 18:57
ISPConfig 3.0.0.7 Beta released till General 78 24th December 2008 11:47
email receiving died ??? + report a bug in ispconfig email add/remove coolen Installation/Configuration 14 4th November 2008 19:34
ISPConfig 3.0.0.5 Beta Released till General 77 23rd July 2008 12:14
ISPConfig - Why not integrate Free Radius? Johan_Boshoff Feature Requests 3 12th October 2007 23:19


All times are GMT +2. The time now is 22:44.


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