View previous topic :: View next topic |
Author |
Message |
Xeion n00b

Joined: 01 Sep 2004 Posts: 31
|
Posted: Sun Mar 05, 2006 8:31 pm Post subject: mail configuration |
|
|
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 |
|
 |
indynet Tux's lil' helper


Joined: 07 Feb 2005 Posts: 108 Location: Prague - Czech Republic
|
Posted: Tue Mar 07, 2006 2:30 am Post subject: |
|
|
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 |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 20589
|
Posted: Tue Mar 07, 2006 5:52 am Post subject: |
|
|
Moved from Installing Gentoo _________________ Quis separabit? Quo animo? |
|
Back to top |
|
 |
Xeion n00b

Joined: 01 Sep 2004 Posts: 31
|
Posted: Tue Mar 07, 2006 4:50 pm Post subject: |
|
|
ok thanks, Ill look into "Smart host" configuration, difficult to know what to search for when not knowing the name..  |
|
Back to top |
|
 |
indynet Tux's lil' helper


Joined: 07 Feb 2005 Posts: 108 Location: Prague - Czech Republic
|
Posted: Tue Mar 07, 2006 4:58 pm Post subject: |
|
|
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  |
|
Back to top |
|
 |
Xeion n00b

Joined: 01 Sep 2004 Posts: 31
|
Posted: Fri Mar 10, 2006 9:36 pm Post subject: |
|
|
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 |
|
 |
magic919 Advocate

Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
Posted: Sat Mar 11, 2006 8:06 am Post subject: |
|
|
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 |
|
 |
hegga Apprentice

Joined: 04 Jun 2003 Posts: 210 Location: Norway
|
Posted: Fri Apr 07, 2006 6:27 pm Post subject: |
|
|
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 |
|
 |
|