Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Postfix Mail Relay Problem [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Evildad
Guru
Guru


Joined: 15 Apr 2004
Posts: 475

PostPosted: Mon Oct 10, 2005 7:37 pm    Post subject: Postfix Mail Relay Problem [SOLVED] Reply with quote

Hallo,

ich hab es jetzt endlich geschafft nen Mailserver zum laufen zu bringen aber hab noch immer ein Problem.
Ich möchte die mails die ich verschicke über meinen 1&1 Account "relayen".

Ich habe auch schon die Daten in /etc/postfix/saslpass eingetragen und danach gehashed.
Dennoch kommt es zu folgender Fehlermeldung wenn ich versuche eine mail zu verschicken.

Code:
Oct  3 15:01:08  postfix/smtpd[17970]: connect from localhost[127.0.0.1]
Oct  3 15:01:08  postfix/smtpd[17970]: 9B0F61F612F: client=localhost[127.0.0.1]
Oct  3 15:01:08  postfix/cleanup[17975]: 9B0F61F612F: message-id=<62936.84.158.7.65.1128351668.squirrel@localhost.localdomain>
Oct  3 15:01:08  postfix/qmgr[17969]: 9B0F61F612F: from=<webmaster@.dyndns.org>, size=723, nrcpt=1 (queue active)
Oct  3 15:01:08  postfix/smtpd[17970]: disconnect from localhost[127.0.0.1]
Oct  3 15:01:08  imap[17816]: accepted connection
Oct  3 15:01:08  postfix/smtp[17979]: deliver_request_get: file active/9/9B0F61F612F
Oct  3 15:01:08  postfix/smtp[17979]: deliver_message: from webmaster@.dyndns.org
Oct  3 15:01:08  postfix/smtp[17979]: smtp_parse_destination: [smtp.1und1.de] smtp
Oct  3 15:01:08  postfix/smtp[17979]: connecting to smtp.1und1.de port 25
Oct  3 15:01:08  postfix/smtp[17979]: smtp_addr_one: host smtp.1und1.de
Oct  3 15:01:08  saslauthd[30697]: insert into log (msg, user, host, pid, time) values('AUTH SUCCESSFUL', '0001', '', '30697', NOW())
Oct  3 15:01:08  imap[17816]: login: localhost [127.0.0.1] 0001 plaintext User logged in
Oct  3 15:01:08  postfix/smtp[17979]: dns_query: smtp.1und1.de (A): OK
Oct  3 15:01:08  postfix/smtp[17979]: dns_get_answer: type A for smtp.1und1.de
Oct  3 15:01:08  postfix/smtp[17979]: dns_get_answer: type A for smtp.1und1.de
Oct  3 15:01:08  postfix/smtp[17979]: smtp_find_self: not found
Oct  3 15:01:08  postfix/smtp[17979]: begin smtp.1und1.de address list
Oct  3 15:01:08  postfix/smtp[17979]: pref    0 host smtp.1und1.de/212.227.15.183
Oct  3 15:01:08  postfix/smtp[17979]: pref    0 host smtp.1und1.de/212.227.15.167
Oct  3 15:01:08  postfix/smtp[17979]: end smtp.1und1.de address list
Oct  3 15:01:08  postfix/smtp[17979]: smtp_connect_addr: trying: smtp.1und1.de[212.227.15.183] port 25...
Oct  3 15:01:08  postfix/smtp[17979]: maps_find: smtp_tls_per_site: smtp.1und1.de: not found
Oct  3 15:01:08  postfix/smtp[17979]: maps_find: smtp_tls_per_site: mtp.1und1.de: not found
Oct  3 15:01:08  postfix/smtp[17979]: < smtp.1und1.de[212.227.15.183]: 220 smtp.1und1.de (mrelayeu0) Welcome to Nemesis ESMTP server
Oct  3 15:01:08  postfix/smtp[17979]: > smtp.1und1.de[212.227.15.183]: EHLO .dyndns.org
Oct  3 15:01:09  imap[17816]: accepted connection
Oct  3 15:01:09  saslauthd[30687]: insert into log (msg, user, host, pid, time) values('AUTH SUCCESSFUL', '0001', '', '30687', NOW())
Oct  3 15:01:09  imap[17816]: login: localhost [127.0.0.1] 0001 plaintext User logged in
Oct  3 15:01:09  postfix/smtp[17979]: < smtp.1und1.de[212.227.15.183]: 250-mrelayeu0.kundenserver.de pleased to meet you
Oct  3 15:01:09  imap[17816]: open: user 0001 opened INBOX
Oct  3 15:01:09  imap[17816]: open: user 0001 opened INBOX
Oct  3 15:01:09  imap[17816]: open: user 0001 opened INBOX
Oct  3 15:01:09  imap[17816]: SQUAT failed to open index file
Oct  3 15:01:09  imap[17816]: SQUAT failed
Oct  3 15:01:09  postfix/smtp[17979]: < smtp.1und1.de[212.227.15.183]: 250-STARTTLS
Oct  3 15:01:09  postfix/smtp[17979]: < smtp.1und1.de[212.227.15.183]: 250-AUTH PLAIN LOGIN
Oct  3 15:01:09  postfix/smtp[17979]: < smtp.1und1.de[212.227.15.183]: 250-AUTH=PLAIN LOGIN
Oct  3 15:01:09  postfix/smtp[17979]: < smtp.1und1.de[212.227.15.183]: 250-PIPELINING
Oct  3 15:01:09  postfix/smtp[17979]: < smtp.1und1.de[212.227.15.183]: 250-8BITMIME
Oct  3 15:01:09  postfix/smtp[17979]: < smtp.1und1.de[212.227.15.183]: 250-SIZE 20971520
Oct  3 15:01:09  postfix/smtp[17979]: < smtp.1und1.de[212.227.15.183]: 250 HELP
Oct  3 15:01:09  postfix/smtp[17979]: server features: 0x1f size 20971520
Oct  3 15:01:09  postfix/smtp[17979]: Using ESMTP PIPELINING, TCP send buffer size is 4096
Oct  3 15:01:09  postfix/smtp[17979]: > smtp.1und1.de[212.227.15.183]: MAIL FROM:<webmaster@.dyndns.org> SIZE=723 BODY=8BITMIME
Oct  3 15:01:09  postfix/smtp[17979]: > smtp.1und1.de[212.227.15.183]: RCPT TO:<@gmx.de>
Oct  3 15:01:09  postfix/smtp[17979]: > smtp.1und1.de[212.227.15.183]: DATA
Oct  3 15:01:09  postfix/smtp[17979]: < smtp.1und1.de[212.227.15.183]: 250 mail from: <webmaster@.dyndns.org> ok
Oct  3 15:01:11  postfix/smtp[17979]: < smtp.1und1.de[212.227.15.183]: 550 must be authenticated
Oct  3 15:01:11  postfix/smtp[17979]: connect to subsystem private/bounce
Oct  3 15:01:11  postfix/smtp[17979]: send attr nrequest = 0
Oct  3 15:01:11  postfix/smtp[17979]: send attr flags = 0
Oct  3 15:01:11  postfix/smtp[17979]: send attr queue_id = 9B0F61F612F
Oct  3 15:01:11  postfix/smtp[17979]: send attr original_recipient = @gmx.de
Oct  3 15:01:11  postfix/smtp[17979]: send attr recipient = @gmx.de
Oct  3 15:01:11  postfix/smtp[17979]: send attr offset = 260
Oct  3 15:01:11  postfix/smtp[17979]: send attr status = 5.0.0
Oct  3 15:01:11  postfix/smtp[17979]: send attr action = failed
Oct  3 15:01:11  postfix/smtp[17979]: send attr reason = host smtp.1und1.de[212.227.15.183] said: 550 must be authenticated (in reply to RCPT TO command)
Oct  3 15:01:11  postfix/smtp[17979]: private/bounce socket: wanted attribute: status
Oct  3 15:01:11  postfix/smtp[17979]: input attribute name: status
Oct  3 15:01:11  postfix/smtp[17979]: input attribute value: 0
Oct  3 15:01:11  postfix/smtp[17979]: private/bounce socket: wanted attribute: (list terminator)
Oct  3 15:01:11  postfix/smtp[17979]: input attribute name: (end)
Oct  3 15:01:11  postfix/smtp[17979]: 9B0F61F612F: to=<@gmx.de>, relay=smtp.1und1.de[212.227.15.183], delay=3, status=bounced (host smtp.1und1.de[212.227.15.183] said: 550 must be authenticated (in reply to RCPT TO command))
Oct  3 15:01:11  postfix/smtp[17979]: < smtp.1und1.de[212.227.15.183]: 554 no valid recipients
Oct  3 15:01:11  postfix/smtp[17979]: > smtp.1und1.de[212.227.15.183]: RSET
Oct  3 15:01:11  postfix/smtp[17979]: > smtp.1und1.de[212.227.15.183]: QUIT
Oct  3 15:01:12  postfix/smtp[17979]: < smtp.1und1.de[212.227.15.183]: 250 OK



Wäre nett, wenn jemand da wäre, der mir helfen kann.

Danke,
Evil


Last edited by Evildad on Tue Oct 11, 2005 2:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
kobler
n00b
n00b


Joined: 02 Aug 2004
Posts: 73

PostPosted: Mon Oct 10, 2005 8:32 pm    Post subject: Reply with quote

ct 3 15:01:11 postfix/smtp[17979]: 9B0F61F612F: to=<@gmx.de>, relay=smtp.1und1.de[212.227.15.183], delay=3, status=bounced (host smtp.1und1.de[212.227.15.183] said: 550 must be authenticated (in reply to RCPT TO command))


mfg
Back to top
View user's profile Send private message
Haldir
Guru
Guru


Joined: 27 Sep 2002
Posts: 546

PostPosted: Mon Oct 10, 2005 11:57 pm    Post subject: Reply with quote

Dein Freund dürfte SMTP Auth über SASL sein.
Back to top
View user's profile Send private message
Evildad
Guru
Guru


Joined: 15 Apr 2004
Posts: 475

PostPosted: Tue Oct 11, 2005 9:18 am    Post subject: Reply with quote

Ich weiss, dass es genau daran liegt. :D (Dehalb hab ich auch den Verbose Output angegeben und nicht den normalen)
Ich habe es auch schon in der Postfix Konfiguration eingetragen aber irgendwie schein ich noch was
falsch gemacht zu haben.


Quote:
Dein Freund dürfte SMTP Auth über SASL sein.

Die Frage ist wie? Alles was ich im Netz gefunden hab, hat nicht geklappt.
Back to top
View user's profile Send private message
stalinski
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2005
Posts: 106
Location: Berlin,Germany

PostPosted: Tue Oct 11, 2005 10:02 am    Post subject: Reply with quote

smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/saslpass
smtp_sasl_security_options = noanonymous
und:
relayhost = [smtp.1und1.de]
die [] können bei ner Menge Probleme helfen... ;D
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Tue Oct 11, 2005 10:08 am    Post subject: Reply with quote

hier sollte es haargenau alles beschrieben sein. dein problem ist, dass der postfix sich nicht vor dem senden an dem smtp server authentifiziert.

ich denke mal punkt 5 in der doku ist genau das was du suchst.
_________________
Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB
Back to top
View user's profile Send private message
Haldir
Guru
Guru


Joined: 27 Sep 2002
Posts: 546

PostPosted: Tue Oct 11, 2005 1:44 pm    Post subject: Reply with quote

Stell außerdem sicher das Postfix mit sasl support compiled ist, also in den Use Flags zu Postfix angeben
Back to top
View user's profile Send private message
Evildad
Guru
Guru


Joined: 15 Apr 2004
Posts: 475

PostPosted: Tue Oct 11, 2005 2:52 pm    Post subject: Reply with quote

Was ein dummer Fehler... :oops:
Ich hatte immer ein smtpd und nicht smtp stehen und erst durch den link von bbgermany wurde mir klar, dass das eine für ein- und das andere für ausgehende mails ist.

Mal wieder was gelernt und es geht wieder.
Danke an alle für die schnelle Hilfe.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum