Send an email from command line

Hello,

On a LinuxBox, I’ve got Lotus Domino Server 6.5.1 and several other softwares of which Arkeia ( a backup solution). With this soft (Arkeia and others), I can send mail to administrator with logs but they use sendmail (or postfix).

How I can use this. If I try to launch postfix, I(ve an error because my port 25 is in use ( with lotus smtp server).

So I think write a program with Perl. But how can I write a mail and put in the mailbox’s lotus server in order send it ?

Best regards

Jerome

Subject: send an email from command line

Can’t you just send properly formatted data to Domino’s port 25? I guess Perl has some libraries with API for composing SMTP e-mail.

Subject: RE: send an email from command line

i used a tool to do this, do a google search for sending “smtp mail from command line”

i cant remember what we used, it was called something like “mailsend.exe”

Subject: RE: send an email from command line

Hi,

OK i found sendEmail wrote in PERL to do that, google is a fantastic tool but is difficult for non english people to find something :slight_smile:

I hope i’ll success in use sendEmail with Arkeia Software.

Thanks for your idea

Best regards

Jerome

Subject: RE: send an email from command line

Yes I can send a email via perl with MIME::Lite using port 25.It’s fine to send my logs. But what about concerning a soft like Arkeia ? This soft call /usr/sbin/sendmail and it is a link to /etc/alternatives/sendmail-command.

How can I change with my Perl’s script or with Lotus ?

Best regards

Jerome