OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: How to allow email relay from anyone who have valid email address on the server
From: Russell \ (eliknettaxi.com)
Date: Sun Mar 26 2000 - 11:23:43 CST


Hello all.

        Here is the copy of my postconf configuration here. What the main problem
I have is that I want the postfix to allow the relaying of emails from users
that who have an account on the server but use the email client from other
network to send their emails along with recieving their emails. It seems
that it allows the emails to arrive at the servers for any domain names that
have the valid email address, but when it tries to send emails from the
untrusted clients though my email server, it rejects it due to the
reciepcient address being invalid.

        I been trying to find the right restrictions that allows the untrusted
clients to relay the emails if they have the valid email address and have an
account on the server to send emails. So..what exactly am I missing here to
allow myself to send emails using that email server? For example, a client
access the email server from Ozline Networks at home, and he want to
accesses the email over at mail.digi-host.com. He can recieves emails from
there, but when he tries to send email though there, it get rejected. How
do I open that one up? As for allowing which hosts it comes from, that I
have no idea on, since it is a web-hosting service, and I like to offer
emails service there. Plus, it also have virtual hosts there as well.
So...any help is appreciated there.

2bounce_notice_recipient = postmaster
access_map_reject_code = 554
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
allow_mail_to_commands = alias,forward
allow_mail_to_files = alias,forward
allow_min_user = no
allow_percent_hack = yes
allow_untrusted_routing = no
always_bcc =
append_at_myorigin = yes
append_dot_mydomain = yes
best_mx_transport =
biff = yes
bounce_notice_recipient = postmaster
bounce_size_limit = 50000
canonical_maps =
command_directory = /usr/sbin
command_expansion_filter =
1234567890!%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEF
GHIJKLMNOPQRSTUVWXYZ
command_time_limit = 1000
daemon_directory = /usr/lib/postfix
daemon_directory = /usr/lib/postfix
daemon_timeout = 18000
debug_peer_level = 2
debug_peer_list =
default_database_type = hash
default_destination_concurrency_limit = 10
default_destination_recipient_limit = 50
default_privs = nobody
default_process_limit = 50
default_transport = smtp
defer_transports =
delay_notice_recipient = postmaster
delay_warning_time = 0
deliver_lock_attempts = 5
deliver_lock_delay = 1
disable_dns_lookups = no
disable_vrfy_command = no
dont_remove = 0
double_bounce_sender = double-bounce
duplicate_filter_limit = 1000
empty_address_recipient = MAILER-DAEMON
error_notice_recipient = postmaster
expand_owner_alias = no
expand_owner_alias = no
fallback_relay =
fallback_transport =
fork_attempts = 5
fork_delay = 1
forward_expansion_filter =
1234567890!%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEF
GHIJKLMNOPQRSTUVWXYZ
forward_path =
$home/.forward${recipient_delimiter}${extension},$home/.forward
hash_queue_depth = 2
hash_queue_names = defer
header_checks =
header_size_limit = 102400
home_mailbox =
hopcount_limit = 50
ignore_mx_lookup_error = no
inet_interfaces = all
initial_destination_concurrency = 5
invalid_hostname_reject_code = 501
ipc_idle = 100
ipc_timeout = 3600
line_length_limit = 2048
local_command_shell =
local_destination_concurrency_limit = 2local_destination_concurrency_limit =
2
local_destination_recipient_limit = $default_destination_recipient_limit
local_recipient_maps =
local_transport = local
luser_relay =
mail_name = Postfix
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mail_version = Postfix-19991231
mailbox_command = /usr/bin/procmail -a $DOMAIN -d $LOGNAME
mailbox_transport =
maps_rbl_domains = rbl.maps.vix.com
maps_rbl_reject_code = 554
masquerade_domains =
masquerade_exceptions =
max_idle = 100
max_use = 100
maximal_backoff_time = 4000
maximal_queue_lifetime = 5
message_size_limit = 10240000
minimal_backoff_time = 1000
mydestination = $mydomain, localhost.$mydomain
mydomain = digi-host.commydomain = digi-host.com
myhostname = mail.digi-host.com
mynetworks = 127.0.0.0/8 216.18.17.0/24
myorigin = $mydomain
non_fqdn_reject_code = 504
notify_classes = resource,software
owner_request_special = yes
prepend_delivered_header = command, file, forward
process_id_directory = pid
program_directory = /usr/libexec/postfix
propagate_unmatched_extensions = canonical, virtual
qmgr_fudge_factor = 100
qmgr_message_active_limit = 1000
qmgr_message_recipient_limit = 10000
queue_directory = /var/spool/postfix
queue_minfree = 0
queue_run_delay = 1000
recipient_canonical_maps =
recipient_delimiter =
reject_code = 554
relay_domains = $virtual_maps
relay_domains_reject_code = 554
relayhost =relayhost =
relocated_maps =
sender_canonical_maps =
service_throttle_time = 60
smtp_connect_timeout = 0
smtp_data_done_timeout = 600
smtp_data_init_timeout = 120
smtp_data_xfer_timeout = 180
smtp_destination_concurrency_limit = $default_destination_concurrency_limit
smtp_destination_recipient_limit = $default_destination_recipient_limit
smtp_helo_timeout = 300
smtp_mail_timeout = 300
smtp_quit_timeout = 300
smtp_rcpt_timeout = 300
smtp_skip_4xx_greeting = no
smtp_skip_quit_response = yes
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Linux-Mandrake)
smtpd_client_restrictions =
smtpd_delay_reject = yes
smtpd_error_sleep_time = 5
smtpd_etrn_restrictions =
smtpd_hard_error_limit = 100
smtpd_helo_required = nosmtpd_helo_restrictions =
smtpd_recipient_limit = 1000
smtpd_recipient_restrictions = permit_mynetworks,check_relay_domains
smtpd_restriction_classes =
smtpd_sender_restrictions =
smtpd_soft_error_limit = 10
smtpd_timeout = 300
soft_bounce = no
stale_lock_time = 500
strict_rfc821_envelopes = no
sun_mailtool_compatibility = no
swap_bangpath = yes
transport_maps =
transport_retry_time = 60
trigger_timeout = 10
unknown_address_reject_code = 450
unknown_client_reject_code = 450
unknown_hostname_reject_code = 450
virtual_maps = hash:/etc/postfix/virtual