OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
RE: A little bit confusing...

From: Rocco Scappatura (Rocco.Scappaturasttspa.it)
Date: Wed Nov 14 2007 - 04:58:11 CST


 

> Does your relay server checks if the user exists before relaying?

I thought of yes.. :-(

> Relay configuration is very simple, maybe if you post your
> main.cf file we can help in a more accurate way.

alias_maps = hash:/etc/aliases
anvil_rate_time_unit = 60s
bounce_size_limit = 1
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_process_limit = 150
html_directory = no
inet_interfaces = $myhostname, localhost
local_recipient_maps = unix:passwd.byname $alias_maps
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 35840000
minimal_backoff_time = 1800s
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = av3.sttspa.it
myhostname = av3.sttspa.it
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
proxy_read_maps = $local_recipient_maps $mydestination
$virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps
$virtual_mailbox_domains $relay_recipient_maps $relay_domains
$canonical_maps $sender_canonical_maps $recipient_canonical_maps
$relocated_maps $transport_maps $mynetworks
proxy:mysql:/etc/postfix/mysql-check-recipient-access.cf
proxy:mysql:/etc/postfix/mysql-check-client-access.cf
proxy:mysql:/etc/postfix/mysql-check-sender-access.cf
proxy:mysql:/etc/postfix/mysql-relay-recipients.cf
proxy:mysql:/etc/postfix/mysql-transport.cf
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = proxy:mysql:/etc/postfix/mysql-relay-domains.cf
relay_recipient_maps =
proxy:mysql:/etc/postfix/mysql-relay-recipients.cf
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_connect_timeout = 10s
smtp_discard_ehlo_keyword_address_maps =
hash:/etc/postfix/mta_workarounds
smtpd_banner = $myhostname
smtpd_client_connection_count_limit = 50
smtpd_client_connection_rate_limit = 100
smtpd_client_event_limit_exceptions =
smtpd_client_message_rate_limit = 60
smtpd_client_recipient_rate_limit = 1000
smtpd_client_restrictions =
smtpd_helo_restrictions =
smtpd_recipient_restrictions = check_recipient_access
proxy:mysql:/etc/postfix/mysql-check-recipient-access.cf
check_client_access
proxy:mysql:/etc/postfix/mysql-check-client-access.cf
reject_unauth_destination reject_non_fqdn_sender
reject_non_fqdn_recipient reject_unlisted_sender
reject_unlisted_recipient reject_unknown_sender_domain
check_sender_access
proxy:mysql:/etc/postfix/mysql-check-sender-access.cf
reject_invalid_hostname reject_rbl_client zen.spamhaus.org
reject_rbl_client list.dsbl.org
smtpd_sender_restrictions =
strict_rfc821_envelopes = yes
transport_maps = proxy:mysql:/etc/postfix/mysql-transport.cf
unknown_local_recipient_reject_code = 550

rocsca