From: DR. Lee - NS1 (no email)
Date: Thu May 10 2007 - 12:50:16 EDT
Hi Gary,
Thanks for the suggestion about the netwrok mask and the book which
I definitely will get one once I have a chance.
> >
> >Relayhost=penit.csi (which is the sender 192.168.2.4 domain)
> >
Superfical guess is that the host defined by this variable can use
me as sending server? Or could this akin to sendmail's "access" or
"relay-domains"?
FYI: I am testing postfix with intention
to move away from the so-very-complicated' sendmail.
>
> Maybe you should temporaily comment out the content_filter
> override in
> master.cf until you get Postfix working the way you think it
> should. Then
> get the content_filter (probably amavisd-new) working later.
Yes, this is the cause; comment out the filter does make it work.
However, the line saying "connect from unknow" make me feel
uncomfortable.
I have enable the look up of dns and the ping show that the name is
known
to the system.
Is there a separated place to tell postfix who are the legitimated
client (mail sender)?
------------------
May 12 00:12:39 opcsz postfix/smtpd[25342]: connect from
unknown[192.168.2.4]
May 12 00:12:40 opcsz postfix/smtpd[25342]: 1F03520BE6:
client=unknown[192.168.2.4]
May 12 00:12:40 opcsz postfix/cleanup[25345]: 1F03520BE6:
message-id=<>
May 12 00:12:40 opcsz postfix/qmgr[24962]: 1F03520BE6:
from=<>, size=885, nrcpt=1 (queue active)
May 12 00:12:40 opcsz postfix/local[25346]: 1F03520BE6: to=<kflee at opcsz dot
nanokceo.csi>, relay=local, delay=0, status=sent (delivered to command:
/usr/bin/procmail)
May 12 00:12:40 opcsz postfix/qmgr[24962]: 1F03520BE6: removed
May 12 00:12:40 opcsz postfix/smtpd[25342]: disconnect from unknown[192.
168.2.4]
--------------------------
[opcsz:/etc/postfix] # ping opc.penit.csi
PING opc.penit.csi (192.168.2.4) 56(84) bytes of data.
64 bytes from 192.168.2.4: icmp_seq=1 ttl=64 time=0.188 ms
64 bytes from 192.168.2.4: icmp_seq=2 ttl=64 time=0.166 ms
---------------------------------
Rgds,
Kfl. HK.
=================== postconf -n =================
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
biff = no
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
disable_mime_output_conversion = no
header_checks = regexp:/etc/postfix/header_checks
home_mailbox = Mailbox
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = all
inet_protocols = all
local_recipient_maps = unix:passwd.byname $alias_maps
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command = /usr/bin/procmail
mailbox_size_limit = 0
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = nanokceo.csi
myhostname = opcsz.nanokceo.csi
mynetworks = 192.168.0.0/16, 127.0.0.0/8
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relay_domains = $mydestination
relayhost = $mydomain
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = no
smtp_use_tls = no
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions =
permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
strict_8bitmime = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
|
|
|