Current time: 11-17-2024, 05:21 AM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Gelöst] SMTP: "Helo command rejected: need fully-qualified hostname"
Author Message
Breaki Offline
Junior Member
*

Posts: 109
Joined: Sep 2007
Reputation: 5
Post: #1
[Gelöst] SMTP: "Helo command rejected: need fully-qualified hostname"
So, es ist soweit, nun muss ich auch mal ne Frage an euch stellen, bevor ich noch weiter dran verzweifele Rolleyes

Also Mailzustellung klappt einwandfrei (Webmail, PHP, u.s.w.) nur eben nicht über SMTP. Was mich etwas stutzig macht, ist das in der mail.log nichts kommt von "Login" oder sonstigen Dingen, die darauf hinweisen, dass sich mein lokaler PC authentifiziert hätte.

/var/log/mail.log:
Code:
Nov 10 11:05:47 stokes postfix/smtpd[30205]: connect from p54AAA0BD.dip0.t-ipconnect.de[84.170.160.189]
Nov 10 11:05:47 stokes postfix/smtpd[30205]: NOQUEUE: reject: RCPT from p54AAA0BD.dip0.t-ipconnect.de[84.170.160.189]: 504 5.5.2 <schlepptop>: Helo command rejected: need fully-qualified hostname; from=<info@meinedomain.tld> to=<schobig@empfaengerdomain.tld> proto=ESMTP helo=<schlepptop>
Nov 10 11:05:48 stokes postfix/smtpd[30205]: disconnect from p54AAA0BD.dip0.t-ipconnect.de[84.170.160.189]

Wenn irgendwelche zusätzlichen Infos gebraucht werden, dann bitte antworten.

Danke
(This post was last modified: 11-10-2007 09:34 PM by Breaki.)
11-10-2007 09:09 PM
Visit this user's website Find all posts by this user
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #2
RE: SMTP: "Helo command rejected: need fully-qualified hostname"
verschiebe reject_invalid_hostname aus den smtpd_recipient_restrictions der main.cf sodass es nach permit_sasl_authenticated kommt.

Wenn das nicht hilft bitte die Ausgabe von postconf -n posten
(This post was last modified: 11-10-2007 09:12 PM by rbtux.)
11-10-2007 09:12 PM
Visit this user's website Find all posts by this user
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #3
RE: SMTP: "Helo command rejected: need fully-qualified hostname"
sowas in der art:
http://www.isp-control.net/ispcp/ticket/825
11-10-2007 09:13 PM
Visit this user's website Find all posts by this user
Breaki Offline
Junior Member
*

Posts: 109
Joined: Sep 2007
Reputation: 5
Post: #4
RE: SMTP: "Helo command rejected: need fully-qualified hostname"
ne, hat leider nicht geholfen, nun hier "postconf -n":

Code:
root@stokes:/etc# postconf -n
alias_database = hash:/etc/aliases
append_at_myorigin = yes
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
inet_interfaces = all
local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database
local_transport = local
mail_spool_directory = /var/mail
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = $myhostname, $mydomain
mydomain = stokes.your-home.de.local
myhostname = stokes.your-home.de
mynetworks_style = host
myorigin = $mydomain
setgid_group = postdrop
smtpd_banner = $myhostname ispCP 1.0 Priamos Managed ESMTP 1.0.0 RC3 OMEGA
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_helo_required = yes
smtpd_helo_restrictions = reject_invalid_helo_hostname,                          reject_non_fqdn_helo_hostname
smtpd_recipient_restrictions = permit_mynetworks,                               reject_unknown_sender_domain,                               reject_unknown_recipient_domain,                               reject_unauth_destination,                               permit_sasl_authenticated,                               reject_non_fqdn_recipient,                               check_policy_service inet:127.0.0.1:12525,                               check_policy_service inet:127.0.0.1:60000
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sender_restrictions = permit_mynetworks,                               reject_non_fqdn_sender,                               reject_unauth_destination,                               permit_sasl_authenticated
transport_maps = hash:/etc/postfix/ispcp/transport
virtual_alias_maps = hash:/etc/postfix/ispcp/aliases
virtual_gid_maps = static:8
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_domains = hash:/etc/postfix/ispcp/domains
virtual_mailbox_limit = 0
virtual_mailbox_maps = hash:/etc/postfix/ispcp/mailboxes
virtual_minimum_uid = 1000
virtual_transport = virtual
virtual_uid_maps = static:1000

thx ; )
11-10-2007 09:17 PM
Visit this user's website Find all posts by this user
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #5
RE: SMTP: "Helo command rejected: need fully-qualified hostname"
knall die smtpd_sender_restrictions raus... die brauchst du nicht!!! Wenns dann immer noch nicht geht schau ich es noch genauer an...
11-10-2007 09:20 PM
Visit this user's website Find all posts by this user
Breaki Offline
Junior Member
*

Posts: 109
Joined: Sep 2007
Reputation: 5
Post: #6
RE: SMTP: "Helo command rejected: need fully-qualified hostname"
vielleicht noch nen paar infos:
- aktueller trunk
- debian etch
- saslfinger -c
Code:
saslfinger - postfix Cyrus sasl configuration Sat Nov 10 11:20:01 UTC 2007
version: 1.0.5
mode: client-side SMTP AUTH

-- basics --
Postfix: 2.3.8
System: Debian GNU/Linux 4.0 \n \l

-- smtp is linked to --
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7d8b000)

-- active SMTP AUTH and TLS parameters for smtp --
No active SMTP AUTH and TLS parameters for smtp in main.cf!
SMTP AUTH can't work!

und wie schon gesagt, es sieht nichtmal so aus, als ob er sich authentifizieren würde (log im 1. post)

grüße aus dem verschneiten bayern
11-10-2007 09:21 PM
Visit this user's website Find all posts by this user
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #7
RE: SMTP: "Helo command rejected: need fully-qualified hostname"
sry der fehler liegt wo anders

smtpd_helo_restrictions = reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname

brauchst du nicht!!! wenn dann nach reject_invalid_hostname in den recipient restrictions einfügen!

Es braucht nur data und recipient restrictions. Den Rest kannst du schmeissen!
11-10-2007 09:22 PM
Visit this user's website Find all posts by this user
Breaki Offline
Junior Member
*

Posts: 109
Joined: Sep 2007
Reputation: 5
Post: #8
RE: SMTP: "Helo command rejected: need fully-qualified hostname"
rbtux Wrote:knall die smtpd_sender_restrictions raus... die brauchst du nicht!!! Wenns dann immer noch nicht geht schau ich es noch genauer an...

ich sags ja nur ungern, geht aber noch immer nicht Rolleyes

aber schonmal danke für die hilfe Wink
11-10-2007 09:23 PM
Visit this user's website Find all posts by this user
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #9
RE: SMTP: "Helo command rejected: need fully-qualified hostname"
die helo_restrictions sind auch raus?
11-10-2007 09:24 PM
Visit this user's website Find all posts by this user
Breaki Offline
Junior Member
*

Posts: 109
Joined: Sep 2007
Reputation: 5
Post: #10
RE: SMTP: "Helo command rejected: need fully-qualified hostname"
rbtux Wrote:die helo_restrictions sind auch raus?

ne, der post bezog sich auf deinen vorherigen vorschlag (wir schreiben zu schnell *gg*)

aber nun gehts mit dem letzten (hab mal aus #825 den code kopiert).

aber eigentlich ungut, dass ispcp out of the box so modifiziert werden muss, oder liegt der fehler nur an mir?

grüße
11-10-2007 09:31 PM
Visit this user's website Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 5 Guest(s)