SMPT Problem 501

Hello Professionals,

I have some problems to send mails. Please see the followed mail.info log. I hope that can somebody identify the problem and give me a detail solution for this problem because I’m a novice. Thx in advanced!:

Aug 24 15:07:34 mail fetchmail[1906]: 1 Nachricht für info@meineMail.de bei Pop3.strato.de (1741 Bytes).
Aug 24 15:07:34 mail postfix/smtpd[23208]: connect from localhost[127.0.0.1]
Aug 24 15:07:34 mail postfix/smtpd[23208]: warning: Illegal address syntax from localhost[127.0.0.1] in MAIL command: <info@-swmacontact.de>
Aug 24 15:07:34 mail fetchmail[1906]: Nachricht info@meineMail.de@Pop3.strato.de:1 von 1 wird gelesen (1741 Bytes) (Log-Meldung unvollständig)
Aug 24 15:07:34 mail fetchmail[1906]: SMTP-Fehler: 501 5.1.7 Bad sender address syntax
Aug 24 15:07:34 mail postfix/smtpd[23211]: connect from localhost[127.0.0.1]
Aug 24 15:07:34 mail postfix/smtpd[23211]: warning: Illegal address syntax from localhost[127.0.0.1] in RCPT command: <info@-swmacontact.de>
Aug 24 15:07:34 mail postfix/smtpd[23211]: disconnect from localhost[127.0.0.1] helo=1 mail=1 rcpt=0/1 quit=1 commands=3/4
Aug 24 15:07:34 mail fetchmail[1906]:  nicht gelöscht
Aug 24 15:07:34 mail postfix/smtpd[23208]: disconnect from localhost[127.0.0.1] ehlo=1 mail=0/1 rset=1 quit=1 commands=3/4

I did try to fix one problem by deleting the wrong mail adress but not succesfull:

root@mail:~# postqueue -p
Mail queue is empty
root@mail:~# postsuper -d info@-swmacontact.de
postsuper: warning: invalid mail queue id: info@-swmacontact.de

But then I see the additional problem why I cant send mails with fetchmail SMTP error 501.

Hi I think your domain is invalid
a domain must not start with special character like your’s with a dash -

see

rg
christian

Thx externa for the hint! Yes, the domain in this mail is worng thats the reason why I want to delete this mail but I couldnt find this mail in the Queue :frowning:

Right now I found the problem. There was Maybe a spam mail which should be delivered to my account with this wrong domain (-swmacontact.de). I did solve this by connecting the Mail Client (e.g. Windows Mail) directly to strato and the mail was delivered and I could delete this directly. Now I have another error report. The mails will not be delivered because Strato does refuse the Connection, but there wasnt any change on the configuration. Hopefully somebody can help me with this problem. Please see the mail.log:

Aug 26 19:37:14 mail postfix/qmgr[1721]: 72930FFB9C: from=info@meineMail.de, size=6000, nrcpt=1 (queue active)
Aug 26 19:37:14 mail postfix/smtp[11915]: connect to smtp.strato.de[81.169.145.133]:25: Connection refused
Aug 26 19:37:14 mail postfix/smtp[11915]: 72930FFB9C: to=meine@arcor.de, relay=none, delay=4696, delays=4696/0.13/0.12/0, dsn=4.4.1, status=deferred (connect to smtp.strato.de[81.169.145.133]:25: Connection refused)