From: jason hirsh on
I am apparently having an issue with some servers whose mail is being
rejected because of

reject_unknown_hostname

the reject was shown here

Aug 11 00:21:36 xxxxxxx postfix/smtpd[96422]: NOQUEUE: reject: RCPT
from mail01a.yesbank.com[65.196.66.182]: 450 4.7.1
<MTL01PPSMTP1.YESBANK.COM>: Helo command rejected: Host not found;
from=<pbonamas(a)yesbank.com> to=<diane(a)witheld.com> proto=ESMTP
helo=<MTL01PPSMTP1.YESBANK.COM>
Aug 11 00:21:36 batfish postfix/smtpd[96422]: generic_checks:
name=reject_unknown_hostname status=2
Aug 11 00:21:36 xxxx postfix/smtpd[96422]: >
mail01a.yesbank.com[65.196.66.182]: 450 4.7.1
<MTL01PPSMTP1.YESBANK.COM>: Helo command rejected: Host not found
Aug 11 00:21:36 xxxx postfix/smtpd[96422]: <
mail01a.yesbank.com[65.196.66.182]: DATA
Aug 11 00:21:36 xxxx postfix/smtpd[96422]: >
mail01a.yesbank.com[65.196.66.182]: 554 5.5.1 Error: no valid recipients
Aug 11 00:21:36 xxxx postfix/smtpd[96422]: <
mail01a.yesbank.com[65.196.66.182]: RSET



but no reject message went out... Is there a way I can esnure an
error message goes out to the sender???

it would also be nice if could cc my postmaster account when rejects
occur
From: Jeroen Geilman on
On 08/13/2010 07:05 PM, jason hirsh wrote:
> I am apparently having an issue with some servers whose mail is being
> rejected because of
>
> reject_unknown_hostname
>
> the reject was shown here
>
> Aug 11 00:21:36 xxxxxxx

batfish ?

> postfix/smtpd[96422]: NOQUEUE: reject: RCPT from
> mail01a.yesbank.com[65.196.66.182]: 450 4.7.1
> <MTL01PPSMTP1.YESBANK.COM>: Helo command rejected: Host not found;
> from=<pbonamas(a)yesbank.com <mailto:pbonamas(a)yesbank.com>>
> to=<diane(a)witheld.com <mailto:diane(a)witheld.com>> proto=ESMTP
> helo=<MTL01PPSMTP1.YESBANK.COM>
> Aug 11 00:21:36 batfish postfix/smtpd[96422]: generic_checks:
> name=reject_unknown_hostname status=2

Debug logging. Don't.

> Aug 11 00:21:36 xxxx postfix/smtpd[96422]: >
> mail01a.yesbank.com[65.196.66.182]: 450 4.7.1
> <MTL01PPSMTP1.YESBANK.COM>: Helo command rejected: Host not found

Duplicated, because of debug logging. Don't.

> Aug 11 00:21:36 xxxx postfix/smtpd[96422]: <
> mail01a.yesbank.com[65.196.66.182]: DATA

Useless.

> Aug 11 00:21:36 xxxx postfix/smtpd[96422]: >
> mail01a.yesbank.com[65.196.66.182]: 554 5.5.1 Error: no valid recipients

Odd.

> Aug 11 00:21:36 xxxx postfix/smtpd[96422]: <
> mail01a.yesbank.com[65.196.66.182]: RSET

Uselesser.

>
>
>
> but no reject message went out...

A whut ?

> Is there a way I can esnure an error message goes out to the sender???

If postfix rejects a message ?
That would be the job of the sending MTA.

>
> it would also be nice if could cc my postmaster account when rejects occur

You really don't want to do that.

J.

From: jason hirsh on

On Aug 13, 2010, at 1:22 PM, Jeroen Geilman wrote:

> On 08/13/2010 07:05 PM, jason hirsh wrote:
>>
>> I am apparently having an issue with some servers whose mail is
>> being rejected because of
>>
>> reject_unknown_hostname
>>
>>
>> the reject was shown here
>>
>>
>> Aug 11 00:21:36 xxxxxxx
>
> batfish ?

i was trying to remove my server name for email
>
>> postfix/smtpd[96422]: NOQUEUE: reject: RCPT from
>> mail01a.yesbank.com[65.196.66.182]: 450 4.7.1
>> <MTL01PPSMTP1.YESBANK.COM>: Helo command rejected: Host not found;
>> from=<pbonamas(a)yesbank.com> to=<diane(a)witheld.com> proto=ESMTP
>> helo=<MTL01PPSMTP1.YESBANK.COM>
>>
>> Aug 11 00:21:36 batfish postfix/smtpd[96422]: generic_checks:
>> name=reject_unknown_hostname status=2
>>
>
> Debug logging. Don't.


I am debugging
>
>> Aug 11 00:21:36 xxxx postfix/smtpd[96422]: >
>> mail01a.yesbank.com[65.196.66.182]: 450 4.7.1
>> <MTL01PPSMTP1.YESBANK.COM>: Helo command rejected: Host not found
>>
>
> Duplicated, because of debug logging. Don't.
>


when I stop debugging I won't this is the third instance of I have
had of "lost mail" and teh first that I had the address so I can
chase it down

>> Aug 11 00:21:36 xxxx postfix/smtpd[96422]: <
>> mail01a.yesbank.com[65.196.66.182]: DATA
>>
>
> Useless.
>
>> Aug 11 00:21:36 xxxx postfix/smtpd[96422]: >
>> mail01a.yesbank.com[65.196.66.182]: 554 5.5.1 Error: no valid
>> recipients
>>
>
> Odd.
>
>> Aug 11 00:21:36 xxxx postfix/smtpd[96422]: <
>> mail01a.yesbank.com[65.196.66.182]: RSET
>>
>
> Uselesser.
>
>>
>>
>>
>>
>>
>>
>> but no reject message went out...
>
> A whut ?
>
>> Is there a way I can esnure an error message goes out to the
>> sender???
>
> If postfix rejects a message ?
> That would be the job of the sending MTA.


The sender said to my client that he sent the message .. he was
unaware it was rejected
I would like to reject it back to the sender so he knows..


>
>>
>>
>> it would also be nice if could cc my postmaster account when
>> rejects occur
>
> You really don't want to do that.

if I can't notify senders of rejects it sure beats searching logs for
rejects
>
> J.
>

From: Larry Stone on
On Fri, 13 Aug 2010, jason hirsh wrote:

> when I stop debugging I won't this is the third instance of I have had of
> "lost mail" and teh first that I had the address so I can chase it down

You didn't lose any mail. The upstream server did. You can't fix other
server's problems and until you accept the mail (you didn't), it's not
yours to lose.

> The sender said to my client that he sent the message .. he was unaware it
> was rejected
> I would like to reject it back to the sender so he knows..

You did reject it. Notification is the job of the last MTA to accept the
message. A rejecting MTA cannot provide any notification back to the
sender without it being at serious risk of being a backscatter source.

That the upstream MTA failed to properly notify the sender is not, let me
make that clear, IS NOT your problem to solve. If the sender is
complaining to you, you need to tell him or her that your system rejected
the message (which is your right) and that failure to notify him or her of
the rejection is a failure by a server not under your control. He needs to
complain to his provider as to why the upstream server (most likely the
one he is sending via or if not, very near it) is not properly notifying
him.

> if I can't notify senders of rejects it sure beats searching logs for rejects

Are you new to this? Because given the level of spam and other crud on the
Internet, with any kind of anti-spam/anti-virus controls in place, you
should be (or soon will be) rejecting hundreds if not thousands of
messages per day.

-- Larry Stone
lstone19(a)stonejongleux.com

From: Wietse Venema on
jason hirsh:
> I am apparently having an issue with some servers whose mail is being
> rejected because of
>
> reject_unknown_hostname
>
> the reject was shown here
>
> Aug 11 00:21:36 xxxxxxx postfix/smtpd[96422]: NOQUEUE: reject: RCPT
> from mail01a.yesbank.com[65.196.66.182]: 450 4.7.1
> <MTL01PPSMTP1.YESBANK.COM>: Helo command rejected: Host not found;
> from=<pbonamas(a)yesbank.com> to=<diane(a)witheld.com> proto=ESMTP
....
> but no reject message went out... Is there a way I can esnure an
> error message goes out to the sender???

No reject message is sent out because your server answers with SMTP
reply code 450. This corresponds with a "Try Again" class error.
The SENDING MTA will give up after trying for several days. Only then
will the sending MTA inform sender that the message is undeliverable,

The 450 reply code means that the hostname lookup failed because
Postfix received no reply when it looked up the client hostname,
or when it tried to verify that the name really resolves to the
client IP address.

Wietse