On 5/4/05, Oskar Lindgren <[EMAIL PROTECTED]> wrote: > Why would i do that? Notthing is wrong with it, it works perfect. > > Matt Salerno wrote: > > >On 5/4/05, Oskar Lindgren <[EMAIL PROTECTED]> wrote: > > > > > >>Hi, > >> > >>I'm using postfix and dbmail 2, I am trying to make postfix reject mails > >>incoming to [EMAIL PROTECTED] since the mailaddress does NOT exist. If I > >>send a mail to the server from a remote computer using SMTP, it works > >>and he whines. But not internal, i send my mail using(on the same box > >>iam runing postfix and dbmail, so localhost is opengl.se): > >> > >>echo hi|mail -s test [EMAIL PROTECTED] > >> > >>I can clearly see that postfix hands the mail over to dbmail, which he > >>shouldnt. It(postfix) says this when it should send a > >>the-mailaddress-does-not-exist-mail back: > >> > >>May 4 19:38:42 server postfix/pipe[39383]: 2693A60DC: > >>to=<[EMAIL PROTECTED]>, relay=dbmail, delay=9065, status=deferred > >>(temporary failure) > >> > >>/ Oskar > >>_______________________________________________ > >>Dbmail mailing list > >>[email protected] > >>https://mailman.fastxs.nl/mailman/listinfo/dbmail > >> > >> > >> > > > > > >I am no expert, but you would probably want to check the > >smtpd_recipient_restrictions in your postfix configuration. > >_______________________________________________ > >Dbmail mailing list > >[email protected] > >https://mailman.fastxs.nl/mailman/listinfo/dbmail > > > > > > > > > > _______________________________________________ > Dbmail mailing list > [email protected] > https://mailman.fastxs.nl/mailman/listinfo/dbmail >
Because it's postfix that rejects the mail based on a lookup on DBMail. >From what I understand: If I were on a remote network and sent mail to [EMAIL PROTECTED], your mail server would immediately tell me something along the lines of "The message could not be sent because one of the recipients was rejected by the server." But if my IP was listed in your mynetworks (in the postfix config), postfix would accept the mail and eventually I would get an e-mail from the postmaster telling me that the e-mail address does not exist. What I am saying is that if that is the case, then it probably has to do with with your postfix configuration, since DBMail does not care if you are listed in the mynetworks or not.
