On Mon, 14 Mar 2011 13:12:30 -0500
the honourable Noel Jones <[email protected]> wrote using one of
his/her keyboards:

> On 3/14/2011 1:01 PM, Petre Bandac wrote:
> > hallo
> >
> >
> > sorry for continuing the post, but my problem is somehow related to
> > the solution you gave (which also was my first setup, but didn't
> > work)
> >
> > one single domain - x.ro - virtual users stored in mysql database
> >
> > subdomain intern.x.ro goes to a LAN station (Lotus server) -
> > 10.0.0.77
> >
> > both x.ro&  intern.x.ro point to the same external ip address
> >
> > 1) initial setup
> >
> > intern.c.ro is not listed in any mysql table
> >
> > transport maps has the line
> >
> > ##
> > intern.c.ro relay:[10.0.0.77]
> > ##
> >
> > and I still get the relay denied error
> >
> >
> > Mar 14 19:31:11 mx postfix/smtpd[43289]: NOQUEUE: reject: RCPT from
> > mail.kgb.ro[193.239.159.34]: 554 5.7.1<[email protected]>:
> > Relay access denied; from=<[email protected]>
> > to=<[email protected]>  proto=ESMTP helo=<mail.kgb.ro>
> >
> > I have played with several scenarios - listing intern.c.ro as backup
> > domain, listing the address in relay_recipient_maps, even with the
> > parent_domain_matches_subdomains set to null - all with the same
> > result
> > - either relay denied or user unknown in virtual user table
> >
> > what am I doing wrong ?!
> >
> 
> 
> Please don't top-post.
> 
> To verify postfix settings, use
>    postconf -n
> or
>    postconf some_parameter_name
> 
> To verify postfix table contents, use
>    postmap -q "key" maptype:mapname
> 
> To get help with a problem, please see:
> http://www.postfix.org/DEBUG_README.html#mail
> 
> 

hallo

first two steps were verified several times (I mean, except for the
transport_maps options other modifications to main.cf should not be
necessary) -- below is the full output

I already queried the transport map

postmap -q intern.c.ro /usr/local/etc/postfix/transport

gave

relay:[10.0.0.77]

and I thought that would be enough

but the "relay denied" message from the logs doesn't help me at all


I'm sure I miss some detail somewhere and I hope you can point me in
the right direction

thank you for your time,

petre

alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
data_directory = /var/db/postfix
debug_peer_level = 2
html_directory = /usr/local/share/doc/postfix
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 30960000
myhostname = mail.c.ro
mynetworks = /usr/local/etc/postfix/mynetworks
newaliases_path = /usr/bin/newaliases
owner_request_special = no
queue_directory = /var/spool/postfix
readme_directory = /usr/local/share/doc/postfix
recipient_delimiter = +
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtpd_banner = $myhostname - Throw me what you got ...
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks,   reject_non_fqdn_recipient,
reject_unknown_sender_domain,   reject_unknown_recipient_domain,
reject_unauth_destination,   reject_unauth_pipelining,
reject_invalid_hostname,   reject_non_fqdn_hostname,
reject_rbl_client        cbl.abuseat.org   reject_rbl_client
zen.spamhaus.org   reject_rbl_client        dnsbl.sorbs.net
reject_rbl_client        combined.njabl.org   reject_rbl_client
ix.dnsbl.manitu.net   reject_rhsbl_sender    dsn.rfc-ignorant.org
reject_rhsbl_sender    dsn.rfc-ignorant.org   permit_mx_backup,
reject smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header =
yes smtpd_sasl_security_options = noanonymous smtpd_sender_restrictions
= permit_sasl_authenticated,   permit_mynetworks,
reject_unauth_destination transport_maps =
hash:/usr/local/etc/postfix/transport unknown_address_reject_code = 554
unknown_client_reject_code = 554 unknown_hostname_reject_code = 554
unknown_local_recipient_reject_code = 550 virtual_alias_maps =
mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:99 virtual_mailbox_base = /usr/local/virtual
virtual_mailbox_domains =
mysql:/usr/local/etc/postfix/mysql_virtual_domains_maps.cf,
mysql_relay_domains_maps.cf virtual_mailbox_limit = 51200000
virtual_mailbox_maps =
mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 1001 virtual_transport = maildrop
virtual_uid_maps = static:1001


-- 

Petre Bandac

Network Scientist

-

[email protected]

Attachment: signature.asc
Description: PGP signature

Reply via email to