This is a discussion on Re: delivery problem with empty recipient within the mailing.postfix.users forums, part of the Mail Servers and Related category; On Mon, Jan 31, 2005 at 09:44:27AM +0100, Konrad Mauz wrote: > Hi, > > i have a ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Mon, Jan 31, 2005 at 09:44:27AM +0100, Konrad Mauz wrote:
> Hi, > > i have a delivery problem with postfix since it is delivering mails with > empty recipient to the user root. I want postfix to reject mails to > ""@localhost and @localhost with a "user unknown " or something similar. > Why is postfix willing to deliver mails to ""@localhost? > How can i change this? > > On another host sendmail has a different way to handle empty recipients: > > Connected to localhost. > Escape character is '^]'. > 220 mailhost-a.fh-konstanz.de ESMTP > ehlo localhost > 250-mailhost-a.fh-konstanz.de Hello localhost [127.0.0.1], pleased to meet > you > 250-PIPELINING > 250-8BITMIME > 250-SIZE 44418873 > 250 HELP > mail from:<> > 250 2.1.0 <>... Sender ok > rcpt to:<@localhost> > 553 5.1.3 <@localhost>... User address required > rcpt to:<""@localhost> > 553 5.1.3 <""@localhost>... User address required > rcpt to:<" "@localhost> > 550 5.1.1 <" "@localhost>... User unknown > quit > I checked the way exim reacts on empty localparts, same way then sendmail does. I found a thread on a german suse mailinglist about the same problem. Somebody said, that postfix is rfc compliant when it receives messages to a recipient with empty or "" localpart. If this is the case, how can a set up an alias or whatever map entry? It does not work, cause aliases and other maps do not allow an empty left side. And a left side "" also does not match ( tested with aliases ). So any ideas how to reject such mails? With kind regards, Konrad -- Konrad Mauz Rechenzentrum Fachhochschule Braunegger-Strasse 55, D 78462 Konstanz e-mail: kmauz@fh-konstanz.de Tel.: +49(0)7531-206-472 |