On 18.10.17 21:07, Luis Miguel Flores dos Santos wrote:
Hi, I have a postfix using as a mail proxy. In our environment, I use
transport_maps(memcache).
I create in memcache a wildcard * with status bounce 500 No such user here.
eh? why?
When the MTA(exchange) bounce the message it returns to the same postfix
and it checks if the recipient exists, but it's a bounce message and the
sender sometimes doesn't exist inside the environment.
this problem happens often, when you accept a mail while you don't know if
you can verify it.
you probably need to set up recipient verification so you don't accept mail
for unknown recipients. look at
http://www.postfix.org/ADDRESS_VERIFICATION_README.html
Oct 18 17:30:07 SERVER01 postfix/smtp[43114]: 39B2E3E845:
to=<mig...@mydomain.com>, relay=EXCHANGE[111.111.111.111]:2525,
delay=1257, delays=1257/0.01/0.01/0, dsn=5.3.4, status=bounced (message
size 44864113 exceeds size limit 36700160 of server
EXCHANGE[111.111.111.111]
This is rejected because of message size, not unknown user. You should
configure the same message_size_limit as your exchange server has.
[root@SERVER01 ~]# cat /var/log/maillog | grep 5F5013E85A
Oct 18 17:30:07 SERVER01 postfix/cleanup[41577]: 5F5013E85A:
message-id=<20171018193007.5f5013e...@server01.spo2.umbler.com>
Oct 18 17:30:07 SERVER01 postfix/bounce[43115]: 39B2E3E845: sender non-delivery
notification: 5F5013E85A
Oct 18 17:30:07 SERVER01 postfix/qmgr[35700]: 5F5013E85A: from=<>, size=7622,
nrcpt=1 (queue active)
Oct 18 17:30:07 SERVER01 postfix/error[43116]: 5F5013E85A:
to=<miguel_flores_san...@hotmail.com>, relay=none, delay=0.03,
delays=0/0.02/0/0, dsn=5.0.0, status=bounced (No Such User Here)
Oct 18 17:30:07 SERVER01 postfix/qmgr[35700]: 5F5013E85A: removed
Existe a way to postfix use another transport method to send bounce messages? or I can do
it only with "before queue"?
in the "before queue" case you don't need to solve anything - the message is
not accepted, so the bounce generation is not up to you.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Quantum mechanics: The dreams stuff is made of.