tweenux
RSS Feed Email Feed

Tag Archives: mail

exim4: domain with both local and remote users

I suddenly found a problem with my current exim4 configuration.
A specific domain is said to be local, but only some of the e-mail users are moved to this current server. Mail is actually received from an external mailserver, so the users on this local systems receive their mail from a fetchmail command.
If they are to [...]

Useful bash commands

It’s not always easy to remember the commands used for a special task if performed once a year.
Below I have gathered a few such commands that may be of interest in the future too.
1. Sending mail with/without attachment.

:~$ echo "message body" | mail -s "my subject" user@mail

:~$ echo "message body" | mutt -s "my subject" [...]