View Full Version : UW Imap with Virtual Hosting


barghota
Hi, i am running Postfix with this configuration


# more /etc/postfix/main.cf
# These are only the parameters changed from a default install
# see /etc/postfix/main.cf.dist for a commented, fuller version of this file.

# These are changed by postfix install script
readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES
sample_directory = /usr/share/doc/postfix-2.1.5/samples
html_directory = /usr/share/doc/postfix-2.1.5/html
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
command_directory = /usr/sbin
manpage_directory = /usr/share/man
daemon_directory = /usr/lib/postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
queue_directory = /var/spool/postfix
mail_owner = postfix

# User configurable parameters

myhostname = localhost

virtual_mailbox_domains = /etc/postfix/vhosts.txt
virtual_mailbox_base = /var/spool/vmail
virtual_mailbox_maps = hash:/etc/postfix/vmaps.txt
virtual_uid_maps = static:500
virtual_gid_maps = static:500

inet_interfaces = all
mynetworks_style = host
delay_warning_time = 4h
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrakelinux)
unknown_local_recipient_reject_code = 450
smtp-filter_destination_concurrency_limit = 2
lmtp-filter_destination_concurrency_limit = 2
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
recipient_delimiter = +
owner_request_special = no
alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases


Postfix works very fine, each account recieve its own mail with different domains, the porblem is that i want to use UW Imap to get the mails from the specific location.

Suppose a mail is sent to foo@ahna.myftp.org, and foo@ahna.no-ip.org, Postfix works fine and each mail is sent right, but i want imap to get the mail from each directory. And if it can be done using anything else i would appreciate an info.

I wish i made the problem clear, Thanks so far.

cyberpop
i would recommend to use courier IMAP insteed of UW imap, myself i think there is no good enough reason to stick with UW imap
And by the way, i like saving accounts informations in mysql db
this is a good tutor
http://kirb.insanegenius.net/postfix.html
keep tuned