> 
> 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

Are you looking for something like smtpclient?  Part of a requeue alias I
use:

/usr/local/bin/smtpclient --with-headers -S localhost -P 10025 "$1"

MrC




_______________________________________________
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