View previous topic :: View next topic |
Author |
Message |
henning_bravo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 11 Apr 2007 Posts: 197
|
Posted: Sun Dec 16, 2007 3:45 pm Post subject: mutt and postfix |
|
|
Hello!
I'm trying to set up a mailserver using this guide.
I've followed the steps and now I'm recommended to use mutt to verify that I can use my server as an smtp-server.
Quote: | Now that postfix is running, fire up your favorite console mail client and send yourself an email. I use mutt for all my console mail. Verify that postfix is delivering mail to local users, once that's done, we're on to the next step. |
I have added this in my .muttrc file:
Code: | set smtp_url="smtp://domain.com:13777" |
I cant use port 25 since my ISP is blocking me.
When I in mutt am trying to compose a new mail I get this message:
Quote: | Could not connect to domain.com (Connection refused). |
Any idéas where to look?
Thanks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
magic919 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
Posted: Sun Dec 16, 2007 6:30 pm Post subject: |
|
|
Are you using Mutt on the actual server? If so, drop that line of config. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
henning_bravo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 11 Apr 2007 Posts: 197
|
Posted: Sun Dec 16, 2007 7:55 pm Post subject: |
|
|
magic919 wrote: | Are you using Mutt on the actual server? If so, drop that line of config. |
That worked fine!
But say I want to connect from another machine? I tried that and I got the same error as above. The MX for the domain is correct and port 13777 for tcp is on allow in iptables. Is there any log or do you have any idéa? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
henning_bravo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 11 Apr 2007 Posts: 197
|
Posted: Sun Dec 16, 2007 9:36 pm Post subject: |
|
|
henning_bravo wrote: | magic919 wrote: | Are you using Mutt on the actual server? If so, drop that line of config. |
That worked fine!
But say I want to connect from another machine? I tried that and I got the same error as above. The MX for the domain is correct and port 13777 for tcp is on allow in iptables. Is there any log or do you have any idéa? |
Quote: | 16. How can I get Postfix to listen on a port other than 25?
Set the port in an smtpd entry in the master.cf file. You can change the existing smtpd entry or add an additional one depending on what you need.
An entry like the following causes Postfix to listen on port 10025:
10025 inet n - n - - smtp |
![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|