Suddenly Seeing Clamav Errors After MailScanner Update
I am working on a FBSD 9.1-STABLE mail machine that's been working fine. After upgrading to MailScanner 4.84.5_3, we are now suddenly seeing like this: Clamd::ERROR:: UNKNOWN CLAMD RETURN ./lstat() failed: Permission denied. ERROR :: /var/spool/MailScanner/incoming/68340 Any ideas what might cause this? I have fallen back to the previous MailScanner.conf file wherein the problem does NOT seem to happen. But, after diffing old and new config files I cannot see where anything relevant to this might have changed. Ideas anyone? -- --- Tim Daneliuk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Suddenly Seeing Clamav Errors After MailScanner Update
Hi Tim, Double check what user clamd is run as, and what permissions your mail spool have. Somewhere along the line your mail spool locked out clamd The lstat system call's man page says `execute (search) permission is required on all of the directories in path that lead to the file.` Also, don't just go chmoding -R 777! On Mon, Jun 10, 2013 at 12:03:51PM -0500, Tim Daneliuk wrote: I am working on a FBSD 9.1-STABLE mail machine that's been working fine. After upgrading to MailScanner 4.84.5_3, we are now suddenly seeing like this: Clamd::ERROR:: UNKNOWN CLAMD RETURN ./lstat() failed: Permission denied. ERROR :: /var/spool/MailScanner/incoming/68340 Any ideas what might cause this? I have fallen back to the previous MailScanner.conf file wherein the problem does NOT seem to happen. But, after diffing old and new config files I cannot see where anything relevant to this might have changed. Ideas anyone? -- --- Tim Daneliuk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Perl Upgrade And Mailscanner Woes
Almost every time there is a perl upgrade, it manages to break Mailscanner even after running perl-after-upgrade. The solution ends up being a reinstall of Mailscanner, but this is a real pain, because you have to delete and reinstall every dependent perl package used by Mailscanner. Does anyone have a better way? -- --- Tim Daneliuk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Perl Upgrade And Mailscanner Woes
On 12/21/2011 03:59 PM, Tim Daneliuk wrote: Almost every time there is a perl upgrade, it manages to break Mailscanner even after running perl-after-upgrade. The solution ends up being a reinstall of Mailscanner, but this is a real pain, because you have to delete and reinstall every dependent perl package used by Mailscanner. Does anyone have a better way? Hi After a major perl upgrade? portmaster -r perl- portmaster p5- portupgrade -fr perl Disclaimer: http://www.ose.nl/email ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Perl Upgrade And Mailscanner Woes
On 21/12/2011 14:59, Tim Daneliuk wrote: Almost every time there is a perl upgrade, it manages to break Mailscanner even after running perl-after-upgrade. The solution ends up being a reinstall of Mailscanner, but this is a real pain, because you have to delete and reinstall every dependent perl package used by Mailscanner. Something is going wrong with your upgrade process. If you're doing a minor version upgrade of perl (eg. from 5.x.y to 5.x.y+1), then almost all perl modules (including XS) only need to be moved into the new ${LOCALBASE}/lib/perl5/site-perl/5.x.y+1 directory tree, which is basically what perl-after-upgrade does. A few packages which embed a perl interpreter would need recompiling, but you could count those on the fingers of one hand. Are you sure you are using perl-after-upgrade correctly? You do understand that just running: # perl-after-upgrade doesn't actually modify anything on disk: instead it shows you what needs to be done. To actually effect the change you need to run: # perl-after-upgrade -f Then rebuild and reinstall any packages it says need rebuilding. If it has worked properly then almost all of the contents of ${LOCALBASE}/lib/perl5/site-perl/5.x.y will be gone, and that whole directory tree should be able to be deleted without consequence. Of course if your update is from perl 5.x.y to 5.x+1.z then you really do need to recompile and reinstall all perl modules and anything else that depends on perl. perl-after-upgrade is not effective in this case. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Perl Upgrade And Mailscanner Woes
On 12/21/2011 09:28 AM, Matthew Seaman wrote: On 21/12/2011 14:59, Tim Daneliuk wrote: Almost every time there is a perl upgrade, it manages to break Mailscanner even after running perl-after-upgrade. The solution ends up being a reinstall of Mailscanner, but this is a real pain, because you have to delete and reinstall every dependent perl package used by Mailscanner. Something is going wrong with your upgrade process. If you're doing a minor version upgrade of perl (eg. from 5.x.y to 5.x.y+1), then almost all perl modules (including XS) only need to be moved into the new ${LOCALBASE}/lib/perl5/site-perl/5.x.y+1 directory tree, which is basically what perl-after-upgrade does. A few packages which embed a perl interpreter would need recompiling, but you could count those on the fingers of one hand. Are you sure you are using perl-after-upgrade correctly? You do understand that just running: # perl-after-upgrade doesn't actually modify anything on disk: instead it shows you what needs to be done. To actually effect the change you need to run: # perl-after-upgrade -f Aha! And the lights go on ... Nevermind. Slinks away in shame ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Perl Upgrade And Mailscanner Woes
Tim Daneliuk writes: Are you sure you are using perl-after-upgrade correctly? You do understand that just running: # perl-after-upgrade doesn't actually modify anything on disk: instead it shows you what needs to be done. To actually effect the change you need to run: # perl-after-upgrade -f Aha! And the lights go on ... Nevermind. No, not nevermind. While this seems like upgrading for dummies, there are enough of them out there waves this _really_ needs to go in the upgrade message. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: MailScanner sendmail
At 03:15 PM 4/15/2009, Bob Willcox wrote: I asked this question in freebsd-ports (in a different way as I thought maybe I could clarify the situation some by rewording it) the other day and didn't receive any reply so I thought I try here this time. I have a 7.2-prelease system that I am trying to get sendmail and MailScanner running on and for some reason sendmail isn't listening on *.smtp, though it is listening on localhost.smtp. If I remove MailScanner from the mix and run sendmail in the conventional way (with sendmail_enable=YES specified in /etc/rc.conf) then things work as expected (except no MailScanner, of course). I currently have a running 6.4-stable system that this new 7.2 system is scheduled to replace that is using the same MailScanner and sendmail configuration files and it is working ok (and has been for a long time). I suspect that I'm simply missing some configuration option here that I've overlooked or that may have changed between 6.4 and 7.2, but don't really know where to look. Any help or tips on things to do/check would be greatly appreciated. Thanks, Bob -- Bob Willcox The trouble with doing something right the first b...@immure.com time is that nobody appreciates how difficult it was. Austin, TX -- unknown Bob, I have sendmail with mailscanner running on 7.1 release with no problems. Do you have: mta_type=sendmail mailscanner_enable=YES in your /etc/rc.conf? I also have: spamd_enable=YES in my /etc/rc.conf -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: MailScanner sendmail
On Fri, Apr 17, 2009 at 06:27:19AM -0500, Derek Ragona wrote: At 03:15 PM 4/15/2009, Bob Willcox wrote: I asked this question in freebsd-ports (in a different way as I thought maybe I could clarify the situation some by rewording it) the other day and didn't receive any reply so I thought I try here this time. I have a 7.2-prelease system that I am trying to get sendmail and MailScanner running on and for some reason sendmail isn't listening on *.smtp, though it is listening on localhost.smtp. If I remove MailScanner from the mix and run sendmail in the conventional way (with sendmail_enable=YES specified in /etc/rc.conf) then things work as expected (except no MailScanner, of course). I currently have a running 6.4-stable system that this new 7.2 system is scheduled to replace that is using the same MailScanner and sendmail configuration files and it is working ok (and has been for a long time). I suspect that I'm simply missing some configuration option here that I've overlooked or that may have changed between 6.4 and 7.2, but don't really know where to look. Any help or tips on things to do/check would be greatly appreciated. Thanks, Bob -- Bob Willcox The trouble with doing something right the first b...@immure.com time is that nobody appreciates how difficult it was. Austin, TX -- unknown Bob, I have sendmail with mailscanner running on 7.1 release with no problems. Do you have: mta_type=sendmail mailscanner_enable=YES in your /etc/rc.conf? I also have: spamd_enable=YES in my /etc/rc.conf -Derek Thanks Derek. Your reply gave the clues that I needed to make further progress on this problem. I now have sendmail listening on *.smtp. I had to also add the lines: mta_enable=YES mta_flags=-bd to my rc.conf file so that the /usr/loca/etc/rc.d/mta script would run and have the right flags for sendmail. Without the -bd flag sendmail would print out a message about needing recipients and then just hang there at startup. I still don't understand what may have changed between 6.x and 7.x. (I have none of the mta_* variables specified in my 6.4 system's rc.conf.) Thanks again, Bob -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- Bob Willcox The trouble with doing something right the first b...@immure.com time is that nobody appreciates how difficult it was. Austin, TX -- unknown ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
MailScanner sendmail
I asked this question in freebsd-ports (in a different way as I thought maybe I could clarify the situation some by rewording it) the other day and didn't receive any reply so I thought I try here this time. I have a 7.2-prelease system that I am trying to get sendmail and MailScanner running on and for some reason sendmail isn't listening on *.smtp, though it is listening on localhost.smtp. If I remove MailScanner from the mix and run sendmail in the conventional way (with sendmail_enable=YES specified in /etc/rc.conf) then things work as expected (except no MailScanner, of course). I currently have a running 6.4-stable system that this new 7.2 system is scheduled to replace that is using the same MailScanner and sendmail configuration files and it is working ok (and has been for a long time). I suspect that I'm simply missing some configuration option here that I've overlooked or that may have changed between 6.4 and 7.2, but don't really know where to look. Any help or tips on things to do/check would be greatly appreciated. Thanks, Bob -- Bob Willcox The trouble with doing something right the first b...@immure.com time is that nobody appreciates how difficult it was. Austin, TX -- unknown ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
p5-Mail-Tools-2.02 Seems To Break MailScanner
Has anyone else run into a problem with MailScanner failing to start up properly after p5-Mail-Tools gets upgraded to Version 2.02 ? I forced the port to go back to p5-Mail-Tools Version 1.77 and all is well. 'Just wondering if this should be submitted as a PR to the MailScanner maintainers/authors ... -- Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundraware.com/PGP/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MailScanner broken
Yesterday I updated with portmaster and now MailScanner is broken. When I try to start it I get the following messages: Starting mailscanner. IO::Compress::Base::Common version 2.004 required--this is only version 2.003 at /usr/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 11. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 11. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 24. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 24. Compilation failed in require at /usr/local/lib/MailScanner/MailScanner/Message.pm line 48. BEGIN failed--compilation aborted at /usr/local/lib/MailScanner/MailScanner/Message.pm line 48. Compilation failed in require at /usr/local/sbin/mailscanner line 79. BEGIN failed--compilation aborted at /usr/local/sbin/mailscanner line 79. I have rebuilt MailScanner plus all perl libraries but still get the same message. Any ideas please? Tom Munro Glass ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner broken
On Thursday April 12, 2007 at 04:17:25 (PM) Tom Munro Glass wrote: Yesterday I updated with portmaster and now MailScanner is broken. When I try to start it I get the following messages: Starting mailscanner. IO::Compress::Base::Common version 2.004 required--this is only version 2.003 at /usr/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 11. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 11. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 24. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 24. Compilation failed in require at /usr/local/lib/MailScanner/MailScanner/Message.pm line 48. BEGIN failed--compilation aborted at /usr/local/lib/MailScanner/MailScanner/Message.pm line 48. Compilation failed in require at /usr/local/sbin/mailscanner line 79. BEGIN failed--compilation aborted at /usr/local/sbin/mailscanner line 79. I have rebuilt MailScanner plus all perl libraries but still get the same message. Any ideas please? That port: p5-IO-Compress-Base-2.004 is available in the ports system. When was the last time you updated your ports tree? I would recommend you update your ports tree and try again. I don't have much experience with portmaster. You could use portmanager instead. Using it with the '-p' flag would insure that all dependencies were up to date also. -- Gerard ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner broken
On Fri, 13 Apr 2007, Gerard wrote: On Thursday April 12, 2007 at 04:17:25 (PM) Tom Munro Glass wrote: Yesterday I updated with portmaster and now MailScanner is broken. When I try to start it I get the following messages: Starting mailscanner. IO::Compress::Base::Common version 2.004 required--this is only version 2.003 at /usr/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 11. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 11. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 24. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 24. Compilation failed in require at /usr/local/lib/MailScanner/MailScanner/Message.pm line 48. BEGIN failed--compilation aborted at /usr/local/lib/MailScanner/MailScanner/Message.pm line 48. Compilation failed in require at /usr/local/sbin/mailscanner line 79. BEGIN failed--compilation aborted at /usr/local/sbin/mailscanner line 79. I have rebuilt MailScanner plus all perl libraries but still get the same message. Any ideas please? That port: p5-IO-Compress-Base-2.004 is available in the ports system. When was the last time you updated your ports tree? I would recommend you update your ports tree and try again. I don't have much experience with portmaster. You could use portmanager instead. Using it with the '-p' flag would insure that all dependencies were up to date also. Thanks for this - looks like the Australian ports mirror is either broken or out of date. I'm updating the ports from the primary site. Regards Tom ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MailScanner and hardware security appliance
Dear all, Who got ideas about Security Hardware and Anti-spam gateway? -- *Rithy Ray, RCSA* Chief Executive Officer Web: www.rithy4u.net http://www.rithy4u.net Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Phone: (855) 12 403 001 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner and hardware security appliance
Office of CEO- rithy4u.NET wrote: Dear all, Who got ideas about Security Hardware and Anti-spam gateway? If you are asking about a packaged solution I would check out Fort Systems. http://www.fsl.com/ We tried several applications and settled on MailScanner which has proven to be an excellent choice. Fort Systems is the commercial supported version. DAve -- Three years now I've asked Google why they don't have a logo change for Memorial Day. Why do they choose to do logos for other non-international holidays, but nothing for Veterans? Maybe they forgot who made that choice possible. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MailScanner Ports problems
I've been doing cvsup's on ports-all and src-all. After rebuilding world for the second time, I still get errors when building the ports. For example, I'm trying to rebuild MailScanner and I get the following: ===Verifying install for /usr/local/lib/perl5/site_perl/5.6.2/mach/Filesys/Df.pm in /usr/ports/sysutils/p5-Filesys-Df === p5-Filesys-Df-0.92 requires statvfs() which is not available before FreeBSD-5*. *** Error code 1 Stop in /usr/ports/sysutils/p5-Filesys-Df. *** Error code 1 Stop in /usr/ports/mail/mailscanner. Looks like some of the ports expect the code to have V5 routines available although I'm only updating from RELENG-4. The error message is originating from the Makefile which is specifically checking for an OS version = 5.0. Any ideas? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner Ports problems
There was talk about this on the Mailscanner list a while ago. I use the tar.gz to install MailScanner direct (on 4.11), but then I do alot of beta testing and JPK can lag behind in getting releases out. Ask on the main MailScanner list as JPK hangs about there sometime,, -- Martin On 11/14/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've been doing cvsup's on ports-all and src-all. After rebuilding world for the second time, I still get errors when building the ports. For example, I'm trying to rebuild MailScanner and I get the following: ===Verifying install for /usr/local/lib/perl5/site_perl/5.6.2/mach/Filesys/Df.pm in /usr/ports/sysutils/p5-Filesys-Df === p5-Filesys-Df-0.92 requires statvfs() which is not available before FreeBSD-5*. *** Error code 1 Stop in /usr/ports/sysutils/p5-Filesys-Df. *** Error code 1 Stop in /usr/ports/mail/mailscanner. Looks like some of the ports expect the code to have V5 routines available although I'm only updating from RELENG-4. The error message is originating from the Makefile which is specifically checking for an OS version = 5.0. Any ideas? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner
Richard have a look on the email list archives for the nice rc script. Thats the MailScanner list not here... Also try asking the same question on the MailScanner list... -- Martin On 8/24/06, rithy4u- CEO [EMAIL PROTECTED] wrote: Not yet. I want both of them to start automaticly at boot time, how? Richard Ben, CIO - Original Message - From: Jonathan Horne [EMAIL PROTECTED] To: rithy4u- CEO [EMAIL PROTECTED] Sent: Thursday, August 24, 2006 9:24 AM Subject: Re: MailScanner i think derek ragonas reply touches on that.. im having trouble getting both the mta and sendmail started automatcially, and was hoping you have had better luck. so your saying you can get them to start unattended? jonathan On Wednesday 23 August 2006 21:02, you wrote: Friend, Sure that I use sendmail as my MTA. in rc.conf I try to put all start up files of mailscanner before sendmail but after boot its still not successfull load sendmail with mailscanner untill I stop sendmail and then I stop mailscanner and start it again. after I start mailscanner my sendmail is automaticly started. but I wonder why its not work at boot time? Now I have use my MTA to relay mail for some domain but I am unable to delete spam email using mailscanner. Because mailscanner just lable spamed email and change its subject to spam? any configuration needed to delete all spamed email without receive it? Richard Ben, CIO - Original Message - From: Jonathan Horne [EMAIL PROTECTED] To: rithy4u- CEO [EMAIL PROTECTED] Sent: Thursday, August 24, 2006 8:32 AM Subject: Re: MailScanner richard, ive been trying to successfully configure mailscanner/sendmail/spamassassin, and i was wondering, which MTA do you use with yours? if sendmail, would you be able to share with me what all entries in /etc/rc.conf you have for all your mail stuff? i am not able to understand what the mailscanner docs are asking for. cheers, jonathan On Wednesday 23 August 2006 19:57, you wrote: Dear all: I have successfull setup mailscanner+spamassassin and now I can deliver mail to my domain by mailscanner filtered. Now I got so many spam? Email message which scaned by mailscanner. How can I configure mailscanner to delete all those spam? Richard Ben, CIO -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner
You can set the action to any of the following: deliver delete store bounce forward [EMAIL PROTECTED] striphtml attachment notify delete is probably best at least for the high scoring spam. -Derek At 09:08 PM 8/23/2006, Malcolm Fitzgerald wrote: At 07:57 PM 8/23/2006, rithy4u- CEO wrote: Dear all: I have successfull setup mailscanner+spamassassin and now I can deliver mail to my domain by mailscanner filtered. Now I got so many spam? Email message which scaned by mailscanner. How can I configure mailscanner to delete all those spam? On 24/08/2006, at 11:31 AM, Derek Ragona wrote: Edit the MailScanner.conf file and set at least high scoring SPAM to bounce. To bounce? That generates more traffic and we've figured out that it's SPAM. Can't we send it to /dev/null or similar? malcolm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner
Depends on what MTA you are using. On my servers I use sendmail as the MTA. In /etc/rc.conf I have these variables set: mta_type=sendmail mailscanner_enable=YES I only need MailScanner started at boot from the script in /usr/local/etc/rc.d/ in addition to starting Sendmail. If you are using a different mta, you may need some variables set in the mta startup script also in /usr/local/etc/rc.d/ -Derek At 09:53 PM 8/23/2006, rithy4u- CEO wrote: Not yet. I want both of them to start automaticly at boot time, how? Richard Ben, CIO - Original Message - From: Jonathan Horne [EMAIL PROTECTED] To: rithy4u- CEO [EMAIL PROTECTED] Sent: Thursday, August 24, 2006 9:24 AM Subject: Re: MailScanner i think derek ragonas reply touches on that.. im having trouble getting both the mta and sendmail started automatcially, and was hoping you have had better luck. so your saying you can get them to start unattended? jonathan On Wednesday 23 August 2006 21:02, you wrote: Friend, Sure that I use sendmail as my MTA. in rc.conf I try to put all start up files of mailscanner before sendmail but after boot its still not successfull load sendmail with mailscanner untill I stop sendmail and then I stop mailscanner and start it again. after I start mailscanner my sendmail is automaticly started. but I wonder why its not work at boot time? Now I have use my MTA to relay mail for some domain but I am unable to delete spam email using mailscanner. Because mailscanner just lable spamed email and change its subject to spam? any configuration needed to delete all spamed email without receive it? Richard Ben, CIO - Original Message - From: Jonathan Horne [EMAIL PROTECTED] To: rithy4u- CEO [EMAIL PROTECTED] Sent: Thursday, August 24, 2006 8:32 AM Subject: Re: MailScanner richard, ive been trying to successfully configure mailscanner/sendmail/spamassassin, and i was wondering, which MTA do you use with yours? if sendmail, would you be able to share with me what all entries in /etc/rc.conf you have for all your mail stuff? i am not able to understand what the mailscanner docs are asking for. cheers, jonathan On Wednesday 23 August 2006 19:57, you wrote: Dear all: I have successfull setup mailscanner+spamassassin and now I can deliver mail to my domain by mailscanner filtered. Now I got so many spam? Email message which scaned by mailscanner. How can I configure mailscanner to delete all those spam? Richard Ben, CIO -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MailScanner
Dear all: I have successfull setup mailscanner+spamassassin and now I can deliver mail to my domain by mailscanner filtered. Now I got so many spam? Email message which scaned by mailscanner. How can I configure mailscanner to delete all those spam? Richard Ben, CIO -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner
Edit the MailScanner.conf file and set at least high scoring SPAM to bounce. -Derek At 07:57 PM 8/23/2006, rithy4u- CEO wrote: Dear all: I have successfull setup mailscanner+spamassassin and now I can deliver mail to my domain by mailscanner filtered. Now I got so many spam? Email message which scaned by mailscanner. How can I configure mailscanner to delete all those spam? Richard Ben, CIO -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner
Edit the MailScanner.conf file and set at least high scoring SPAM to bounce. Please DONT BOUNCE. There is never any usefull return address in SPAM, so bouncing will not get back to any spammer, but it will rather annoy some innocent person. It is totally useless to bounce for virus or spam, quarantine it or discard it silently, but never ever bounce. Bests, olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner
At 07:57 PM 8/23/2006, rithy4u- CEO wrote: Dear all: I have successfull setup mailscanner+spamassassin and now I can deliver mail to my domain by mailscanner filtered. Now I got so many spam? Email message which scaned by mailscanner. How can I configure mailscanner to delete all those spam? On 24/08/2006, at 11:31 AM, Derek Ragona wrote: Edit the MailScanner.conf file and set at least high scoring SPAM to bounce. To bounce? That generates more traffic and we've figured out that it's SPAM. Can't we send it to /dev/null or similar? malcolm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner
Not yet. I want both of them to start automaticly at boot time, how? Richard Ben, CIO - Original Message - From: Jonathan Horne [EMAIL PROTECTED] To: rithy4u- CEO [EMAIL PROTECTED] Sent: Thursday, August 24, 2006 9:24 AM Subject: Re: MailScanner i think derek ragonas reply touches on that.. im having trouble getting both the mta and sendmail started automatcially, and was hoping you have had better luck. so your saying you can get them to start unattended? jonathan On Wednesday 23 August 2006 21:02, you wrote: Friend, Sure that I use sendmail as my MTA. in rc.conf I try to put all start up files of mailscanner before sendmail but after boot its still not successfull load sendmail with mailscanner untill I stop sendmail and then I stop mailscanner and start it again. after I start mailscanner my sendmail is automaticly started. but I wonder why its not work at boot time? Now I have use my MTA to relay mail for some domain but I am unable to delete spam email using mailscanner. Because mailscanner just lable spamed email and change its subject to spam? any configuration needed to delete all spamed email without receive it? Richard Ben, CIO - Original Message - From: Jonathan Horne [EMAIL PROTECTED] To: rithy4u- CEO [EMAIL PROTECTED] Sent: Thursday, August 24, 2006 8:32 AM Subject: Re: MailScanner richard, ive been trying to successfully configure mailscanner/sendmail/spamassassin, and i was wondering, which MTA do you use with yours? if sendmail, would you be able to share with me what all entries in /etc/rc.conf you have for all your mail stuff? i am not able to understand what the mailscanner docs are asking for. cheers, jonathan On Wednesday 23 August 2006 19:57, you wrote: Dear all: I have successfull setup mailscanner+spamassassin and now I can deliver mail to my domain by mailscanner filtered. Now I got so many spam? Email message which scaned by mailscanner. How can I configure mailscanner to delete all those spam? Richard Ben, CIO -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner Issues
Robert ASk on the mailScanner email list. there are people there who run sendmail FreeBSd MailScanner and will be able to tell you the rc.conf settings. -- martin On 5/28/06, Robert Davison [EMAIL PROTECTED] wrote: I've done a bit more digging. It seems that my sendmail_in.pid and sendmail_out.pid files are not running in /var/run, despite having this in my rc.conf.. sendmail_enable=NONE clamd_enable=YES freshd_enable=YES mailscanner_enable=YES mta_enable=YES mta_type=sendmail mta_profiles=incoming outgoing submitqueue mta_incoming_flags=-L sm-mta-in -bd -OPrivacyOptions=noetrn -OQueueDirectory=/v ar/spool/mqueue.in -ODeliveryMode=queueonly mta_incoming_pidfile=/var/run/sendmail_in.pid mta_incoming_configfile=/etc/mail/sendmail.cf mta_outgoing_flags=-L sm-mta-out -q15m mta_outgoing_pidfile=/var/run/sendmail_out.pid mta_outgoing_configfile=/etc/mail/sendmail.cf mta_submitqueue_flags=-L ms-msp-queue -Ac -q15m mta_submitqueue_pidfile=/var/spool/clientmqueue/sm-client.pid mta_submitqueue_configfile=/etc/mail/submit.cf I'm getting a sendmail.pid file, but nothing more - Try the all-new Yahoo! Mail . The New Version is radically easier to use – The Wall Street Journal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner Issues
But the config settings I've seen all say that when using MailScanner, you must set the sendmail_enable to None. Even with this set to YES, then I still dont have the sendmail_out.pid and sendmail_in.pid files running. Mikhail Goriachev [EMAIL PROTECTED] wrote: Robert Davison wrote: I've done a bit more digging. It seems that my sendmail_in.pid and sendmail_out.pid files are not running in /var/run, despite having this in my rc.conf.. sendmail_enable=NONE clamd_enable=YES freshd_enable=YES mailscanner_enable=YES mta_enable=YES mta_type=sendmail mta_profiles=incoming outgoing submitqueue mta_incoming_flags=-L sm-mta-in -bd -OPrivacyOptions=noetrn -OQueueDirectory=/v ar/spool/mqueue.in -ODeliveryMode=queueonly mta_incoming_pidfile=/var/run/sendmail_in.pid mta_incoming_configfile=/etc/mail/sendmail.cf mta_outgoing_flags=-L sm-mta-out -q15m mta_outgoing_pidfile=/var/run/sendmail_out.pid mta_outgoing_configfile=/etc/mail/sendmail.cf mta_submitqueue_flags=-L ms-msp-queue -Ac -q15m mta_submitqueue_pidfile=/var/spool/clientmqueue/sm-client.pid mta_submitqueue_configfile=/etc/mail/submit.cf I'm getting a sendmail.pid file, but nothing more Well, this makes sense. Your sendmail is disabled: sendmail_enable=NONE This is what you need: sendmail_enable=YES Try that and see how it goes. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Send instant messages to your online friends http://uk.messenger.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner Issues
Robert Davison wrote: But the config settings I've seen all say that when using MailScanner, you must set the sendmail_enable to None. Even with this set to YES, then I still dont have the sendmail_out.pid and sendmail_in.pid files running. Oops... I'm not familiar with MailScanner. I just assumed, based on your log, that sendmail is the epicentre of your problem. I reckon someone else would be able to help you. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail / Mailscanner issues
I think you may need to change the way sendmail starts. rc script for sendmail changed in 6.X so you may not have one of the additional queues running. -Derek At 01:57 PM 5/28/2006, Robert Davison wrote: I've installed sendmail on a 6.1 system. It will send mail internally and externally with no problem. I've now put MailScanner into the mix. I've done what I believe to be the necessary configuration, but am getting the following error in the maillog file May 29 20:47:51 luey MailScanner[540]: MailScanner E-Mail Virus Scanner version 4.50.15 starting... May 29 20:47:51 luey MailScanner[540]: Read 701 hostnames from the phishing whitelist May 29 20:47:51 luey MailScanner[540]: Using SpamAssassin results cache May 29 20:47:51 luey MailScanner[540]: Connected to SpamAssassin cache database May 29 20:47:51 luey MailScanner[540]: Enabling SpamAssassin auto-whitelist functionality... May 29 20:47:53 luey MailScanner[540]: ClamAV scanner using unrar command /usr/local/bin/unrar May 29 20:47:53 luey MailScanner[540]: Using locktype = flock May 29 20:50:02 luey sendmail[552]: k4TJo27K000552: from=root, size=37, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] May 29 20:50:02 luey sendmail[552]: k4TJo27K000552: to=rob_27ma, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30037, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] Can anyone identify from this what is causing the connection to be refused ?? Send instant messages to your online friends http://uk.messenger.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner Issues
Robert Davison wrote: I've done a bit more digging. It seems that my sendmail_in.pid and sendmail_out.pid files are not running in /var/run, despite having this in my rc.conf.. sendmail_enable=NONE clamd_enable=YES freshd_enable=YES mailscanner_enable=YES mta_enable=YES mta_type=sendmail mta_profiles=incoming outgoing submitqueue mta_incoming_flags=-L sm-mta-in -bd -OPrivacyOptions=noetrn -OQueueDirectory=/v ar/spool/mqueue.in -ODeliveryMode=queueonly mta_incoming_pidfile=/var/run/sendmail_in.pid mta_incoming_configfile=/etc/mail/sendmail.cf mta_outgoing_flags=-L sm-mta-out -q15m mta_outgoing_pidfile=/var/run/sendmail_out.pid mta_outgoing_configfile=/etc/mail/sendmail.cf mta_submitqueue_flags=-L ms-msp-queue -Ac -q15m mta_submitqueue_pidfile=/var/spool/clientmqueue/sm-client.pid mta_submitqueue_configfile=/etc/mail/submit.cf I'm getting a sendmail.pid file, but nothing more Does that not indicate that some old sendmail is still running? Can you stop those? If unsure, maybe reboot without sendmails, and then check with ps. -- Regards from Lars - Try the all-new Yahoo! Mail . The New Version is radically easier to use – The Wall Street Journal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sendmail / Mailscanner issues
I've installed sendmail on a 6.1 system. It will send mail internally and externally with no problem. I've now put MailScanner into the mix. I've done what I believe to be the necessary configuration, but am getting the following error in the maillog file May 29 20:47:51 luey MailScanner[540]: MailScanner E-Mail Virus Scanner version 4.50.15 starting... May 29 20:47:51 luey MailScanner[540]: Read 701 hostnames from the phishing whitelist May 29 20:47:51 luey MailScanner[540]: Using SpamAssassin results cache May 29 20:47:51 luey MailScanner[540]: Connected to SpamAssassin cache database May 29 20:47:51 luey MailScanner[540]: Enabling SpamAssassin auto-whitelist functionality... May 29 20:47:53 luey MailScanner[540]: ClamAV scanner using unrar command /usr/local/bin/unrar May 29 20:47:53 luey MailScanner[540]: Using locktype = flock May 29 20:50:02 luey sendmail[552]: k4TJo27K000552: from=root, size=37, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] May 29 20:50:02 luey sendmail[552]: k4TJo27K000552: to=rob_27ma, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30037, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] Can anyone identify from this what is causing the connection to be refused ?? Send instant messages to your online friends http://uk.messenger.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail / Mailscanner issues
Robert Davison wrote: I've installed sendmail on a 6.1 system. It will send mail internally and externally with no problem. I've now put MailScanner into the mix. I've done what I believe to be the necessary configuration, but am getting the following error in the maillog file May 29 20:47:51 luey MailScanner[540]: MailScanner E-Mail Virus Scanner version 4.50.15 starting... May 29 20:47:51 luey MailScanner[540]: Read 701 hostnames from the phishing whitelist May 29 20:47:51 luey MailScanner[540]: Using SpamAssassin results cache May 29 20:47:51 luey MailScanner[540]: Connected to SpamAssassin cache database May 29 20:47:51 luey MailScanner[540]: Enabling SpamAssassin auto-whitelist functionality... May 29 20:47:53 luey MailScanner[540]: ClamAV scanner using unrar command /usr/local/bin/unrar May 29 20:47:53 luey MailScanner[540]: Using locktype = flock May 29 20:50:02 luey sendmail[552]: k4TJo27K000552: from=root, size=37, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] May 29 20:50:02 luey sendmail[552]: k4TJo27K000552: to=rob_27ma, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30037, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] Can anyone identify from this what is causing the connection to be refused ?? MailScanner config? What tcp port is it supposed to listen to? Is sendmail configured to relay to that port? Can you telnet to it ok? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail / Mailscanner issues
Excuse my ignorance, i'm new to this. I'm taking it that you mean telnet 83.67.*.* 25 if so then no, I cant connect. How do I find what port MailScanner is listening on ? Per olof Ljungmark [EMAIL PROTECTED] wrote: Robert Davison wrote: I've installed sendmail on a 6.1 system. It will send mail internally and externally with no problem. I've now put MailScanner into the mix. I've done what I believe to be the necessary configuration, but am getting the following error in the maillog file May 29 20:47:51 luey MailScanner[540]: MailScanner E-Mail Virus Scanner version 4.50.15 starting... May 29 20:47:51 luey MailScanner[540]: Read 701 hostnames from the phishing whitelist May 29 20:47:51 luey MailScanner[540]: Using SpamAssassin results cache May 29 20:47:51 luey MailScanner[540]: Connected to SpamAssassin cache database May 29 20:47:51 luey MailScanner[540]: Enabling SpamAssassin auto-whitelist functionality... May 29 20:47:53 luey MailScanner[540]: ClamAV scanner using unrar command /usr/local/bin/unrar May 29 20:47:53 luey MailScanner[540]: Using locktype = flock May 29 20:50:02 luey sendmail[552]: k4TJo27K000552: from=root, size=37, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] May 29 20:50:02 luey sendmail[552]: k4TJo27K000552: to=rob_27ma, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30037, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] Can anyone identify from this what is causing the connection to be refused ?? MailScanner config? What tcp port is it supposed to listen to? Is sendmail configured to relay to that port? Can you telnet to it ok? - All New Yahoo! Mail Tired of [EMAIL PROTECTED]@! come-ons? Let our SpamGuard protect you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail / Mailscanner issues
Per olof Ljungmark wrote: Robert Davison wrote: I've installed sendmail on a 6.1 system. It will send mail internally and externally with no problem. I've now put MailScanner into the mix. I've done what I believe to be the necessary configuration, but am getting the following error in the maillog file May 29 20:47:51 luey MailScanner[540]: MailScanner E-Mail Virus Scanner version 4.50.15 starting... May 29 20:47:51 luey MailScanner[540]: Read 701 hostnames from the phishing whitelist May 29 20:47:51 luey MailScanner[540]: Using SpamAssassin results cache May 29 20:47:51 luey MailScanner[540]: Connected to SpamAssassin cache database May 29 20:47:51 luey MailScanner[540]: Enabling SpamAssassin auto-whitelist functionality... May 29 20:47:53 luey MailScanner[540]: ClamAV scanner using unrar command /usr/local/bin/unrar May 29 20:47:53 luey MailScanner[540]: Using locktype = flock May 29 20:50:02 luey sendmail[552]: k4TJo27K000552: from=root, size=37, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] May 29 20:50:02 luey sendmail[552]: k4TJo27K000552: to=rob_27ma, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30037, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] Can anyone identify from this what is causing the connection to be refused ?? MailScanner config? What tcp port is it supposed to listen to? Is sendmail configured to relay to that port? Can you telnet to it ok? Hmm, it does not look like MailScanner uses tcp at all, rather looks directly at queued spool files. If that is the case it could be a permissions problem for the sendmail spool directory for instance. Sorry for the waste of bandwidth... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MailScanner Issues
I've done a bit more digging. It seems that my sendmail_in.pid and sendmail_out.pid files are not running in /var/run, despite having this in my rc.conf.. sendmail_enable=NONE clamd_enable=YES freshd_enable=YES mailscanner_enable=YES mta_enable=YES mta_type=sendmail mta_profiles=incoming outgoing submitqueue mta_incoming_flags=-L sm-mta-in -bd -OPrivacyOptions=noetrn -OQueueDirectory=/v ar/spool/mqueue.in -ODeliveryMode=queueonly mta_incoming_pidfile=/var/run/sendmail_in.pid mta_incoming_configfile=/etc/mail/sendmail.cf mta_outgoing_flags=-L sm-mta-out -q15m mta_outgoing_pidfile=/var/run/sendmail_out.pid mta_outgoing_configfile=/etc/mail/sendmail.cf mta_submitqueue_flags=-L ms-msp-queue -Ac -q15m mta_submitqueue_pidfile=/var/spool/clientmqueue/sm-client.pid mta_submitqueue_configfile=/etc/mail/submit.cf I'm getting a sendmail.pid file, but nothing more - Try the all-new Yahoo! Mail . The New Version is radically easier to use The Wall Street Journal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail / Mailscanner issues
Robert Davison wrote: Excuse my ignorance, i'm new to this. I'm taking it that you mean telnet 83.67.*.* 25 if so then no, I cant connect. Can you actually connect directly from localhost? $telnet 127.0.0.1 25 -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner Issues
Robert Davison wrote: I've done a bit more digging. It seems that my sendmail_in.pid and sendmail_out.pid files are not running in /var/run, despite having this in my rc.conf.. sendmail_enable=NONE clamd_enable=YES freshd_enable=YES mailscanner_enable=YES mta_enable=YES mta_type=sendmail mta_profiles=incoming outgoing submitqueue mta_incoming_flags=-L sm-mta-in -bd -OPrivacyOptions=noetrn -OQueueDirectory=/v ar/spool/mqueue.in -ODeliveryMode=queueonly mta_incoming_pidfile=/var/run/sendmail_in.pid mta_incoming_configfile=/etc/mail/sendmail.cf mta_outgoing_flags=-L sm-mta-out -q15m mta_outgoing_pidfile=/var/run/sendmail_out.pid mta_outgoing_configfile=/etc/mail/sendmail.cf mta_submitqueue_flags=-L ms-msp-queue -Ac -q15m mta_submitqueue_pidfile=/var/spool/clientmqueue/sm-client.pid mta_submitqueue_configfile=/etc/mail/submit.cf I'm getting a sendmail.pid file, but nothing more Well, this makes sense. Your sendmail is disabled: sendmail_enable=NONE This is what you need: sendmail_enable=YES Try that and see how it goes. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner / SMTP Auth
Hi looks like you found it then... -- Martin On 11/15/05, Martin Schweizer [EMAIL PROTECTED] wrote: Hello Martin I checked the archive but didn't found the thread. Which target words should I ckeck in the archive? Am Mon, Nov 14, 2005 at 07:45:15PM + Martin Hepworth schrieb: Martin there's been a thread on this in the MailScanner email list over the last couple of days - check it out... -- Regards Martin Schweizer [EMAIL PROTECTED] PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner / SMTP Auth
Hello Martin I checked the archive but didn't found the thread. Which target words should I ckeck in the archive? Am Mon, Nov 14, 2005 at 07:45:15PM + Martin Hepworth schrieb: Martin there's been a thread on this in the MailScanner email list over the last couple of days - check it out... -- Regards Martin Schweizer [EMAIL PROTECTED] PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; pgp3UxKN0TdmV.pgp Description: PGP signature
MailScanner / SMTP Auth
Hello Until now I run sendmail, mailscanner and cyrus-imapd without any problems. Now I want to update sendmail with SMTP Auth. I updated my sendmail.mc like described in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html. But after this all new mails only delivered local to root (no more to cyrus). Below attached is my sendmail.mc. Is there anybody how has the same setup? Are there any pitfalls? My system: FreeBSD 5.4, sendmail 8.13.3, cyrus IMAP4 2.2.12 Any hints are welcome. -- Regards Martin [EMAIL PROTECTED] PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; pgp41sL3bJb1J.pgp Description: PGP signature
Fwd: MailScanner / SMTP Auth
Sorry, forgot to attache the sendmail.mc Hello Until now I run sendmail, mailscanner and cyrus-imapd without any problems. Now I want to update sendmail with SMTP Auth. I updated my sendmail.mc like described in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html. But after this all new mails only delivered local to root (no more to cyrus). Below attached is my sendmail.mc. Is there anybody how has the same setup? Are there any pitfalls? My system: FreeBSD 5.4, sendmail 8.13.3, cyrus IMAP4 2.2.12 Any hints are welcome. divert(-1) # # Copyright (c) 1983 Eric P. Allman # Copyright (c) 1988, 1993 # The Regents of the University of California. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright #notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright #notice, this list of conditions and the following disclaimer in the #documentation and/or other materials provided with the distribution. # 3. All advertising materials mentioning features or use of this software #must display the following acknowledgement: # This product includes software developed by the University of # California, Berkeley and its contributors. # 4. Neither the name of the University nor the names of its contributors #may be used to endorse or promote products derived from this software #without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # # This is a generic configuration file for FreeBSD 5.X and later systems. # If you want to customize it, copy it to a name appropriate for your # environment and do the modifications there. # # The best documentation for this .mc file is: # /usr/share/sendmail/cf/README or # /usr/src/contrib/sendmail/cf/README # divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.29 2003/12/24 21:15:09 gshapiro Exp $') OSTYPE(freebsd5) DOMAIN(generic) FEATURE(access_db, `hash -o -TTMPF /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') dnl Uncomment to allow relaying based on your MX records. dnl NOTE: This can allow sites to use your server as a backup MX without dnl your permission. dnl FEATURE(relay_based_on_MX) dnl DNS based black hole lists dnl dnl DNS based black hole lists come and go on a regular basis dnl so this file will not serve as a database of the available servers. dnl For that, visit dnl http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/ dnl Uncomment to activate Realtime Blackhole List dnl information available at http://www.mail-abuse.com/ dnl NOTE: This is a subscription service as of July 31, 2001 dnl FEATURE(dnsbl) dnl Alternatively, you can provide your own server and rejection message: dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `550 Mail from ${client_addr} rejected, see http://mail-abuse.org/cgi-bin/lookup?; ${client_addr}') FEATURE(dnsbl, `relays.ordb.org', `550 Mail rejected - see http://www.ordb.org/faq;') FEATURE(dnsbl, `sbl.spamhaus.org', `550 Mail rejected - see http://www.spamhaus.org/SBL;') dnl Dialup users should uncomment and define this appropriately define(`SMART_HOST', `[195.186.18.142]') dnl Uncomment the first line to change the location of the default dnl /etc/mail/local-host-names and comment out the second line. dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw') define(`confCW_FILE', `-o /etc/mail/local-host-names') dnl Enable for both IPv4 and IPv6 (optional) DAEMON_OPTIONS(`Name=IPv4, Family=inet') DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') dnl set SASL options TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confDEF_AUTH_INFO', `/etc/mail/auth-info')dnl define(`confBIND_OPTS', `WorkAroundBroken') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS
Re: Fwd: MailScanner / SMTP Auth
--On 14. november 2005 10:15 +0100 Martin Schweizer [EMAIL PROTECTED] wrote: Sorry, forgot to attache the sendmail.mc Hello Until now I run sendmail, mailscanner and cyrus-imapd without any problems. Now I want to update sendmail with SMTP Auth. I updated my sendmail.mc like described in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html. But after this all new mails only delivered local to root (no more to cyrus). Below attached is my sendmail.mc. Is there anybody how has the same setup? Are there any pitfalls? My system: FreeBSD 5.4, sendmail 8.13.3, cyrus IMAP4 2.2.12 Any hints are welcome. divert(-1) # # Copyright (c) 1983 Eric P. Allman # Copyright (c) 1988, 1993 # The Regents of the University of California. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright #notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright #notice, this list of conditions and the following disclaimer in the #documentation and/or other materials provided with the distribution. # 3. All advertising materials mentioning features or use of this software #must display the following acknowledgement: # This product includes software developed by the University of # California, Berkeley and its contributors. # 4. Neither the name of the University nor the names of its contributors #may be used to endorse or promote products derived from this software #without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # THE POSSIBILITY OF SUCH DAMAGE. # # # This is a generic configuration file for FreeBSD 5.X and later systems. # If you want to customize it, copy it to a name appropriate for your # environment and do the modifications there. # # The best documentation for this .mc file is: # /usr/share/sendmail/cf/README or # /usr/src/contrib/sendmail/cf/README # divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.29 2003/12/24 21:15:09 gshapiro Exp $') OSTYPE(freebsd5) DOMAIN(generic) FEATURE(access_db, `hash -o -TTMPF /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') dnl Uncomment to allow relaying based on your MX records. dnl NOTE: This can allow sites to use your server as a backup MX without dnl your permission. dnl FEATURE(relay_based_on_MX) dnl DNS based black hole lists dnl dnl DNS based black hole lists come and go on a regular basis dnl so this file will not serve as a database of the available servers. dnl For that, visit dnl http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/ dnl Uncomment to activate Realtime Blackhole List dnl information available at http://www.mail-abuse.com/ dnl NOTE: This is a subscription service as of July 31, 2001 dnl FEATURE(dnsbl) dnl Alternatively, you can provide your own server and rejection message: dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `550 Mail from ${client_addr} rejected, see http://mail-abuse.org/cgi-bin/lookup?; ${client_addr}') FEATURE(dnsbl, `relays.ordb.org', `550 Mail rejected - see http://www.ordb.org/faq;') FEATURE(dnsbl, `sbl.spamhaus.org', `550 Mail rejected - see http://www.spamhaus.org/SBL;') dnl Dialup users should uncomment and define this appropriately define(`SMART_HOST', `[195.186.18.142]') dnl Uncomment the first line to change the location of the default dnl /etc/mail/local-host-names and comment out the second line. dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw') define(`confCW_FILE', `-o /etc/mail/local-host-names') dnl Enable for both IPv4 and IPv6 (optional) DAEMON_OPTIONS(`Name=IPv4, Family=inet') DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') dnl set SASL options TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confDEF_AUTH_INFO', `/etc/mail/auth-info')dnl define(`confBIND_OPTS', `WorkAroundBroken
Re: Fwd: MailScanner / SMTP Auth
Sasa Stupar wrote: --On 14. november 2005 10:15 +0100 Martin Schweizer [EMAIL PROTECTED] wrote: Sorry, forgot to attache the sendmail.mc Hello Until now I run sendmail, mailscanner and cyrus-imapd without any problems. Now I want to update sendmail with SMTP Auth. I updated my sendmail.mc like described in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html. But after this all new mails only delivered local to root (no more to cyrus). Below attached is my sendmail.mc. Is there anybody how has the same setup? Are there any pitfalls? My system: FreeBSD 5.4, sendmail 8.13.3, cyrus IMAP4 2.2.12 Any hints are welcome. divert(-1) # # Copyright (c) 1983 Eric P. Allman # Copyright (c) 1988, 1993 #The Regents of the University of California. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright #notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright #notice, this list of conditions and the following disclaimer in the #documentation and/or other materials provided with the distribution. # 3. All advertising materials mentioning features or use of this software #must display the following acknowledgement: #This product includes software developed by the University of #California, Berkeley and its contributors. # 4. Neither the name of the University nor the names of its contributors #may be used to endorse or promote products derived from this software #without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # THE POSSIBILITY OF SUCH DAMAGE. # # # This is a generic configuration file for FreeBSD 5.X and later systems. # If you want to customize it, copy it to a name appropriate for your # environment and do the modifications there. # # The best documentation for this .mc file is: # /usr/share/sendmail/cf/README or # /usr/src/contrib/sendmail/cf/README # divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.29 2003/12/24 21:15:09 gshapiro Exp $') OSTYPE(freebsd5) DOMAIN(generic) FEATURE(access_db, `hash -o -TTMPF /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') dnl Uncomment to allow relaying based on your MX records. dnl NOTE: This can allow sites to use your server as a backup MX without dnl your permission. dnl FEATURE(relay_based_on_MX) dnl DNS based black hole lists dnl dnl DNS based black hole lists come and go on a regular basis dnl so this file will not serve as a database of the available servers. dnl For that, visit dnl http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/ dnl Uncomment to activate Realtime Blackhole List dnl information available at http://www.mail-abuse.com/ dnl NOTE: This is a subscription service as of July 31, 2001 dnl FEATURE(dnsbl) dnl Alternatively, you can provide your own server and rejection message: dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `550 Mail from ${client_addr} rejected, see http://mail-abuse.org/cgi-bin/lookup?; ${client_addr}') FEATURE(dnsbl, `relays.ordb.org', `550 Mail rejected - see http://www.ordb.org/faq;') FEATURE(dnsbl, `sbl.spamhaus.org', `550 Mail rejected - see http://www.spamhaus.org/SBL;') dnl Dialup users should uncomment and define this appropriately define(`SMART_HOST', `[195.186.18.142]') dnl Uncomment the first line to change the location of the default dnl /etc/mail/local-host-names and comment out the second line. dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw') define(`confCW_FILE', `-o /etc/mail/local-host-names') dnl Enable for both IPv4 and IPv6 (optional) DAEMON_OPTIONS(`Name=IPv4, Family=inet') DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') dnl set SASL options TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN
Re: MailScanner / SMTP Auth
Martin there's been a thread on this in the MailScanner email list over the last couple of days - check it out... -- Martin On 11/14/05, Martin Schweizer [EMAIL PROTECTED] wrote: Hello Until now I run sendmail, mailscanner and cyrus-imapd without any problems. Now I want to update sendmail with SMTP Auth. I updated my sendmail.mchttp://sendmail.mclike described in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html. But after this all new mails only delivered local to root (no more to cyrus). Below attached is my sendmail.mc http://sendmail.mc. Is there anybody how has the same setup? Are there any pitfalls? My system: FreeBSD 5.4, sendmail 8.13.3, cyrus IMAP4 2.2.12 Any hints are welcome. -- Regards Martin [EMAIL PROTECTED] PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mailscanner PC requirements
Hi might need more RAM, esp is you plan to use Spamassassin with the MS setup. My old system (cel 500 512MB RAM) would top out around 14,000 messages per day of around 25kb average size. But I was also running MailWatch and the associaed mysql DB on the box as well and lots of extra SA rules.. As for performance related stuff vmstat/iostat/sar are good places to start. Also you don't mention the MTA to be used. This can make a huge difference. Sendmail and Postfix tend to slower with exim and qmail faster in that order. You'll get extra performance by turning on softupdates on the spool directory filesystems too. You can tune a couple of settings in MailScanner.conf which will help a lot: As each mailscanner process uses about 20Mb of memory you probably want to reduce the number of mailscanner children to 2 or 3. for example: Max Children = 3 Dont recommend using only one because if that one chokes then the system can stop processing mail altogether. Two or three children decreases that risc. Also if using spamassassin you can set spamassassins timeout high. I have not heard of any drawbacks with this and it saves you lots of worries, and especially so in a system with small resources. for example: SpamAssassin Timeout = 600 See you on the MailScanner users email list (under my work email). also recommended reading: http://wiki.mailscanner.info -- Hilsen from Lars -- Martin On 6/1/05, Jean-Paul Natola [EMAIL PROTECTED] wrote: Hi all, First OFF NEWBIE here - so please bear with me-- I have installed FreeBSD 5.4 on a box that I plan to use Mailscanner to filter the mail prior to hitting my Mail server. Its on a PII 450 with 256mb ram and a 12 gig drive. I would like to know 1) How can I check to make sure the system is running OK ( I'm from the windows world) where we have event logs and performance monitor to make sure the install was done correctly, give you page fault data mem ,cpu usage etc... Any tools or commands in FreeBSD that can give me this type of info? 2) given the above specs, is that ok to handle mail for roughly 40 users? Thanks in advance Jean-Paul Natola Network Administrator Information Technology Family Care International 588 Broadway Suite 503 New York, NY 10012 Phone:212-941-5300 xt 36 Fax: 212-941-5563 Mailto: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mailscanner PC requirements
Hi might need more RAM, esp is you plan to use Spamassassin with the MS setup. My old system (cel 500 512MB RAM) would top out around 14,000 messages per day of around 25kb average size. But I was also running MailWatch and the associaed mysql DB on the box as well and lots of extra SA rules.. As for performance related stuff vmstat/iostat/sar are good places to start. Also you don't mention the MTA to be used. This can make a huge difference. Sendmail and Postfix tend to slower with exim and qmail faster in that order. You'll get extra performance by turning on softupdates on the spool directory filesystems too. See you on the MailScanner users email list (under my work email). -- Martin On 6/1/05, Jean-Paul Natola [EMAIL PROTECTED] wrote: Hi all, First OFF NEWBIE here - so please bear with me-- I have installed FreeBSD 5.4 on a box that I plan to use Mailscanner to filter the mail prior to hitting my Mail server. Its on a PII 450 with 256mb ram and a 12 gig drive. I would like to know 1) How can I check to make sure the system is running OK ( I'm from the windows world) where we have event logs and performance monitor to make sure the install was done correctly, give you page fault data mem ,cpu usage etc... Any tools or commands in FreeBSD that can give me this type of info? 2) given the above specs, is that ok to handle mail for roughly 40 users? Thanks in advance Jean-Paul Natola Network Administrator Information Technology Family Care International 588 Broadway Suite 503 New York, NY 10012 Phone:212-941-5300 xt 36 Fax: 212-941-5563 Mailto: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mailscanner PC requirements
Hi all, First OFF NEWBIE here - so please bear with me-- I have installed FreeBSD 5.4 on a box that I plan to use Mailscanner to filter the mail prior to hitting my Mail server. Its on a PII 450 with 256mb ram and a 12 gig drive. I would like to know 1) How can I check to make sure the system is running OK ( I'm from the windows world) where we have event logs and performance monitor to make sure the install was done correctly, give you page fault data mem ,cpu usage etc... Any tools or commands in FreeBSD that can give me this type of info? 2) given the above specs, is that ok to handle mail for roughly 40 users? Thanks in advance Jean-Paul Natola Network Administrator Information Technology Family Care International 588 Broadway Suite 503 New York, NY 10012 Phone:212-941-5300 xt 36 Fax: 212-941-5563 Mailto: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mailscanner PC requirements
Jean-Paul Natola [EMAIL PROTECTED] wrote: Hi all, First OFF NEWBIE here - so please bear with me-- I have installed FreeBSD 5.4 on a box that I plan to use Mailscanner to filter the mail prior to hitting my Mail server. Its on a PII 450 with 256mb ram and a 12 gig drive. I would like to know 1) How can I check to make sure the system is running OK ( I'm from the windows world) where we have event logs and performance monitor to make sure the install was done correctly, give you page fault data mem ,cpu usage etc... Any tools or commands in FreeBSD that can give me this type of info? Look at top(1), systat(1), as well as the various logs in /var/log 2) given the above specs, is that ok to handle mail for roughly 40 users? Hard to say without more details on what the volume is for those 40 users, but I expect it should be OK ... unless your usage patterns are very unusual. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Mailscanner PC requirements
Well our mail store ( is at about 8 gigs) it should never go higher than than that. Should I try to get a # of messages per day tally , would that help? -Original Message- From: Bill Moran [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 01, 2005 12:53 PM To: Jean-Paul Natola Cc: freebsd-questions@freebsd.org Subject: Re: Mailscanner PC requirements Jean-Paul Natola [EMAIL PROTECTED] wrote: Hi all, First OFF NEWBIE here - so please bear with me-- I have installed FreeBSD 5.4 on a box that I plan to use Mailscanner to filter the mail prior to hitting my Mail server. Its on a PII 450 with 256mb ram and a 12 gig drive. I would like to know 1) How can I check to make sure the system is running OK ( I'm from the windows world) where we have event logs and performance monitor to make sure the install was done correctly, give you page fault data mem ,cpu usage etc... Any tools or commands in FreeBSD that can give me this type of info? Look at top(1), systat(1), as well as the various logs in /var/log 2) given the above specs, is that ok to handle mail for roughly 40 users? Hard to say without more details on what the volume is for those 40 users, but I expect it should be OK ... unless your usage patterns are very unusual. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Mailscanner PC requirements
Oh the Ironies of life, I actually redid my install because someone on the list told me that there was no reason (point) to even install KDE since I was going to use it only for Mailscanner.. Should I go ahead and reinstall it? -Original Message- From: Rhys Campbell [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 01, 2005 12:47 PM To: Jean-Paul Natola Subject: RE: Mailscanner PC requirements If you're running KDE the KDE System Guard (system section of the K Menu) is similar to the Windows Task Manager. Gnome has something similar I have used but I forget the name. The console command 'ps' will show you running processes. Check this web link for info http://unixhelp.ed.ac.uk/CGI/man-cgi?ps Or do man ps or info ps Rhys -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jean-Paul Natola Sent: 01 June 2005 17:34 To: freebsd-questions@freebsd.org Subject: Mailscanner PC requirements Hi all, First OFF NEWBIE here - so please bear with me-- I have installed FreeBSD 5.4 on a box that I plan to use Mailscanner to filter the mail prior to hitting my Mail server. Its on a PII 450 with 256mb ram and a 12 gig drive. I would like to know 1) How can I check to make sure the system is running OK ( I'm from the windows world) where we have event logs and performance monitor to make sure the install was done correctly, give you page fault data mem ,cpu usage etc... Any tools or commands in FreeBSD that can give me this type of info? 2) given the above specs, is that ok to handle mail for roughly 40 users? Thanks in advance Jean-Paul Natola Network Administrator Information Technology Family Care International 588 Broadway Suite 503 New York, NY 10012 Phone:212-941-5300 xt 36 Fax: 212-941-5563 Mailto: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mailscanner PC requirements
On Wed, Jun 01, 2005 at 01:38:04PM -0400, Jean-Paul Natola wrote: Oh the Ironies of life, I actually redid my install because someone on the list told me that there was no reason (point) to even install KDE since I was going to use it only for Mailscanner.. Should I go ahead and reinstall it? Installing X on a server is overkill, unless you plan on staring at the monitor all day. OTOH, FreeBSD also makes for a nice desktop system. Better activate sshd (Secure Shell daemon) and log into the machine from your desktop, e.g. with 'putty'. That way you can run commands like 'systat -vmstat' remotely. You can also view the logfiles by logging in remotely. If you are logged in you can also modify syslog.conf to have the system write you a message whenever certain types of error occur. You could even have the system e-mail you the error messages (unless the e-mail isn't working :-) Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpA7NneNo2y2.pgp Description: PGP signature
Re: MailScanner
Hi I think you meant to send this to the MailScanner list, but as I'm on both I'll bite.. Should still be going to maillog, possibly along with your MTA. have you changed you syslog.conf settings at all? -- Martin Hepworth Snr Systems Administrator Solid State Logic Tel: +44 (0)1865 842300 RL wrote: We upgraded to MailScanner 4.36.4 and use spamassasin. I'm used to the older version having a log file, maillog, that shows logs of all the mail that enters and leaves the server. However, maillog doesn't show this I noticed with this latest version. Instead it logs when updated antivirus are downloaded and when a possible attack may be happening. Does anyone know if there is another log file with 4.36 that shows everything that enters/leaves the mailserver like maillog did? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote confirms that this email message has been swept for the presence of computer viruses and is believed to be clean. ** ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MailScanner
We upgraded to MailScanner 4.36.4 and use spamassasin. I'm used to the older version having a log file, maillog, that shows logs of all the mail that enters and leaves the server. However, maillog doesn't show this I noticed with this latest version. Instead it logs when updated antivirus are downloaded and when a possible attack may be happening. Does anyone know if there is another log file with 4.36 that shows everything that enters/leaves the mailserver like maillog did? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Starting Mailscanner/Sendmail
Hello System: FreeBSD 4.9, Sendmail 8.12.9p2/8.12.8, Mailscanner from ports I've run into following troubles: If the system start it starts to much sendmail process (and there occurs error messages while the system starts). I stop both sendmail process by hand and start the script mta.sh by hand, the it works. I did set sendmail=NO (NONE has the same results) in rc.conf like in the readme file described. But the system starts a standard sendmail process to. If I set in /etc/defaults/rc.conf sendmail=NONE the no process will start but there are some system service who prompt an error messages while he starts. How can I deal with that problem? -- Regards, Martin Schweizer [EMAIL PROTECTED] PC-Service M. Schweizer; Gewerbehaus Schwarz; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; pgp0.pgp Description: PGP signature
mcAfee + postsfix + mailscanner
Anyone using the above configs? I can't get mcafee to scan attachments. please help. thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MailScanner and sendmail
Has anyone successfully gotten MailScanner working with a version of sendmail from version 8.12.9 onward? I tried to add this last night and ran into an evil circle of permissions issues. Set normally, mail would go into the clientqueue after scanned, but owned by root with 600 permissions and the smmsp account couldn't read these files, then with sendmail and MailScanner set to use smmsp user / groups, it could send form clientqueue but the sendamil daemon couldn't store mail in mqueue. I would like to use this as it's got advantages over using Amavis however, with this much hassle on a stock sendmail installation, I'm beginning to think it would just be best to stick with Amavis and forget about the hassle. -- Micheal Patterson TSG Network Administration 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MailScanner and sendmail
- Original Message - From: Micheal Patterson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 21, 2003 2:25 PM Subject: MailScanner and sendmail Has anyone successfully gotten MailScanner working with a version of sendmail from version 8.12.9 onward? I tried to add this last night and ran into an evil circle of permissions issues. Set normally, mail would go into the clientqueue after scanned, but owned by root with 600 permissions and the smmsp account couldn't read these files, then with sendmail and MailScanner set to use smmsp user / groups, it could send form clientqueue but the sendamil daemon couldn't store mail in mqueue. I would like to use this as it's got advantages over using Amavis however, with this much hassle on a stock sendmail installation, I'm beginning to think it would just be best to stick with Amavis and forget about the hassle. -- I'll add to this that both sendmail and MailScanner have both been installed on Fbsd 4.9 from ports. -- Micheal Patterson Network Administration Cancer Care Network 405-917-0600 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freebsd+postfix+mailscanner+uvscan
Hello, Anybody here has some links to help me out with this setup? Any help will be greatly appreciated =). Thanks in advance. chael ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd+postfix+mailscanner+uvscan
On Thu, Oct 09, 2003 at 03:16:10PM +0800, [EMAIL PROTECTED] wrote: Anybody here has some links to help me out with this setup? Any help will be greatly appreciated =). nothing freebsd specific but i used this documents: http://lawmonkey.org/anti-spam.html http://www.ijs.si/software/amavisd/ http://au2.spamassassin.org/index.html http://au2.spamassassin.org/doc.html to build a spam + virus scanning gateway. hth toni -- Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at lieber gar nicht, als dass man verurteile. | Toni Schmidbauer -- Rudolf Steiner| pgp0.pgp Description: PGP signature
Re: postfix, MailScanner, and SpamAssassin on fbsd 5.1
dave wrote: Hello, I've read the installation howto on the MailScanner home page and have got postfix and MailScanner to talk to each other. The problem is whenever i enable the use spamassassin option and restart MailScanner i start getting errors in my maillog about messages being found but no queue directories and to enable hash_queue_names and hash_depth in postfix. I do this and it does not stop the problem, i eventually would also like to add a virus checker, which one is recommended for use on fbsd 5.1? Any help appreciated. dO NOT use Mailscanner with Postfix. Wietse does not like external programs coming in and fiddling with Postfix's innards. Use Amavis if you want to add a virus scanner. David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
postfix, MailScanner, and SpamAssassin on fbsd 5.1
Hello, I've read the installation howto on the MailScanner home page and have got postfix and MailScanner to talk to each other. The problem is whenever i enable the use spamassassin option and restart MailScanner i start getting errors in my maillog about messages being found but no queue directories and to enable hash_queue_names and hash_depth in postfix. I do this and it does not stop the problem, i eventually would also like to add a virus checker, which one is recommended for use on fbsd 5.1? Any help appreciated. Thanks. Dave. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MailScanner
Hello I would like to install MailScanner from ports. The make install works perfect but I've some troubles with the configuration with Sophos and the PERL scripts. Did somebody has experience with it? -- Regards Martin Schweizer [EMAIL PROTECTED] PC-Service M. Schweizer; Gewerbehaus Schwarz; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; pgp0.pgp Description: PGP signature