LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-03-2005, 12:13 PM   #1
jrafalek
LQ Newbie
 
Registered: Dec 2004
Posts: 20

Rep: Reputation: 0
virtual domain & postfix


Is somebody true to use MySQL, postfix on virtual domains?
I try to do it but I've got one problem (maybe two):
1.
My postfix receive message only for local users.
When I add new user per postfixadmin and try to send him message I receive message that this user doesn't exists!
2.
When postfix receive message he drop them to Maildirs on local users dirs not in vitrual Maildirs

Please help

That is my main.cf

alias_database=hash:/usr/local/etc/postfix/aliases
alias_maps =hash:/usr/local/etc/postfix/aliases
command_directory = /usr/local/sbin
config_directory=/usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix

#debugger_command =
# PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
# xxgdb $daemon_directory/$process_name $process_id & sleep 5

debug_peer_level = 2
default_destination_concurrency_limit = 10
disable_vrfy_command = yes

header_checks = regexp:/usr/local/etc/postfix/header_checks

home_mailbox=Maildir/

inet_interfaces = all
local_destination_concurrency_limit = 2
mail_name=Postfix
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_size_limit = 102400000
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
maximal_queue_lifetime=3d
message_size_limit = 25600000
mydestination = $myhostname, localhost, $mydomain
mydomain=abc.kom.pl
myhostname = 78-tor-7.acn.waw.pl
myorigin = $myhostname
mynetworks = 192.168.1.0/24, 127.0.0.1
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
queue_run_delay=30m
readme_directory = no
relay_domains = 127.0.0.0/8
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_banner = Fuck you yellow Taiwanese spammer!
broken_sasl_auth_clients = yes

smtpd_client_restrictions =
reject_unknown_sender_domain
permit_sasl_authenticated,
# permit_mynetworks,
# reject_rbl_client or.orbl.org,
# reject_rbl_client bl.spamcop.net,
# reject_rbl_client sbl.spamhaus.org
reject_rbl_client rbl.rafi.pl.eu.org,
reject_unknown_client

smtpd_error_sleep_time = 3
smtpd_hard_error_limit = 5
smtpd_recipient_limit=10

smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination

smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous

#smtpd_sender_login_maps = hash:/usr/local/etc/postfix/login

smtpd_sender_restrictions =
reject_sender_login_mismatch,
permit_sasl_authenticated,
# check_sender_access hash:/usr/local/etc/postfix/access,
reject_unknown_sender_domain,
reject_non_fqdn_hostname

smtpd_soft_error_limit = 3

unknown_local_recipient_reject_code = 450
virtual_mailbox_base=/usr/local/virtual
virtual_alias_maps=mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf
virtual_mailbox_domains=mysql:/usr/local/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps=mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_mailbox_limit=51200000
virtual_gid_maps=static:125
virtual_uid_maps=static:125
virtual_transport=virtual
local_recipient=$virtual_mailbox_maps
 
Old 02-05-2005, 08:08 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,297

Rep: Reputation: 205Reputation: 205Reputation: 205
Maybe this will help: http://genco.gen.tc/postfix_virtual.php :-)
 
  


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
Bounce selected users in virtual domain with Postfix? annekaelber Linux - Software 5 10-18-2007 01:58 PM
postfix and virtual domain problems... MadOtis Linux - Software 1 04-28-2004 07:23 AM
Postfix virtual domain eyt Linux - Newbie 0 02-23-2004 05:07 PM
Imail Upgrade to Postfix Squirrelmail and Outlook Express Virtual Domain Logon ramram29 Linux - Software 0 01-29-2004 09:21 AM
how to add virtual user & domain on sendmail? earl Linux - Networking 2 07-30-2002 10:22 PM


All times are GMT -5. The time now is 11:50 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