Hi... Is it possible to disable sending mail from the server ? I have no use of it, and have problems with spam-relay. But i still need to be able to recive mail's to my users. But they use they ISP's SMTP to send mail. I have a SUSE 10 perfect setup... thanks for any help
Are you sure the spam is send by one of your users and not a form script? If yes, you can try to change the variable smtpd_recipient_restrictions in your main.cf file to: smtpd_recipient_restrictions = permit_mynetworks,check_relay_domains This will allow email sending only from the network configured in the variable mynetworks. This is normally set to 127.0.0.0/8 which means sending is only allowed from localhost.
Hi. Not. i'm not sure.... Now i have: smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,check_relay_domains It's not spamming at the moment, but I will watch it. I did try http://www.howtoforge.com/forums/showthread.php?t=7766&highlight=postcat But as i wrote it's not working ?
postcat -q /var/spool/postfix/maildrop/A672A6F41BF Is it possible to set authentification for localhost ?
Yes. Comment out the mynetworks line in the main.cf and restart postfix. But I dont think that this is a good idea as this will affect all sytem emails and will most likely break your server.
Ok, then this might be your problem. Please add: mynetworks = 127.0.0.0/8 to your main.cf file and restart postfix.