|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: AlxFrag (alxfrag
gmail.com)
Date: Tue Dec 18 2007 - 04:06:58 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Sandy Drobic wrote:
> AlxFrag wrote:
>
>
>>>> i've used smtp_helo_name=mydomain but postfix insists in saying
>>>> helo=<127.0.0.1> :(
>>>>
>
>
>> *************************************************
>> postconf smtp_helo_name shows:
>> smtp_helo_name = my_helo_name
>> ************************************************
>> postconf -n shows:
>>
>> alias_maps = hash:/usr/local/mailman/data/aliases
>> broken_sasl_auth_clients = yes
>> command_directory = /usr/sbin
>> config_directory = /etc/postfix
>> daemon_directory = /usr/libexec/postfix
>> debug_peer_level = 2
>> header_checks = regexp:/etc/postfix/header_checks
>> html_directory = no
>> local_recipient_maps = ldap:/etc/postfix/local_recipients.cf
>> mail_owner = postfix
>> mailq_path = /usr/bin/mailq
>> manpage_directory = /usr/local/man
>> message_size_limit = 20480000
>> mydomain = my_own_domain
>> mynetworks = 127.0.0.1, my_other_ips
>> newaliases_path = /usr/bin/newaliases
>> queue_directory = /var/spool/postfix
>> readme_directory = no
>> recipient_delimiter = +
>> sample_directory = /etc/postfix
>> sendmail_path = /usr/sbin/sendmail
>> setgid_group = postdrop
>> smtp_helo_name = econ.soc.uoc.gr
>>
>
> Okay, that looks good.
>
> The real question is now, if it is really Postfix, that is using the
> localhost helo. Do you have a content_filter defined in master.cf?
> Usually Postfix does NOT log the helo name, only when a
> mail/recipient/sender is rejected.
>
> What does the log say?
>
>
**********************************************
part of the logs in var/log/mail:
Dec 18 11:59:19 hermes postfix/smtpd[18416]: 0DE0E2BBD7:
client=unknown[client_ip], sasl_method=PLAIN, sasl_username=my_username
Dec 18 11:59:19 hermes postfix/cleanup[18228]: 0DE0E2BBD7: hold: header
Received: from [127.0.0.1] (unknown [client_ip])??by hermes.mydomain
(Postfix) with ESMTP id 0DE0E2BBD7??for <alxfrag
gmail.com>; Tue, 18 Dec
2007 11:59:19 +0200 (EET) from unknown[client_ip];
from=<my_username
mydomain> to=<alxfrag
gmail.com> proto=ESMTP
helo=<[127.0.0.1]>
**********************************************
in master.cf i have:
smtp inet n - n - - smtpd
#submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps inet n - n - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix - n n - - pipe
flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
cyrus unix - n n - - pipe
user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)
#
# Other external delivery methods.
#
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
$recipient
vacation unix - n n - - pipe
flags=DRhu user=vacation argv=/var/spool/vacation/vacation.pl
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]