Hi everyone.

In my main.cf i got this line :

authorized_submit_users = !apache, static:anyone

This line restrict apache from sending mail via the sendmail way. Since most users use the mail() statement in php, which uses sendmail to sent mails, its the preffered way.

My goal is, to restrict those people on the server, who haven't set a proper From: header. The mail is then send with a sender address of (in postfix terms ;) ) [EMAIL PROTECTED] I want to reject those users, and i believed to have the answer with the above line in main.cf. But even with a proper From: header which is not apache@<somedomain>, the message is still rejected.
Is there a way to get this right.


Regards,

Gerrit.

Reply via email to