RedShift wrote: > Karanbir Singh wrote: > > Whats the 'robust' way to make sure email to a specific destination > > is only accepted if it came over the localhost:25 or > > /usr/sbin/sendmail route ? anything else should get a 5xx error. > > Emails to other destinations should remain unaffected. > > > > Using postfix/c4. Had a look around, and header_checks might be one > > way to go. > > > > The easiest way is probably to edit master.cf and make smtpd only > listen on localhost:25. Ummm. The question was "how to *identify* mails coming from localhost", not "restrict everything to localhost". > Otherwise us an access table. I'd be curious how you would do that. Ralph -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20090729/dc98b305/attachment-0005.sig>