Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mail configuration
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
Xeion
n00b
n00b


Joined: 01 Sep 2004
Posts: 31

PostPosted: Sun Mar 05, 2006 8:31 pm    Post subject: mail configuration Reply with quote

This might be a stupid question but..
I have just installed gentoo with qmail and the mail on the local machine seems to work, but if I want to send a mail out on the internet it does not work.
I think the bigest trouble is that my isp blocks mail-traffic that does not go through their mail-server so I need to configure qmail to send those mail to that snmp server so that those mail can be delivered.
How can I confibure qmail to do that, I have not found any documentation that describes that, or do I need another plugin or something to make it work??
Back to top
View user's profile Send private message
indynet
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2005
Posts: 108
Location: Prague - Czech Republic

PostPosted: Tue Mar 07, 2006 2:30 am    Post subject: Reply with quote

Im not using qmail, but if you have troouble so try postfix. There is no problem to setup smart host with postfix.


By google I found...

How to configure QMail to use a Smart Host :

If you want qmail to send all outbound mail via a particular mail server
rather than to send it direct to the recipient's mail server, then this
can be achieved with the smtproutes command.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20589

PostPosted: Tue Mar 07, 2006 5:52 am    Post subject: Reply with quote

Moved from Installing Gentoo
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Xeion
n00b
n00b


Joined: 01 Sep 2004
Posts: 31

PostPosted: Tue Mar 07, 2006 4:50 pm    Post subject: Reply with quote

ok thanks, Ill look into "Smart host" configuration, difficult to know what to search for when not knowing the name.. :)
Back to top
View user's profile Send private message
indynet
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2005
Posts: 108
Location: Prague - Czech Republic

PostPosted: Tue Mar 07, 2006 4:58 pm    Post subject: Reply with quote

Xeion wrote:
ok thanks, Ill look into "Smart host" configuration, difficult to know what to search for when not knowing the name.. :)



Smart host is sendmail directive, so I hope qmail is using same :wink:
Back to top
View user's profile Send private message
Xeion
n00b
n00b


Joined: 01 Sep 2004
Posts: 31

PostPosted: Fri Mar 10, 2006 9:36 pm    Post subject: Reply with quote

I have run into problems with this smarthost configuration..
I have a gentoo server behind NAT running qmail and when I try to setup smarthost or releying the ISP server rejects the send..
Have tried to setup "/var/qmail/control/smtproutes" as:
:smtp.myisp.net
But this does not work, myisp rejects the send with errormessage "553 MyHost.MyLocalNet does not exist" probably becouse MyHost.MyLocalNet is not a FQDN since MyHost in behind NAT.

How can I work around this, could I configure Qmail somehow? Maybe to use my gateways ip or domainname and forward a port on the gateway or could modifying my DNS configuration MX for MyLocalNet somehow??

The ISP does support relaying, could I need to authenticate against the ISP smtp server and in that case where do I configure that, cant find any good documentation describing this problem and configuration.. :(

Could someone please help..
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


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

PostPosted: Sat Mar 11, 2006 8:06 am    Post subject: Reply with quote

I don't do Qmail but you want to look for SMTP AUTH, as a client rather than server in this case. Client to ISPs SMTP server.
Back to top
View user's profile Send private message
hegga
Apprentice
Apprentice


Joined: 04 Jun 2003
Posts: 210
Location: Norway

PostPosted: Fri Apr 07, 2006 6:27 pm    Post subject: Reply with quote

Xeion wrote:
I have run into problems with this smarthost configuration..
I have a gentoo server behind NAT running qmail and when I try to setup smarthost or releying the ISP server rejects the send..
Have tried to setup "/var/qmail/control/smtproutes" as:
:smtp.myisp.net
But this does not work, myisp rejects the send with errormessage "553 MyHost.MyLocalNet does not exist" probably becouse MyHost.MyLocalNet is not a FQDN since MyHost in behind NAT.

How can I work around this, could I configure Qmail somehow? Maybe to use my gateways ip or domainname and forward a port on the gateway or could modifying my DNS configuration MX for MyLocalNet somehow??

The ISP does support relaying, could I need to authenticate against the ISP smtp server and in that case where do I configure that, cant find any good documentation describing this problem and configuration.. :(

Could someone please help..


echo your.reversedns.whatever >> /var/qmail/control/helohost

would that work? that way you can control what qmail sends in it's helo command.
_________________
hegga
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