Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mutt and postfix
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
henning_bravo
Apprentice
Apprentice


Joined: 11 Apr 2007
Posts: 197

PostPosted: Sun Dec 16, 2007 3:45 pm    Post subject: mutt and postfix Reply with quote

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
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Sun Dec 16, 2007 6:30 pm    Post subject: Reply with quote

Are you using Mutt on the actual server? If so, drop that line of config.
Back to top
View user's profile Send private message
henning_bravo
Apprentice
Apprentice


Joined: 11 Apr 2007
Posts: 197

PostPosted: Sun Dec 16, 2007 7:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
henning_bravo
Apprentice
Apprentice


Joined: 11 Apr 2007
Posts: 197

PostPosted: Sun Dec 16, 2007 9:36 pm    Post subject: Reply with quote

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

:D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum