|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
(no subject)
From: James G. McIntyre (jim
mcintyresecurity.com)
Date: Mon Jul 17 2006 - 18:08:17 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> you have not set mydomain
>
It is now set. I believe it was set at one time and thru my
testing/guessing unset it. thanks...
===============================================================
Here is the email I am sending:
nc machine.domain.ip.addr 25 <<MYEOF
helo its-johnny
mail from: jim
mcintyresecurity.com
rcpt to: jim.mcintyre
hosted-domain1.com
data
body stuff
.
quit
EOF
MYEOF
===============================================================
Here is the maillog:
Jul 17 18:45:04 newserve postfix/pipe[20630]: D64BFB29BF: to=<jmcintyr>,
orig_to=<jim.mcintyre
hosted-domain1.com>, relay=spamfilter, delay=5,
status=sent (dummy)
Jul 17 18:45:04 newserve postfix/qmgr[20625]: D64BFB29BF: removed
Jul 17 18:45:04 newserve postfix/qmgr[20625]: 077F1B29C6:
from=<jim
mcintyresecurity.com>, size=828, nrcpt=1 (queue active)
Jul 17 18:45:04 newserve postfix/local[20638]: warning: dict_nis_init: NIS
domain name not set - NIS lookups disabled
Jul 17 18:45:04 newserve postfix/local[20638]: 077F1B29C6:
to=<jmcintyr
newserve.machine-domain.com>, orig_to=<jmcintyr>,
relay=local, delay=0, status=sent (delivered to mailbox)
Jul 17 18:45:04 newserve postfix/qmgr[20625]: 077F1B29C6: removed
================================================================
Here is new postconf -n & postfix was restarted.
root newserve /etc/postfix
# vi main.cf
root newserve /etc/postfix
# service postfix stop; service postfix start
Shutting down postfix: [ OK ]
Starting postfix: [ OK ]
root newserve /etc/postfix
# postconf -n
append_at_myorigin = no
append_dot_mydomain = no
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
disable_vrfy_command = yes
html_directory = no
inet_interfaces = all
local_recipient_maps = unix:passwd.byname $alias_maps
mail_owner = postfix
mailq_path = /usr/bin /mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = machine-domain.com
myhostname = newserve.machine-domain.com
mynetworks = 192.168.0.0/24, 192.168.5.0/24, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin /newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES
sample_directory = /usr/share/doc/postfix-2.1.5/samples
sendmail_path = /usr/sbin /sendmail.postfix
setgid_group = postdrop
smtpd_data_restrictions = permit
smtpd_helo_required = yes
smtpd_recipient_restrictions = reject_non_fqdn_sender,
reject_non_fqdn_recipient, reject_unknown_sender_domain,
reject_unknown_recipient_domain, permit_mynetworks,
reject_invalid_hostname, reject_non_fqdn_hostname,
reject_unauth_destination, check_sender_access
hash:/etc/postfix/access,reject_rbl_client cbl.abuseat.org,
reject_rbl_client list.dsbl.org, reject_rbl_client opm.blitzed.org,
reject_rbl_client relays.ordb.org, reject_rbl_client
bl.spamcop.net, reject_rbl_client sbl.spamhaus.org,
reject_rhsbl_sender sbl.spamhaus.org, reject_rhsbl_client
sbl.spamhaus.org, reject_rhsbl_client rhsbl.sorbs.net,
reject_rbl_client vox.schpider.com, permit
smtpd_sender_restrictions = reject_non_fqdn_sender,
reject_unknown_sender_domain, reject_rhsbl_sender relays.ordb.org,
reject_rhsbl_sender opm.blitzed.org
unknown_local_recipient_reject_code = 550
virtual_alias_domains = host-domain1.net, host-domain1.com,
host-domain2.com, host-domain3.com, host-domain4.net, host-domain5.org
virtual_alias_maps = hash:/etc/postfix/virtual
jim mc....
>
--
James G. McIntyre
Senior Consultant
SANS/GIAC - GCIA Certified Intrusion Analyst
- GCFA Certified Firewall Analyst
- GAWN Auditing Wireless Networks
- GWAS Web Application Security
HP-UX Certified System Administrator
McIntyre & Associates, Inc.
Virginia Tech Corporate Research Center
2020 Kraft Drive, Suite 3005
Blacksburg, VA 24060
540-552-9090
www.mcintyresecurity.com
--
James G. McIntyre
Senior Consultant
SANS/GIAC - GCIA Certified Intrusion Analyst
- GCFA Certified Firewall Analyst
- GAWN Auditing Wireless Networks
- GWAS Web Application Security
HP-UX Certified System Administrator
McIntyre & Associates, Inc.
Virginia Tech Corporate Research Center
2020 Kraft Drive, Suite 3005
Blacksburg, VA 24060
540-552-9090
www.mcintyresecurity.com
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]