exim4 and sendmail?
I am trying to develop a script which can be used to send emails from my home computer. I don't need to receive any mails just send it.
Right now I am sending emails from my home computer which is on my home LAN (Standard ISP Modem->Router Configuration) using the following command: Code:
#!/bin/bash However, by default if one tries to install the mailx package (bsd-mailx), Exim4 gets installed as the default MTA instead of sendmail. Code:
debian-workstation:~# apt-get install mailx I have tried configuring exim4 using the command: Code:
dpkg-reconfigure exim4-config I would like to know how can I send emails using exim4 since it is the default one. As far as I understand exim4 and sendmail are both MTA and they conflict (naturally) with each other if you try to install any one of them. |
This might clear up some things: Debian Installation Guide: Setting Up Your System To Use E-Mail
I advice you to go for "mail sent by smarthost" or "mail sent by smarthost; no local mail" if you don't need local mail (if it's only you on the server you probably won't need local mail, but having it enabled won't hurt either) :) |
Quote:
Can anybody post their configuration if they are using exim4 to send emails? |
Exim shoul dbe able to send e-mails (by using /usr/sbin/sendmail or /us/bin/mail) without any prior configuration.
I suggest that you check the mail logs in /var/log/mail.info |
All times are GMT -5. The time now is 08:27 AM. |