I am building a server running Debian woody based on "The Perfect Setup - Debian"
http://www.projektfarm.com/en/suppor...tup/index.html
I set up a simple postfix, uw-imap, squirrelmail server before running on Red Hat but I am having some problems with the virtual users on this new mail server.
When I built the system I set up a user other than root to do most of my administration. We will call the user "hawkpaul" I can connect to squirrelmail, log in as this user, send and recieve email just fine.
The problem came after I set up my virtual user "john" I can log into squirrelmail and send email without a problem. However when I try to send email to john from outside I get this error(I have changed the name of my dowmain to example.com in all of the following errors and config scripts):
Your message did not reach some or all of the intended recipients.
Subject: test @10:38
Sent: 5/3/2004 10:38 AM
The following recipient(s) could not be reached:
john@example.com on 5/3/2004 10:35 AM
The e-mail system was unable to deliver the message, but did not report a specific reason. Check the address and try again. If it still fails, contact your system administrator.
< mail.example.com #5.0.0 X-Postfix; unknown user: "john">
Here is a copy of my main.cf and master.cf files from /etc/postfix:
mail:/etc/postfix# cat master.cf | grep -v '^\s*$' | grep -v '^#'
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfixtfix# cat master.cf | grep -v '^\s*$' | grep
program_directory = /usr/lib/postfix
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
setgid_group = postdrop
biff = no
append_dot_mydomain = no
myhostname = mail.example.com
alias_maps = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = example.com, mail.example.com, localhost.example.com, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
smtpd_sasl_local_domain = $example.com
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains
inet_interfaces = all
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
home_mailbox = Maildir/
virtual_transport = virtual
virtual_alias_domains = example.com
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_mailbox_base = /home/vmail
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_mailbox_domains = example.com
virtual_minimum_uid = 100
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
mail:/etc/postfix# cat master.cf | grep -v '^\s*$' | grep -v '^#'
smtp inet n - - - - smtpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
flush unix n - - 1000? 0 flush
smtp unix - - - - - smtp
showq unix n - - - - showq
error unix - - - - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
Can anyone tell me what the problem is from the inf I have provided?
Let me know if you need any more information.
Thanks,
Paul