How to block sending outgoing mail from other domains in from field

2016-01-26 Thread Amit Bondwal
Hi Everyone, In my postfix mail server, users are able to send mail on name of different domains using from field in mail client software. For eg. I am using sendEmail mail client, and I can send emails with hdfc.com domain or other too, sendEmail -v -f "a...@hdfc.com" -s "test.example.in:25"

Adding a noreply address

2016-01-26 Thread Matt Bayliss
I'm trying to find the correct/best practice method for setting up a black hole email address for such items as "noreply" addresses when sending alerts from monitoring devices etc. I have come across a couple of tutorials which has instructions such as:

Re: Adding a noreply address

2016-01-26 Thread Ralph Seichter
On 26.01.2016 16:54, Matt Bayliss wrote: > I'm trying to find the correct/best practice method for setting up a > black hole email address for such items as "noreply" addresses when > sending alerts from monitoring devices etc. While not necessarily "the best" solution, I use this: #

Re: Adding a noreply address

2016-01-26 Thread Wietse Venema
Matt Bayliss: > I'm trying to find the correct/best practice method for setting up a black > hole email address for such items as "noreply" addresses when sending > alerts from monitoring devices etc. With Postfix 3.0 and later: /etc/postfix/main.cf: transport_maps =

Re: Adding a noreply address

2016-01-26 Thread btb
On 2016.01.26 10.54, Matt Bayliss wrote: I'm trying to find the correct/best practice method for setting up a black hole email address for such items as "noreply" addresses when sending alerts from monitoring devices etc. if you intend no mail to be sent to this address anyway, and will just

Re: Adding a noreply address

2016-01-26 Thread Steve Jenkins
On Tue, Jan 26, 2016 at 12:07 PM, btb wrote: > On 2016.01.26 10.54, Matt Bayliss wrote: > >> I'm trying to find the correct/best practice method for setting up a >> black hole email address for such items as "noreply" addresses when >> sending alerts from monitoring devices

Re: Adding a noreply address

2016-01-26 Thread btb
> On Jan 26, 2016, at 15.52, Steve Jenkins wrote: > > On Tue, Jan 26, 2016 at 12:07 PM, btb wrote: > On 2016.01.26 10.54, Matt Bayliss wrote: > I'm trying to find the correct/best practice method for setting up a > black hole email address for such

Re: Adding a noreply address

2016-01-26 Thread LuKreme
On Jan 26, 2016, at 09:22, Wietse Venema wrote: > transport_maps = inline:{u...@example.com=discard:} O, that is nifty! -- Suck it, Firefox!