Table of Contents
If you want to send us your comments, please do so. Thanks
More on comments
nullmailer
Send mail from cron
To send mail from cron and alike to /var/mail/user use dma
Configuartion
/bin/hostname > /usr/local/etc/nullmailer/me /bin/hostname > /etc/nullmailer/me
cd /etc/alternatives rm mta mta-sendmail ln -s /usr/sbin/sendmail mta ln -s /usr/sbin/sendmail mta-sendmail
Commands
service nullmailer restart
You can also use start or stop instead of restart Send the messages in the queue manually
smtp --help nullmailer-send
Examples
Send an e-mail. Make sure to add the senders e-mailaddress with the -r option
mailx -s Hallo -r user@somedomain.com user@somedomain.com
Then enter the message and close with CTRL-D
/etc/nullmailer/remotes file. The order is important
localhost smtp (this does not work yet) #mail.host.nl smtp --port=465 --ssl --auth-login --user=username --pass=PASSWORD mail.host.nl smtp --port=465 --ssl --insecure --user=username --pass=PASSWORD smtp.otherhostname.net smtp --port=465 --ssl
smtp is the file from /usr/lib/nullmailer/smtp
Files and Folders
File | Desription | man page |
---|---|---|
/etc/mailname | Hostname of the PC nullmailer is running on | |
/etc/nullmailer/adminaddr | The account the local mail has to be send to like user@localhost | nullmailer-queue |
/etc/nullmailer/defaultdomain | Can be left empty. The value of /etc/mailname is used. If /etc/mailname is empty defauldomain is used | nullmailer-inject |
/etc/nullmailer/pausetime | Time in seconds between successive queue runs | nullmailer-send |
/etc/nullmailer/remotes | ||
/usr/lib/nullmailer/smtp | The protocol program directory with the smtp protocol file | nullmailer-send |
/var/spool/nullmailer | The nullmailer spool folder | |
/var/spool/nullmailer/queue | The mail queue folder | |
/usr/share/lintian/overrides/nullmailer | ||
/sbin/smtp | Some other smtp program | No manpage |
More locations: do updatedb; locate nullmailer
Useful links
nullmailer
Using nullmailer-smtpd for localhost:25
MailConcept
nullmailer landmines
5 ways to send e-mail from linux command line
Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy
RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2024 Webevaluation.nl and the authors
Changes reserved.