[Mail scanned] Re: [Mail scanned] postfix and Mailscanner Installation

damian damian at SCIENCE.NUS.EDU.SG
Fri Oct 31 01:13:33 GMT 2003


Hi,

Is postfix working? sending and receiving mail?

You can try this:

$ telnet oxygen 25
Trying [ip address of host]
Connected to [host].
Escape character is '^]'.
220 [host] ESMTP Postfix
$helo world
250 oxygen.science.nus.edu.sg
$mail from: damian at science.nus.edu.sg
250 Ok
$rcpt to: damian at science.nus.edu.sg
250 Ok
$data
354 End data with <CR><LF>.<CR><LF>
$test
$.
250 Ok: queued as 6CA8D77C42
$quit
221 Bye

if this works, it means that your postfix is working.

rgds,
Damian

On Thu, 2003-10-30 at 20:33, Pete russell wrote:
> As I am really after something that will work with the LEAST amount of
> me messing with config files - if I have a completely untouched install
> of sendmail (installed with Red Hat OS installation), and I install
> MailScanner - will mail Scanner configure all sendmail bits for me - eg
> after install of MailScanner the machine will receive and relay mail?
>
> I would still need to figure out how to tell sendmail to only receive
> mail addressed to either of my domains, and then some how provide a
> transport map on which 2 IPs to route mail for each Domain? Where will I
> fin the info to complete this? I don't really have a big preference for
> an MTA, I just want to get this pilot off the ground, in place and start
> testing mail routing and spam detection.
>
> We have a small organization and prefer to forward all mail that is
> marked as Spam to one email account, until we figure out our detection
> settings - then we would like to reject mail that is Spam - is the
> method most use? Or do most use tagging and let mail users use local
> mail rules to filter?
>
> Thanks in advance
> Pete
>
> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of Pete russell
> Sent: Thursday, 30 October 2003 7:20 PM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: [Mail scanned] postfix and Mailscanner Installation
>
> Sorry if I wasn't clear, I have performed all the actions an TRIPLE
> checked them as required in the Postfix installation guide on the
> mailscanner site.
>
> I have those dirs.
>
> Pete
>
> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of damian
> Sent: Thursday, 30 October 2003 7:05 PM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: [Mail scanned] postfix and Mailscanner Installation
>
> hi,
>
> Think you need a postfix.in and postfix.
>
> Check the documentation on using postfix with mailscanner.
>
> Rgds
>
> Damian
>
> On Thu, 2003-10-30 at 14:56, Pete russell wrote:
> > Hi there I have been try unsuccessfully to install Postfix and
> > mailscanner on a fresh red Hat 9 machine.
> >
> > I create a new group postdrop and new user postfix, without shell or
> > home directory.
> >
> > Install Postfix from source using make then make install commands and
> > leave all options as default.
> >
> > I set up postfix so I can send mail to it, when MX records are pointed
> > at it. I have changed the options in master.cf for chroot, for
> > everything listed except pipe, proxymap, local and pipe.
> >
> > I set up a transport map so that I can out mail to our 2 mail domains
> -
> > domain1.com = smtp:10.1.10.3 and domain2.com = smtp:10.1.4.3
> >
> > Install MailScanner and follow the instructions for postfix on the
> > mailscanner install guide.
> >
> > I have a second linux machine with a fake DNS and MX pointing to the
> > private IP of the mailscanner box - so from this machine when I send
> > mail to user at domain1.com the mail is sent and received by the
> > mailscanner box and I get a message on the maillog about the mail
> being
> > deferred, but that's it, nothing else eve happens, no log entries and
> I
> > can find any files in any of the mailscanner or postfix queues.
> >
> > Is there any way of turning on more detailed logging, like you can do
> > with sendmail, maybe this will help me trace the message through my
> > mailscanner system?
> >
> > Is there anything I can do to either postfix or mailscanner to ensure
> > mail is accepted and routed, without being scanned - then once I have
> > proved mail routing is working, turn on mailscanner anti spam, and
> then
> > maybe turn on spam assassin and then lastly clamav - seems crazy for
> me
> > as a newbie to try and test with everything turned up/on - so I have
> not
> > entered the line for clamav in the mailscanner.conf, and have spam
> > assassin support turned off.
> >
> >
> >
> > What do I do to postfix or mailscanner to just let the mail route, no
> > spam tests, esp DNS as I am on a private network without any real DNS.
> >
> > Is it possible to just have postfix installed, and completely not
> > touched and then run mailscanner install and this make everything
> work?
> >
> > IF sendmail is installed (eg when you install the OS) is it possible
> to
> > install mailscanner and everything will work, without changing
> anything
> > in sendmail?
> >
> > Where should I look for the mail that is deferred?
> >
> > How do I turn on more detailed logging - currently I have a console
> open
> > with tail -f /var/log/maillog running
> >
> > Thanks in advance for ANY help anyone can offer. (I know they are a
> lot
> > of questions, but I thought easier If I put them in one email, rather
> > than a few)
> > Pete
> --
> damian <damian at science.nus.edu.sg>
--
damian <damian at science.nus.edu.sg>



More information about the MailScanner mailing list