[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sending a simple mail from debian slug

On 16/12/12 11:02, tw.castell@arcor.de wrote:
Hi everyone and thanks for your support,

I'll try to answer all questions so far.

I don't know sendEmail, but I would expect Arcor to require some
Yes, I thought that is what exim is for.

Exim is more for doing your actual mail delivery. If you're sending through a third-party mail service then you will need to do some extra configuration to authenticate with that mail service.

It would be more normal to use your own ISP's smart host to relay your outgoing mail. That probably wouldn't require authentication, since it would recognise that you are coming from one of its IP addresses.

As an alternative, if you only need to send e-mail to one address, you could configure that address's recipient e-mail server as your smart host. You then wouldn't need to do any authentication because the server would recognise the incoming e-mail as being for one of its users.

Assuming however that you do need to route through Arcor, then you need to edit /etc/exim4/passwd.client and put the relevant authentication details there. There are comments in the file to tell you what to put.

I rebooted the NSLU2 of course.
How? When?
Well, I have not applied the option to shutdown the slug with the
power button, so I just unplug the power.


The directory /var is empty.

More ouch! Unless you have multiple file systems on your stick (show us the contents of /etc/fstab) it seems you might have corrupted your file system by yanking the power. It's very unusual, but it is possible if you don't shut the system down cleanly. The same thing might account for the disappearance of sshd.

I did find the paniclog under:
/etc/logrotate.d/exim4-paniclog but not the auth.log.

/var/log/exim4/paniclog {
	size 10M
	rotate 10
	create 640 Debian-exim adm

That's just an instruction on how to handle log rotation - not the file itself.

Your best bet might be to re-install Debian on the slug, then configure exim (unless of course you have a backup of the file system).

Don't shut down systems by yanking the power.

Use "sudo shutdown -h now".


Reply to: