On Thu, 1 Jun 2006, Mark Martinec wrote:

> > >It is an unpublished EICAR robot so
> > >our customers and our engineers can test their email setup
> > >by requesting and eicar file being send per email.
>
> Noel already listed the choices. I'd just like to
> remind that such a robot/responder is pretty much
> like a mailing list manager: the easiest way is to
> configure it to submit (its trusted or already verified
> mail) to Postfix on port 10025.

Sound good. Currently this shell script does use the default sendmail
binary to send it out:
        /usr/sbin/sendmail -r $RECIPIENT $SENDER < $REPLY

I have not found a way to make this work against port 10025 except doing
some manual tricks with netcat. But I might be staring at the obvious
solution without seeing it. At least it works now. So at present I write
the SMTP headers to the top of $REPLY and use this line to deliver:
        nc -i 1 127.0.0.1 10025 < $REPLY

It works for me (TM)

But it is a bit ugly in my view. (But so is most of this script anyway ;-)

Hugo.

-- 
        I hate duplicates. Just reply to the relevant mailinglist.
        [EMAIL PROTECTED]               http://hvdkooij.xs4all.nl/
                Don't meddle in the affairs of magicians,
                for they are subtle and quick to anger.


_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to