mail from linux prompt

Richard Bos ml at radoeka.nl
Sun Dec 6 16:27:07 CET 2009


Op zondag 06 december 2009 15:26:28 schreef Naresh Kumar:
> Hi Gunnar,
>
> Thanks for your response on log rotation. The logs used to rotate earlier
> and I didn't check the cron before, so I am not sure whether cron entries
> are missing or not. I have added the cron entries now.
>
> I have another query now. How can I send an email from prompt using
> postfix. I have written a script to monitor system health and kolab usage.
> I want to send the output of this script to myself via email. I could do it
> easily with sendmail using mail/mailx but with postfix I am missing
> something !
>
> Thank you very much for your time.

What is the result of the sent from the command line?
Doing this 'echo something | mailx -s login at domain.tld' normally works.

I wrote this http://en.opensuse.org/Kolab#Hint some time ago, perhaps it 
helps.


-- 
Richard




More information about the users mailing list