Our qmail box always received a tone of email to invalidaccount@myhost
everyday.
Therefor, I put all sender address to badmailfrom file and put it at
/var/qmail/control.
BUT, our qmail box still received all email from an address registered
at badmailfrom.
How to check that badmailfrom working fine ?
Also, should qmail to be restarted after badmailfrom added ?
Here is somelines of our badmailfrom
13...@6083.diagramofdimensions.com
14...@4429.taxmoneysavers.com
15348...@diamondreaders.com
15348...@listmx.com
18687...@b2bpost.com
18687...@listmx.com
19...@6541.ihopemybrothergetsthis.com
20...@8655.bigtaxrefunds.net
20...@3956.anditcompundsthefact.com
22...@4546.howdoyoumakesomeoneloveyou.com
22...@9353.clickyclickyclickyclick.com
23116...@listmx.com
24...@6939.doyourtaxesnow.com
25039...@listmx.com
25...@3498.anditcompundsthefact.com
27...@7643.wheniwakeupiwanttokissyou.com
28...@2554.ihatewhereiwoundup.com
...
And my qmail-showctl shows:
# /var/qmail/bin/qmail-showctl|more
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 701, 702, 703, 0, 704, 801, 802, 803.
group ids: 700, 800.
badhelo: (Default.) Any HELO/EHLO greeting is allowed.
badmailfrom:
13...@6083.diagramofdimensions.com not accepted in MAIL FROM.
14...@4429.taxmoneysavers.com not accepted in MAIL FROM.
15348...@diamondreaders.com not accepted in MAIL FROM.
15348...@listmx.com not accepted in MAIL FROM.
18687...@b2bpost.com not accepted in MAIL FROM.
18687...@listmx.com not accepted in MAIL FROM.
19...@6541.ihopemybrothergetsthis.com not accepted in MAIL FROM.
20...@8655.bigtaxrefunds.net not accepted in MAIL FROM.
20...@3956.anditcompundsthefact.com not accepted in MAIL FROM.
22...@4546.howdoyoumakesomeoneloveyou.com not accepted in MAIL FROM.
22...@9353.clickyclickyclickyclick.com not accepted in MAIL FROM.
23116...@listmx.com not accepted in MAIL FROM.
24...@6939.doyourtaxesnow.com not accepted in MAIL FROM.
25039...@listmx.com not accepted in MAIL FROM.
25...@3498.anditcompundsthefact.com not accepted in MAIL FROM.
27...@7643.wheniwakeupiwanttokissyou.com not accepted in MAIL FROM.
28...@2554.ihatewhereiwoundup.com not accepted in MAIL FROM.
...
Regards
PD
Are those email addresses taken from the "mail from" or from the header's
"from" line?
You'll have to use those addresses from the "mail from".
You could try sending a mail manually to your qmail box and to enter one of
the blocked addresses in the "mail from:" -> qmail should answer with some
error message (at least befor the data command).
The changes will be used immediately with next smtp connection.
Best regards
Thomas.