Srdan Dukic wrote:
The test didn't work. I tried sending a message using the sendmail
command, going to my hotmail address, and the logs show that it did in
fact deliver the message to the server:

Jul  4 17:38:24 mailtest postfix/pickup[9254]: 363ABF6913: uid=1000 from=<srdan>
Jul  4 17:38:24 mailtest postfix/cleanup[9258]: 363ABF6913:
message-id=<20090704053824.363abf6...@mailtest.local>
Jul  4 17:38:24 mailtest postfix/qmgr[9255]: 363ABF6913:
from=<sr...@mailtest.local>, size=389, nrcpt=1 (queue active)
Jul  4 17:38:25 mailtest postfix/smtp[9260]: 363ABF6913:
to=<srdan.du...@hotmail.com>, relay=mx1.hotmail.com[65.55.92.168]:25,
delay=45, delays=43/0/0.8/0.46, dsn=2.0.0, status=sent (250
<20090704053824.363abf6...@mailtest.local> Queued mail for delivery)
Jul  4 17:38:25 mailtest postfix/qmgr[9255]: 363ABF6913: removed


Also, logging in to hotmail I can confirm the message was delivered.

After adding the lines suggested I restarted Postfix using the
'/etc/init.d/postfix restart' command. Are there any other
configuration parameters which could have affected this?

Please don't top-post.

Yes, there are several other configuration parameters that can "break" this. In particular, it's intended to discard mail submitted via SMTP, not sendmail(1).

In particular, defaults for relayhost, transport_maps, and all other smtpd_*_restrictions are required.

Jul  4 18:18:57 mailtest postfix/smtpd[9623]: warning: specify one of
(check_client_access, check_helo_access, check_sender_access,
check_recipient_access, check_etrn_access) before End-of-data
restriction "static:discard"

Sorry, it should be
smtpd_end_of_data_restrictions =
  check_client_access static:discard

  -- Noel Jones

Reply via email to