LinuxQuestions.org
Help answer threads with 0 replies.
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 10-06-2009, 03:39 PM   #1
conesh
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 = 192.168.254.0/24, 127.0.0.0/8, 10.0.0.0/8
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
#
aztecagenecom.serveftp.net
citas.serveftp.net
reportes.serveftp.net

cat virtual_mailbox#
# virtual_mailbox
#
prueba@reportes.serveftp.net reportes.serveftp.net/prueba/
alfonso.reyes@reportes.serveftp.net reportes.serveftp.net/alfonso.reyes/

log error:

Oct 6 15:42:38 aztecagenecom postfix/smtp[4867]: D84D4248D4: to=<alfonso.reyes@
reportes.serveftp.net>, relay=none, delay=76801, delays=76770/0.01/30/0, dsn=4.4
.1, status=deferred (connect to reportes.serveftp.net[189.180.47.236]: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
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

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

Quote:
virtual_mailbox_domains = hash:/etc/postfix/virtual_domains
The virtual_domains file should look like this:
Code:
#
# virtual_domains
#
aztecagenecom.serveftp.net      #
citas.serveftp.net              #
reportes.serveftp.net           #
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'.
 
  


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 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


All times are GMT -5. The time now is 03:27 AM.

Main Menu
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