Linux wrote:
Rony wrote:
Hello Devdas and Balwinder,
Since morning I've been going through the docs and studying various points and installed postfix. There are some minor irritants that I need to get rid of.
The system will be set in an office that runs its computers in a workgroup and has no domain. The company has its own website with pop/smtp access but the sending of mails will be done through the local postfix server that will be setup in the office to prevent users from posting anything to their friends and send mails only to approved email addresses.
I am planning to use postfix as an smtp relay server with the relay host being the company's remote smtp server. Before deploying it on the office machine, I have set it up in my netbook as it has 2 network devices. I am confused about the myorigin and mydomain parameters as the netbook ( and the final server ) does not use any domain and it simply has a hostname. The error logs show problems associated with bad domain and related entries. The examples on the net are mostly domain related so what entries do I use for a simple server machine with no domain that will push mails to another smtp server using smtp_auth? I have even setup the smtp auth settings along with the smtp password file. However bad naming is coming in the way.
Another problem is that I even installed Milter_AddressControl but since I use lenny, the libraries it requires are older (lib...so.0) than the one lenny installs (lib...so.1) with libmilter-dev and libmilter1.0. There is no updated package for Milter_AccessControl.
Please try compiling it with new libraries. It is simple and instructions are in README file. In README follow other than debian install part. Meanwhile I will also try to compile and upload package for lenny.
I also have a query for the /etc/AccessControl/control file.
It is /etc/AddressControl/control
If AccessControl is working, will all mails be made to pass through the control rules before being allowed or rejected? At present I assume they will and am setting only allowed emails in the list using 'Email_id REJECT_NO' lines. This should automatically imply that mails sent to other addresses will be blocked. Am I on the right track?
All mails will pass through milter. Your /etc/AddressControl/control file may look like as following
known_emailid@knowndomain.com REJECT_NO
- REJECT_ALL
For other problem, I think you will need a machine with valid name, which should have forward and reverse DNS entries.
Please download updated package for lenny from http://www.trustedmachines.com/Milter_AddressControl-1.0.1_lenny.tar.gz?attr...
Thanks And Regards Balwinder Singh