Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-06-2009, 03:39 PM   #1
LQ Newbie
Registered: Aug 2008
Location: Mexico
Distribution: fedora core 9
Posts: 7

Rep: Reputation: 0
Unhappy Virtual Mailbox / Postfix

Hi Everyone.

I have issues with my postfix server, right now I have virtual domains working as well as virtual mailbox for the users.

We are trying to get those emails, but they are staying on the queue, it starts looking for the server and it times out.

I think it's an issue with the virtual mailboxes because we don't have anything on the directory that is supposed to keep them.

Is there anyone that can help me with this issue?

heres the config:

postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
inet_protocols = all
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, $mydomain
mynetworks =,,
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.5.6/README_FILES
sample_directory = /usr/share/doc/postfix-2.5.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination permit_inet_interfaces reject_unknown_reverse_client_hostname permit_sasl_authenticated
smtpd_use_tls = yes
unknown_local_recipient_reject_code = 550
virtual_gid_maps = static:1000
virtual_mailbox_base = /var/spool/mail
virtual_mailbox_domains = hash:/etc/postfix/virtual_domains
virtual_mailbox_maps = hash:/etc/postfix/virtual_mailbox
virtual_uid_maps = static:1000

cat virtual_domains
# virtual_domains

cat virtual_mailbox#
# virtual_mailbox

log error:

Oct 6 15:42:38 aztecagenecom postfix/smtp[4867]: D84D4248D4: to=<alfonso.reyes@>, relay=none, delay=76801, delays=76770/0.01/30/0, dsn=4.4
.1, status=deferred (connect to[]:25: Connec
tion timed out)

if you need any other information please let me know.

Have a great day and thanks for your help.

Last edited by conesh; 10-06-2009 at 03:45 PM.
Old 10-08-2009, 04:59 AM   #2
Senior Member
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Hi, conesh.

virtual_mailbox_domains = hash:/etc/postfix/virtual_domains
The virtual_domains file should look like this:
# virtual_domains
#      #              #           #
Note the dummy '#' at the end of each line. 'hash' tables need a key and a value, even when the value is not used.
After making the changes you need to run 'postmap /etc/postfix/virtual_domains'.


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 Virtual Mailbox configuration gugabaga Linux - Server 4 04-07-2008 08:44 PM
Postfix Mailbox Size carlosinfl Linux - Server 3 08-17-2007 02:29 PM
virtual mailbox with postfix shafey Linux - Networking 0 07-19-2006 02:16 AM
Courier-imap and Postfix Virtual Mailbox Domains ahSyd Slackware 0 05-26-2006 07:04 AM
postfix virtual mailbox namit Debian 1 12-16-2005 02:06 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration