Stupid me?

Rob rob at THEHOSTMASTERS.COM
Tue Jun 28 17:34:20 IST 2005


    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

That Did it!
 
Thanks dude!
 
But the weird thing is I do not have that on another system... but I will
check it out....
 
Thanks once again to all

Rob...
      ----- Original Message -----
From: Vladan Nikolic
To: MAILSCANNER at JISCMAIL.AC.UK
Sent: Tuesday, June 28, 2005 12:23 PM
Subject: Re: Stupid me?

sorry, i type that from my head... instead of hash, try regexp or
pcre, so:
 
header_checks = regexp:/etc/postfix/header_checks
 
 

________________________________________________________________________________
Hmm I do not remember doing that... but I added it,  now I get this
in the log....
 
postfix/smtp[4071]: connect to localhost[127.0.0.1]: Connection
refused (port 10024)
I believe that's for antispam?
 
thanks for the very quick reply!
 

Rob...
      ----- Original Message -----
From: Vladan Nikolic
To: MAILSCANNER at JISCMAIL.AC.UK
Sent: Tuesday, June 28, 2005 11:55 AM
Subject: Re: Stupid me?

in /etc/postfix/main.cf:
 
header_checks = hash:/etc/postfix/header_checks
 
then, create file /etc/postfix/header_checks that contain
 
/^Received/    HOLD
 
and then reload postfix...

________________________________________________________________________________
I just installed Mailscanner on Debian Sarge like I have done
5 times before.... However in the logs it does nor show
mailscanner being used and nothing in the headers either.....
 
What did I miss??
 
Here is configs....
 
used apt-get install clamav
used apt-get install mailscanner
 
using postfix as MTA
 
this is just a relay no local mail delivery
 
/etc/Mailscanner/Mailscanner.conf
MTA=postfix
Run As User = postfix
Run As Group = postfix
Incoming Queue Dir = /var/spool/postfix/hold
Outgoing Queue Dir = /var/spool/postfix/incoming
Use SpamAssassin = yes
Virus Scanners = clamav
Virus Scanning = yes
 
/etc/postfix/main.cf
relay_domains = hash:/etc/postfix/relay_domains
relayhost = [xxx.xxx.xxx.xxx]
mydestination =  (so it does not deliver locally
local_recipient_maps =
 
/etc/postfix/relay_domains
domain.com  OK
 
/etc/postfix/transport
domain.com   smtp:[realsmtp.server.com]
 
it relays email just fine for the domain(s) but does not go
through mailscanner...
 
I must be forgetting something??
 
:)

Rob...

________________________________________________________________________________
------------------------ MailScanner list
------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/)
and the archives
(http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the
website!

________________________________________________________________________________
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/)
and the archives
(http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/)
and the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list