I will start to say that I am cough a MS dev and not a sys admin so please go easy.
I have a server on the cloud that runs Ubuntu 9.10 (Karmic Koala)
and is just a mail server. A lost friend of mine set this up for me, all works fine and it has been running for a couple of years.
The server currently has a single mail user setup and has IP filtering turned on.
However I need to make a couple of mods:-
- Add new mail users so I can hand out usernames and passwords to a couple of clients
- Add new IP addresses to the safe sender list (or whatever you call it)
However I got no idea where to start and could do with a few pointers (tutorials) showing me how I do these two basic tasks.
Can anyone help?
root@smtpauth:/# ps -ef | egrep -i "mail|post|exim"
root 2404 1 0 Apr09 ? 00:00:02 /usr/lib/postfix/master
postfix 2412 2404 0 Apr09 ? 00:00:00 qmgr -l -t fifo -u
root 2413 1 0 Apr09 ? 00:00:01 /usr/sbin/dovecot -c /etc/dovecot/dovecot-postfix.conf
postfix 2471 2404 0 Apr09 ? 00:00:00 tlsmgr -l -t unix -u -c
postfix 32299 2404 0 13:44 ? 00:00:00 pickup -l -t fifo -u -c
edit2 I have found this as an old note
ADD USER
cd /
useradd smtpuser
passwd smtpuser
KEY IN PWD
then
cd /etc/postfix
ls -l
cp main.cf main.cf~working20120504
nano main.cf
CTRL + w type in mynetworks
OR user up down arrows to find mynetworks
add space then IP address
CTRL + x
then press Y
/etc/init.d/postfix reload
So it looks like I first add a user then add IP address to a config setting called mynetworks.