View previous topic :: View next topic |
Author |
Message |
kaksi Tux's lil' helper
Joined: 21 May 2004 Posts: 125
|
Posted: Tue Aug 10, 2004 10:24 pm Post subject: Problem with smtp server |
|
|
I have followed the follwing guide to setup my mailsystem:
http://www.gentoo.org/doc/en/qmail-howto.xml
It is all working except that I can only send mail to anyone@mydomain.com but not anyone@anydomain.com....
What do I need to do to be able to send emails to anyone? |
|
Back to top |
|
|
gnuageux Veteran
Joined: 17 Apr 2004 Posts: 1201
|
Posted: Wed Aug 11, 2004 7:50 am Post subject: |
|
|
What error do you get when trying to send mail to anyone@anydomain.com? _________________ The realOTW: http://forums.realotw.org/index.php
Registered Linux user#364538 |
|
Back to top |
|
|
kaksi Tux's lil' helper
Joined: 21 May 2004 Posts: 125
|
Posted: Wed Aug 11, 2004 9:59 am Post subject: |
|
|
An error occured while sending mail. The mailserver responded; sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) .... |
|
Back to top |
|
|
gnuageux Veteran
Joined: 17 Apr 2004 Posts: 1201
|
Posted: Wed Aug 11, 2004 10:24 am Post subject: |
|
|
You need to add the problematic domain to sendmail.cw. Then restart sendmail. _________________ The realOTW: http://forums.realotw.org/index.php
Registered Linux user#364538 |
|
Back to top |
|
|
kaksi Tux's lil' helper
Joined: 21 May 2004 Posts: 125
|
Posted: Wed Aug 11, 2004 5:08 pm Post subject: |
|
|
Can I set it to allow me to email to any domain? Right now I can only send emails to my own domain (grand1982.com)...
Where is the file located that I need to edit? |
|
Back to top |
|
|
gnuageux Veteran
Joined: 17 Apr 2004 Posts: 1201
|
Posted: Thu Aug 12, 2004 6:20 am Post subject: |
|
|
$locate sendmail.cw
Depends on your directory structure actually. Ive seen it in odd places like /opt/mnt/home/config, which is not where it'd be on your box.
You may be able to, but why would you want to? Even if the MTA is set to accept mail for any domain people from the internet wouldnt be able to deliver mail there b/c chances are the mx records for the wildcard domains point elsewhere. _________________ The realOTW: http://forums.realotw.org/index.php
Registered Linux user#364538 |
|
Back to top |
|
|
kaksi Tux's lil' helper
Joined: 21 May 2004 Posts: 125
|
Posted: Thu Aug 12, 2004 8:38 am Post subject: |
|
|
But I want to be able to send emails to any emailadress from my own adress... Like I can with any other smtp server....
Well, it seems like my ISP will be closing port 25 so it really doesnt matter anymore since I will be force to use the ISP's smtp server |
|
Back to top |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Thu Aug 12, 2004 9:09 pm Post subject: Re: Problem with smtp server |
|
|
kaksi wrote: | I have followed the follwing guide to setup my mailsystem:
http://www.gentoo.org/doc/en/qmail-howto.xml
It is all working except that I can only send mail to anyone@mydomain.com but not anyone@anydomain.com....
What do I need to do to be able to send emails to anyone? |
I'm assuming you're using qmail and not sendmail. So ignore the other posts as you've got no sendmail. files. Chances are you're ip space isn't in your /etc/tcp.smtp Here is mine.
laxmail root # more /etc/tcp.smtp
10.20.9.:allow,RELAYCLIENT=""
127.0.0.1:allow,RELAYCLIENT=""
:allow
then do
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
chmod 644 /etc/tcp.smtp*
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
|
gnuageux Veteran
Joined: 17 Apr 2004 Posts: 1201
|
Posted: Fri Aug 13, 2004 8:34 am Post subject: |
|
|
Maybe I read that wrong. I thought that you were trying to rec. mails using your smtp for any domain. _________________ The realOTW: http://forums.realotw.org/index.php
Registered Linux user#364538 |
|
Back to top |
|
|
|