Hi, i installed my system with the following howto: http://www.howtoforge.com/the-perfect-spamsnake-ubuntu-8.04-p5 i have some exchange servers behind the Postfix mailgateway and i told the exchange to sender over the postfix. incoming is working, example.com is routed from postfix to the exchange if i want to send the mails out, i receive the following error from postfix: 450 4.1.8 (mail addrss): Sender addresse rejected: Domain not found So What? My Network in main.cf is 192.168.100.0/24 and exchange server has .20 on relay host i have .20 entered in the main.cf what's the problen here?
The domain you are sending from is not being resolved by postfix that is the problem, fix that by adding resolution for that name.
where should i do that? imcoming on this domain is no problem, but where should i configure the domain for outgoing permission ?
Is the domain outbound the same as the domain inbound ? can you provide the error log indicating the actual error.
this is the full error: Jan 13 14:51:03 mx01 postfix/smtpd[9716]: connect from unknown[x.x.x.x] Jan 13 14:51:04 mx01 postfix/smtpd[9716]: NOQUEUE: reject: RCPT from unknown[x.x.x.x]: 450 4.1.8 <[email protected]>: Sender address rejected: Domain not found; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<cas.xxx.com> Jan 13 14:51:04 mx01 postfix/smtpd[9716]: disconnect from unknown[x.x.x.x]
Code: smtpd_sender_restrictions = reject_non_fqdn_sender, reject_unknown_sender_domain The issue is being cause by http://www.postfix.org/postconf.5.html#reject_unknown_sender_domain Can you check that your postfix server is capable of resolving the MX or A records for x.net
i checked it using nslookup to resolve the mx record for the domain. i received valid mx records for the domain.
i'll remove the reject_unknown_sender_domain, than it works... i have another question to you. i wanted to test spamassissin and made a freemail address and sent a mail with viagra and all that bad words. all testmails was check (regarding mail.log) and delivered to the test address, without adding subject *SPAM*... Is there an other way to test, if spamassissin is working?
I used http://spamassassin.apache.org/gtube/gtube.txt and removed the string to test it. i got a score of 4.205. i added words like viagra, f*** and... but the score is the same....
Did you update your rules, have u also checked that bayes or some other rule is not subtracting scores ?