[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Postfix setup



Chris Johnson wrote:



Did all that and knmail mail client on the server set up to smtp to 25 on
192.168.100.168 (server ip) still comes back with an "unable to contact
server" error so it seems either SMTP isn't working on server (maybe postfix
config issue) or is blocked or not working (other linux issue).


What is in your /etc/postfix/access ?
It's basically simple text file something like:

192.168.100.0/24 OK
127.0.0.0/8 OK

Obviously set network mask as it suits your security concerns.
Then type *
postmap /etc/postfix/access
to create hash.
*Other smtpd related settings from my main.cf ( just in case :)) :
smtpd_recipient_restrictions = permit_mynetworks, check_relay_domains
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions = check_client_access hash:/etc/postfix/access, reject_unauth_pipelining
Best regards,
Denis.

___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

GNU the choice of a complete generation.