Muzammel Asghar wrote:

>Yes i understand this logic, but problem is each domain has its own 
>specific senders headers , so its difficult to update each domains 
>scripts , as this option only successful if only one sender address 
>need to be setup. but in my case, senders header is not fixed, 
>depend upon each domain, like below
>
><mailto:[email protected]>[email protected]
><mailto:[email protected]>[email protected]
><mailto:[email protected]>[email protected]
>
>I want to allow if only sender headers are related to my domains 
>then allow, other wise reject like 
><mailto:[email protected]>[email protected] etc, but problem is most of 
>domains mail scripts not using -f option and mails headers are come 
>to postfix by <mailto:[email protected]>[email protected]. I just 
>simply want that real above domians from headers will come instead 
>of any single default header like apa...@* , so it will resolve my 
>issue.

Firstly, please turn off the HTML in your email, this time I'm not 
going through the quoted bit cleaning up the rubbish.

What has been suggested will do exactly what you seem to be asking 
for. It will change the envelope header to be something specific to 
the site instead of [email protected]. It really does work - try 
it and you'll see.

What is in the message body headers is irrelevant, it is not used in 
this context.

You seem to be having trouble understanding the difference.
An email consists of two distinct parts - the envelope, and the body. 
Using the snail mail analogy, the envelope is like a paper envelope 
and the address on it is used for delivering the mail - or returning 
it if not deliverable. The message body (which includes it's own 
"To:", "From:" etc) is like the bit of paper inside the envelope. You 
can put anything in the to and from addresses and the message will 
still be delivered using the envelope address.

To see this in action, try using the BCC function. The BCC recipient 
will get a copy of the message, but their address does not appear in 
the message body. That's just like taking a letter you've written to 
someone, printing an extra copy and sticking it in an envelope 
addressed to someone else.


The problem you seem to have is that while some script is (possibly) 
correctly writing the unused addresses on the bit of paper, it is not 
putting a sensible return address on the envelope.

The setting that's been suggested will fix that - is will make any 
mail sent by that Apache host automatically have the configured 
address as on the envelope.
-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to