On Samstag, 13. Januar 2007 23:22 Peter J. Holzer wrote:
> On 2007-01-13 22:48:11 +0100, Joe Knall wrote:
> > On Sat, 2007-01-13 Hanno Hecker wrote:
> > > Deny or accept this single recipient and all is fine.
> >
> > Sorry that's wrong
>
> [...]
>
> > client:
> > [EMAIL PROTECTED]:~ $ echo test | mail -r [EMAIL PROTECTED] -s test41
> > [EMAIL PROTECTED],[EMAIL PROTECTED]
> > [EMAIL PROTECTED]:~ $ smtp-server: 550 relaying denied
> > "/home/joe/dead.letter" 11/325
> > . . . message not sent.
> >
> > server (shortened):
> > 31437 dispatching MAIL FROM: <[EMAIL PROTECTED]>
> > 31437 full from_parameter: FROM: <[EMAIL PROTECTED]>
> > 31437 from email address : [<[EMAIL PROTECTED]>]
> > 31437 getting mail from <[EMAIL PROTECTED]>
> > 31437 250 <[EMAIL PROTECTED]>, sender OK - how exciting to get
> > mail from you!
> > 31437 dispatching RCPT TO: <[EMAIL PROTECTED]>
> > 31437 to email address : [<[EMAIL PROTECTED]>]
> > 31437 running plugin (rcpt): TestPlugin
> > 31437 TestPlugin plugin: denyRecipient [EMAIL PROTECTED]
> > 31437 Plugin TestPlugin, hook rcpt returned DENY,
> > 31437 550 relaying denied
> > 31437 running plugin (post-connection): TestPlugin
> > 31437 Plugin TestPlugin, hook post-connection returned DONE,
> > 31292 cleaning up after 31437
> >
> > in this case (good-rcpt is alphabetically after bad-rcpt) good-rcpt
> > is not checked by hook_rcpt at all,
>
> Yes, because the client never sends a RCPT
> TO:<[EMAIL PROTECTED]>. (BTW, your client isn't
> standard-conforming anyway: The space between ":" and "<" isn't
> allowed)
>
> > instead the complete transaction is
> > dropped, no queue.
>
> Yes, if the client drops the connection, there is little that the
> server can do about it. Your client is severely broken. Replace it.
>
> > With other names (bad alphabetically after good) good is checked,
> > get's a OK, then bad fails, cleanup, no queue.
> >
> > Is it a bug or am I missing something?
>
> It seems to be a bug in your mail client (probably your local MTA,
> since mail doesn't normally deliver by SMTP. What kind of system is
> this, which MTA are you using and what do the logs of the MTA say?
>
>       hp

nail 11.25 7/29/05 on gentoo 2006.1
after exporting smtp=mail.example.com:2525 it delivers via smtp
sorry, no logs
Yes, it's differnt from when fetchmail sends mail (The space between ":" 
and "<"). Gonna test ssmtp tomorrow.
Joe

Reply via email to