LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 07-02-2012, 12:30 PM   #1
makoshark
LQ Newbie
 
Registered: Jun 2009
Location: Laurinburg, NC
Distribution: ubuntu 10.4 LTS
Posts: 11

Rep: Reputation: 0
Dovecot malformed response, transport failure


Hello
I had followed the instructions found here: https://library.linode.com/email/pos...tu-10.04-lucid. I have no experience with setting up email so I am having a hard time figuring out what went wrong. I get this in my mail.warn log file
Quote:
Jul 2 11:41:31 nilandsplace postfix/oqmgr[4028]: warning: private/dovecot socket: malformed response
Jul 2 11:41:31 nilandsplace postfix/oqmgr[4028]: warning: transport dovecot failure -- see a previous warning/fatal/panic logfile record for the problem description
Jul 2 11:41:31 nilandsplace postfix/master[4026]: warning: process /usr/lib/postfix/pipe pid 12512 exit status 1
Jul 2 11:41:31 nilandsplace postfix/master[4026]: warning: /usr/lib/postfix/pipe: bad command startup -- throttling
My mail is stuck in the postfix cue and is not forwarded to Dovecot. In my mail.log file I am getting:
Quote:
Jul 2 12:01:31 nilandsplace postfix/oqmgr[4028]: warning: private/dovecot socket: malformed response
Jul 2 12:01:31 nilandsplace postfix/oqmgr[4028]: warning: transport dovecot failure -- see a previous warning/fatal/panic logfile record for the problem description
Jul 2 12:01:31 nilandsplace postfix/master[4026]: warning: process /usr/lib/postfix/pipe pid 12828 exit status 1
Jul 2 12:01:31 nilandsplace postfix/master[4026]: warning: /usr/lib/postfix/pipe: bad command startup -- throttling
Jul 2 12:01:31 nilandsplace postfix/error[12830]: AABAFA4395: to=<nilandjp@nilandsplace.com>, relay=none, delay=71742, delays=71740/1.5/0/0.01, dsn=4.3.0, status=deferred (unknown mail transport error)
Jul 2 12:01:31 nilandsplace postfix/master[4026]: warning: process /usr/lib/postfix/pipe pid 12829 exit status 1
Jul 2 12:01:31 nilandsplace postfix/oqmgr[4028]: warning: private/dovecot socket: malformed response
Jul 2 12:01:31 nilandsplace postfix/oqmgr[4028]: warning: transport dovecot failure -- see a previous warning/fatal/panic logfile record for the problem description
Jul 2 12:01:31 nilandsplace postfix/error[12830]: 79A77A4394: to=<support@nilandsplace.com>, relay=none, delay=71743, delays=71742/1/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
I see in other examples the relay should be relay=dovecot but is says none. Also I wanted to know what the user and group are for home/vmail, right now they are set owner vmail and group vmail. I set up the mail from the link and have been over it several times but still get this in my mail.err log:
Quote:
Jul 2 12:21:30 nilandsplace postfix/pipe[13001]: fatal: get_service_attr: unknown username: vmail
Jul 2 12:21:30 nilandsplace postfix/pipe[13002]: fatal: get_service_attr: unknown username: vmail
Jul 2 12:21:30 nilandsplace postfix/pipe[13003]: fatal: get_service_attr: unknown username: vmail
I have not a clue about this last error? vmail user exists.
Thanks for any help
James

Last edited by makoshark; 07-02-2012 at 12:38 PM. Reason: more data
 
Old 07-03-2012, 07:38 AM   #2
Nobby6
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
Do you even need virtual user?
If you have no specific requirement, just use system users and configure dovecot for that.
if you need virtual users ( because you need to host multiple different domains) then post dovecot -n output.
 
Old 07-03-2012, 11:29 AM   #3
makoshark
LQ Newbie
 
Registered: Jun 2009
Location: Laurinburg, NC
Distribution: ubuntu 10.4 LTS
Posts: 11

Original Poster
Rep: Reputation: 0
Dovecot -n output

Here is my Dovecot output. the vmail user was set up along with MySQL to use vmail according to the instructions of the tutorial above. I really have no idea why vmail, I was just following instructions. I don't know how to configure dovecot for system users
Code:
# 1.2.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-28-generic-pae i686 Ubuntu 10.04.2 LTS ext3
log_timestamp: %Y-%m-%d %H:%M:%S 
protocols: imap imaps pop3 pop3s
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
mail_location: maildir:/home/vmail/%d/%n/Maildir
mbox_write_locks: fcntl dotlock
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
namespace:
  type: private
  separator: .
  prefix: INBOX.
  inbox: yes
  list: yes
  subscriptions: yes
lda:
  log_path: /home/vmail/dovecot-deliver.log
  auth_socket_path: /var/run/dovecot/auth-master
  postmaster_address: postmaster@nilandsplace.com
  mail_plugins: sieve
  global_script_path: /home/vmail/globalsieverc
auth default:
  passdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql.conf
  userdb:
    driver: static
    args: uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: postfix
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
      user: vmail

Last edited by makoshark; 07-03-2012 at 11:50 AM.
 
  


Reply


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
Postfix, Dovecot, Postfixadmin and Vacation (auto Response) problems.. Patric.F Linux - Server 2 02-18-2010 02:20 AM
LXer: A Response to HIMSS "Call to Action" on the American Recovery and Response Act LXer Syndicated Linux News 0 02-13-2009 02:40 AM
Dovecot failure in Fedora 4 h123kabc Linux - Software 2 05-29-2006 07:26 AM
postfix malformed response error? taiwf Linux - Software 0 05-21-2006 09:21 PM
nslookup: no response, captured 3 "server failure" packets trainpic Linux - Networking 3 02-08-2006 11:14 AM


All times are GMT -5. The time now is 05:24 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration