|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Virtual through MySQL: Relay Access Denied
From: Albert Zosa (azosa
prodatanet.com.ph)
Date: Mon Apr 05 2004 - 14:05:15 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Does your virtual domain has an entry in your transport map????
kroywen :)
----- Original Message -----
From: "Scott Coomber" <scott.coomber
myrealbox.com>
To: <postfix-users
postfix.org>
Sent: Sunday, April 04, 2004 11:06 AM
Subject: Virtual through MySQL: Relay Access Denied
Dear All,
I am trying to configure my server to handle email for the domains that I
host. I am using a postfix-courier-mysql setup as described by:
http://workaround.org/articles/ispmail/
However, mail is being bounced by my server with the following logs in
mail.log
Apr 4 18:21:02 xxxxxx postfix/smtpd[18889]: connect from
smtp-send.myrealbox.com[192.108.102.143]
Apr 4 18:21:02 xxxxxx postfix/smtpd[18889]: 75F723F4D:
client=smtp-send.myrealbox.com[192.108.102.143]
Apr 4 18:21:02 xxxxxx postfix/smtpd[18889]: reject: RCPT from
smtp-send.myrealbox.com[192.108.102.143]: 554 <test
cardinalboating.com>:
Recipient address rejected: Relay access denied;
from=<xxxxx.xxxxxxx
myrealbox.com> to=<test
cardinalboating.com>
Apr 4 18:21:07 xxxxx postfix/smtpd[18889]: lost connection after RCPT from
smtp-send.myrealbox.com[192.108.102.143]
Apr 4 18:21:07 xxxxxx postfix/smtpd[18889]: disconnect from
smtp-send.myrealbox.com[192.108.102.143]
alias_maps = mysql:/etc/postfix/mysql-aliases.cf
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
inet_interfaces = all
local_recipient_maps = $alias_maps $virtual_mailbox_maps
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/bin/man
mydestination = $myhostname, localhost.$mydomain, $mydomain,
mydomain = my.server.tld
mynetworks = 127.0.0.0/8
newaliases_path = /usr/bin/newaliases
program_directory = /usr/lib/postfix
queue_directory = /var/spool/postfix
readme_directory = no
relocated_maps = mysql:/etc/postfix/mysql-relocated.cf
sample_directory = /usr/local/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
check_relay_domains
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
transport_maps = mysql:/etc/postfix/mysql-transport.cf
virtual_gid_maps = static:1008
virtual_mailbox_base = /home/vmail
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-maps.cf
virtual_maps = mysql:/etc/postfix/mysql-virtual.cf
virtual_uid_maps = static:1008
virtual table:
+----+--------------------------+--------------------------+
| id | email | destination |
+----+--------------------------+--------------------------+
| 1 |
cardinalboating.com | anything |
| 2 | test
cardinalboating.com | test
cardinalboating.com |
+----+--------------------------+--------------------------+
mysql> select * from users;
+----+--------------------------+----------+------+------+-------------+----
-----------------------+-------+---------+
| id | email | password | uid | gid | homedir | maildir | quota | postfix |
+----+--------------------------+----------+------+------+-------------+----
-----------------------+-------+---------+
| 1 | test
cardinalboating.com | | 1008 | 1008 | /home/vmail |
test
cardinalboating.com/ | | Y |
+----+--------------------------+----------+------+------+-------------+----
-----------------------+-------+---------+
Can anyone see my mistake?
Scott
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]