Results 1 to 3 of 3
What is the minimum I have to do to configure postfix to accept incoming SMTP messages and store them somewhere? I need to set up a mail server in a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-03-2005 #1
Postfix minimal configuration
Or if it's easier to do this using sendmail let me know what I need to do ...
The only tutorials I can find are extremely long winded and involve steps that aren't necessary for what I want to achieve.
- 05-04-2005 #2
- Join Date
- Feb 2005
- SE, Stockholm
Insert this in your /etc/postfix/main.cf last of all
myhostname = your.host.and.domain mydomain = your.domain mydestination = $mydomain mynetworks = 127.0.0.0/8
All emails would end up att $LOCALUSER@$mydomain
If you want to set some alias on emails a simple VHOST configuration would be quite easy to set up as well.
virtual_maps = hash:/etc/postfix/virtual
And this file should look like something like this:
If you wish that all e-mails with unknown recipient address to be forwarded into a certain user add one line in your virtual file like this
- 05-04-2005 #3
I've done as you suggested and restarted the postfix server service, but it seems that port 25 is not open on the computer as I can't telnet on to it from the Internet. I have configured port forwarding on my firewall to route port 25 to the NAT address of my Mandrake box. How can I open the port? I had read that once you have configured your MTA the port would just open but it seems that is not the case!
The strange thing is nmap shows port 25 is open?!
[root@mandrake postfix]# nmap localhost Starting nmap 3.55 ( http://www.insecure.org/nmap/ ) at 2005-05-04 16:42 BST Interesting ports on mandrake (127.0.0.1): (The 1634 ports scanned but not shown below are in state: closed) PORT STATE SERVICE 21/tcp open ftp 22/tcp open ssh 25/tcp open smtp 80/tcp open http 110/tcp open pop3