#1  
Old 27th July 2010, 23:49
Torsson Torsson is offline
Member
 
Join Date: Mar 2006
Posts: 62
Thanks: 0
Thanked 3 Times in 3 Posts
Default Mail get stuck in queue

Hi i have installed sql driven postfix from this gude "Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 9.04)".

And the problem is all mails i send to it gets stuck in queue and i can't figure out why it dosen't get delivered. Here is what the log says when it tries to retrew mail

Quote:
Jul 27 23:17:50 web1 postfix/smtpd[13769]: BF399166C8: client=localhost[127.0.0.1]
Jul 27 23:17:50 web1 postfix/cleanup[13751]: BF399166C8: message-id=<722a9c1.88082b09d467faa056b3275fc3ba7057@webma il.indexdesigns.se>
Jul 27 23:17:50 web1 postfix/qmgr[28340]: BF399166C8: from=<alexander@*****.se>, size=3008, nrcpt=1 (queue active)
Jul 27 23:17:50 web1 postfix/smtpd[13769]: disconnect from localhost[127.0.0.1]
Jul 27 23:17:50 web1 amavis[31802]: (31802-02) Passed CLEAN, [213.180.95.118] [213.180.95.118] <alexander@*****.se> -> <info@**********.com>, Message-ID: <722a9c1.88082b09d467faa056b3275fc3ba7057@webmail. indexdesigns.se>, mail_id: 3XY9jd5he9yf, Hits: 3.492, size: 2572, queued_as: BF399166C8, 7305 ms
Jul 27 23:17:50 web1 postfix/smtp[13752]: 73ED81666B: to=<info@**********.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=7.3, delays=0.03/0.01/0/7.3, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=31802-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as BF399166C8)
found this in /var/log/mail.err log, its a few hours erlier but will post it anyway
Jul 27 20:43:04 web1 postfix/qmgr[565]: fatal: timeout connecting to transport: virtual

Last edited by Torsson; 28th July 2010 at 00:12.
Reply With Quote
Sponsored Links
  #2  
Old 28th July 2010, 09:01
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

Code:
Jul 27 20:43:04 web1 postfix/qmgr[565]: fatal: timeout connecting to transport: virtual
You get this more often?

add a "-v" to the virtual line in your master.cf to see why it's giving that error.
Reply With Quote
  #3  
Old 28th July 2010, 11:55
Torsson Torsson is offline
Member
 
Join Date: Mar 2006
Posts: 62
Thanks: 0
Thanked 3 Times in 3 Posts
Default

After i put in -v in master.cf i got this when i revice mail


Quote:
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const mail
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const ipv4
Jul 28 11:18:09 web1 postfix/virtual[7865]: name_mask: ipv4
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const mail.wendecodns.com
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const wendecodns.com
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const Postfix
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const postfix
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const postfix
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const postdrop
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const mail.wendecodns.com, localhost, localhost.localdomain
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const /etc/mailname
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const /usr/lib/postfix
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const /var/lib/postfix
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const /usr/sbin
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const /var/spool/postfix
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const pid
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const all
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const double-bounce
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const nobody
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const hash:/etc/aliases
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const 20080902
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const 2.5.5
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const hash
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const deferred, defer
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const +
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: expand $mydestination -> mail.wendecodns.com, localhost, localhost.localdomain
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: expand $relay_domains -> mail.wendecodns.com, localhost, localhost.localdomain
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const TZ MAIL_CONFIG LANG
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ XAUTHORITY DISPLAY LANG=C
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const subnet
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const +=
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const -=+
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const debug_peer_list,fast_flush_domains,mynetworks,perm it_mx_backup_networks,qmqpd_authorized_clients,smt pd_access_maps
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const bounce
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const cleanup
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const defer
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const pickup
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const qmgr
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const rewrite
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const showq
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const error
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const flush
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const verify
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const trace
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const 100s
Jul 28 11:18:09 web1 last message repeated 3 times
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const 3600s
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const 3600s
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const 5s
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const 5s
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const 1000s
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const 1000s
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const 10s
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const 10s
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const 1s
Jul 28 11:18:09 web1 last message repeated 3 times
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const 500s
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const 500s
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const 18000s
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const 18000s
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const 1s
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const 1s
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const 127.0.0.0/8
Jul 28 11:18:09 web1 postfix/virtual[7865]: inet_addr_local: configured 4 IPv4 addresses
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const /var/mail
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const static:5000
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const static:5000
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const /home/vmail/
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const fcntl, dotlock
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_eval: const yes
Jul 28 11:18:09 web1 postfix/virtual[7865]: process generation: 17 (17)
Jul 28 11:18:09 web1 postfix/virtual[7865]: match_string: fast_flush_domains ~? debug_peer_list
Jul 28 11:18:09 web1 postfix/virtual[7865]: match_string: fast_flush_domains ~? fast_flush_domains
Jul 28 11:18:09 web1 postfix/virtual[7865]: set_eugid: euid 105 egid 106
Jul 28 11:18:09 web1 postfix/virtual[7865]: connect to subsystem private/proxymap
Jul 28 11:18:09 web1 postfix/virtual[7865]: send attr request = open
Jul 28 11:18:09 web1 postfix/virtual[7865]: send attr table = mysql:/etc/postfix/mysql-virtual_mailboxes.cf
Jul 28 11:18:09 web1 postfix/virtual[7865]: send attr flags = 64
Jul 28 11:18:09 web1 postfix/virtual[7865]: private/proxymap socket: wanted attribute: status
Jul 28 11:18:09 web1 postfix/virtual[7865]: input attribute name: status
Jul 28 11:18:09 web1 postfix/virtual[7865]: input attribute value: 0
Jul 28 11:18:09 web1 postfix/virtual[7865]: private/proxymap socket: wanted attribute: flags
Jul 28 11:18:09 web1 postfix/virtual[7865]: input attribute name: flags
Jul 28 11:18:09 web1 postfix/virtual[7865]: input attribute value: 80
Jul 28 11:18:09 web1 postfix/virtual[7865]: private/proxymap socket: wanted attribute: (list terminator)
Jul 28 11:18:09 web1 postfix/virtual[7865]: input attribute name: (end)
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_proxy_open: connect to map=mysql:/etc/postfix/mysql-virtual_mailboxes.cf status=0 server_flags=fixed|lock
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_open: proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_open: static:5000
Jul 28 11:18:09 web1 postfix/master[7686]: warning: process /usr/lib/postfix/virtual pid 7865 killed by signal 11
Jul 28 11:18:09 web1 postfix/master[7686]: warning: /usr/lib/postfix/virtual: bad command startup -- throttling
Could this be the issue?
Quote:
Jul 28 11:18:09 web1 postfix/master[7686]: warning: process /usr/lib/postfix/virtual pid 7865 killed by signal 11
Jul 28 11:18:09 web1 postfix/master[7686]: warning: /usr/lib/postfix/virtual: bad command startup -- throttling
Reply With Quote
  #4  
Old 28th July 2010, 12:22
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

Code:
Jul 28 11:18:09 web1 postfix/virtual[7865]: dict_open: proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
if i'm not mistaking, that should be:
Code:
mysql:/etc/postfix/mysql-virtual_mailboxes.cf
(in main.cf)

edit: Also, could you show me the contents of /etc/postfix/mysql-virtual_mailboxes.cf and the contents of /etc/hosts and the output of "netstat -tapn | grep 3306" ?

Last edited by Mark_NL; 28th July 2010 at 12:25.
Reply With Quote
  #5  
Old 28th July 2010, 12:52
Torsson Torsson is offline
Member
 
Join Date: Mar 2006
Posts: 62
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Changing from:
proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
to
mysql:/etc/postfix/mysql-virtual_mailboxes.cf

did the trick, now every mail has been delivered.

Thank you very mutch for your help!
Reply With Quote
  #6  
Old 28th July 2010, 13:01
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
 
Default

awesome
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
Postfix problem and few questions Gimly Installation/Configuration 12 7th July 2009 16:27
Postfix + postfixadmin = SMTP errors... Rashef Server Operation 4 25th June 2009 16:12
just the last step...and it works. Postfix...need help config. ubuntusr Installation/Configuration 1 5th January 2009 09:50
Problem with dcc-client installation (Postfix) swap-as Installation/Configuration 9 18th September 2008 20:47
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16


All times are GMT +2. The time now is 03:57.


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