Re: mail vom command prompt (ein bißchen O.T.)

Christoph Kukulies kuku at kukulies.org
Sa Mai 18 09:26:28 CEST 2024


Habe jetzt noch Folgendes meiner loaklen main.cf (macOS) hinzugefügt:

smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd
smtp_sasl_mechanism_filter = AUTH LOGIN

smtp_use_tls = yes
#smtp_tls_security_level = may
smtp_tls_security_level = encrypt
smtpd_tls_cert_file = none
tls_random_source = dev:/dev/urandom



Aber ich sehe nur das auf meinem Mailserver:

May 18 09:17:18 mail postfix/submission/smtpd[615768]: connect from p2000xxxxxxxxxxxxxxxxxxxxxx.dip0.t-ipconnect.de[xxxx:xx:xxxx:xxxx:xxxx:xxxx:xxxx]
May 18 09:17:18 mail postfix/submission/smtpd[615783]: connect from p2000xxxxxxxxxxxxxxxxxxxxxx.dip0.t-ipconnect.de[xxxx:xx:xxxx:xxxx:xxxx:xxxx:xxxx]
May 18 09:17:18 mail postfix/submission/smtpd[615782]: connect from p1234567.dip0.t-ipconnect.de[me.ne.i.p]
May 18 09:17:18 mail postfix/submission/smtpd[615784]: connect from p1234567.dip0.t-ipconnect.de[me.ne.i.p]
May 18 09:17:18 mail postfix/submission/smtpd[615785]: connect from p2000xxxxxxxxxxxxxxxxxxxxxx.dip0.t-ipconnect.de[xxxx:xx:xxxx:xxxx:xxxx:xxxx:xxxx]
May 18 09:17:19 mail postfix/submission/smtpd[615768]: disconnect from p2000xxxxxxxxxxxxxxxxxxxxxx.dip0.t-ipconnect.de[xxxx:xx:xxxx:xxxx:xxxx:xxxx:xxxx] ehlo=2 starttls=1 quit=1 commands=4
May 18 09:17:19 mail postfix/submission/smtpd[615783]: disconnect from p2000xxxxxxxxxxxxxxxxxxxxxx.dip0.t-ipconnect.de[xxxx:xx:xxxx:xxxx:xxxx:xxxx:xxxx] ehlo=2 starttls=1 quit=1 commands=4
May 18 09:17:19 mail postfix/submission/smtpd[615785]: disconnect from p2000xxxxxxxxxxxxxxxxxxxxxx.dip0.t-ipconnect.de[xxxx:xx:xxxx:xxxx:xxxx:xxxx:xxxx] ehlo=2 starttls=1 quit=1 commands=4
May 18 09:17:19 mail postfix/submission/smtpd[615782]: disconnect from p1234567.dip0.t-ipconnect.de[me.ne.i.p] ehlo=2 starttls=1 quit=1 commands=4
May 18 09:17:19 mail postfix/submission/smtpd[615784]: disconnect from p1234567.dip0.t-ipconnect.de[me.ne.i.p] ehlo=2 starttls=1 quit=1 commands=4
May 18 09:17:19 mail postfix/submission/smtpd[615768]: connect from p1234567.dip0.t-ipconnect.de[me.ne.i.p]
May 18 09:17:19 mail postfix/submission/smtpd[615783]: connect from p1234567.dip0.t-ipconnect.de[me.ne.i.p]
May 18 09:17:19 mail postfix/submission/smtpd[615785]: connect from p2000xxxxxxxxxxxxxxxxxxxxxx.dip0.t-ipconnect.de[xxxx:xx:xxxx:xxxx:xxxx:xxxx:xxxx]
May 18 09:17:19 mail postfix/submission/smtpd[615782]: connect from p1234567.dip0.t-ipconnect.de[me.ne.i.p]
May 18 09:17:19 mail postfix/submission/smtpd[615784]: connect from p2000xxxxxxxxxxxxxxxxxxxxxx.dip0.t-ipconnect.de[xxxx:xx:xxxx:xxxx:xxxx:xxxx:xxxx]
May 18 09:17:20 mail postfix/submission/smtpd[615768]: disconnect from p1234567.dip0.t-ipconnect.de[me.ne.i.p] ehlo=2 starttls=1 quit=1 commands=4
May 18 09:17:20 mail postfix/submission/smtpd[615785]: disconnect from p2000xxxxxxxxxxxxxxxxxxxxxx.dip0.t-ipconnect.de[xxxx:xx:xxxx:xxxx:xxxx:xxxx:xxxx] ehlo=2 starttls=1 quit=1 commands=4
May 18 09:17:20 mail postfix/submission/smtpd[615783]: disconnect from p1234567.dip0.t-ipconnect.de[me.ne.i.p] ehlo=2 starttls=1 quit=1 commands=4
May 18 09:17:20 mail postfix/submission/smtpd[615784]: disconnect from p2000xxxxxxxxxxxxxxxxxxxxxx.dip0.t-ipconnect.de[xxxx:xx:xxxx:xxxx:xxxx:xxxx:xxxx] ehlo=2 starttls=1 quit=1 commands=4
May 18 09:17:20 mail postfix/submission/smtpd[615782]: disconnect from p1234567.dip0.t-ipconnect.de[me.ne.i.p] ehlo=2 starttls=1 quit=1 commands=4



Komisch, diese doppelten connects (ipv6 und ipv4).

Fand auch noch diesen Artikel. Könnte also auch gmail mit meiner gmail-Adresse  als Relay benutzen:

https://www.justinsilver.com/technology/osx/send-emails-mac-os-x-postfix-gmail-relay/ <https://www.justinsilver.com/technology/osx/send-emails-mac-os-x-postfix-gmail-relay/>

Schönes Wochenende,

Christoph

> Am 17.05.2024 um 21:26 schrieb Christoph Kukulies via postfix-users <postfix-users at de.postfix.org>:
> 
> Das einzige, was mit tls zu tun hat in der /etc/postfix/main.cf auf der macOS Seite ist:
> 
> tls_random_source = dev:/dev/urandom
> smtpd_tls_ciphers = medium
> 
> 
> 
> 
> 
> 
>> Am 17.05.2024 um 20:00 schrieb Markus Winkler via postfix-users <postfix-users at de.postfix.org <mailto:postfix-users at de.postfix.org>>:
>> 
>> Hi Christoph,
>> 
>> On 17.05.24 17:44, Christoph Kukulies via postfix-users wrote:
>>>     5.7.0 Must issue a STARTTLS command first (in reply to MAIL FROM command)
>> 
>> guck mal, ob Du in der macOS-main.cf etwas wie das hier findest:
>> 
>> smtp_tls_security_level = may
>> 
>> VG
>> Markus
> 

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <https://de.postfix.org/pipermail/postfix-users/attachments/20240518/e3b6362a/attachment-0001.htm>
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : smime.p7s
Dateityp    : application/pkcs7-signature
Dateigröße  : 7491 bytes
Beschreibung: nicht verfügbar
URL         : <https://de.postfix.org/pipermail/postfix-users/attachments/20240518/e3b6362a/attachment-0001.p7s>


Mehr Informationen über die Mailingliste postfix-users