Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with smtp server
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
kaksi
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2004
Posts: 125

PostPosted: Tue Aug 10, 2004 10:24 pm    Post subject: Problem with smtp server Reply with quote

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


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Wed Aug 11, 2004 7:50 am    Post subject: Reply with quote

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
View user's profile Send private message
kaksi
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2004
Posts: 125

PostPosted: Wed Aug 11, 2004 9:59 am    Post subject: Reply with quote

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


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Wed Aug 11, 2004 10:24 am    Post subject: Reply with quote

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
View user's profile Send private message
kaksi
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2004
Posts: 125

PostPosted: Wed Aug 11, 2004 5:08 pm    Post subject: Reply with quote

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


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Thu Aug 12, 2004 6:20 am    Post subject: Reply with quote

$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
View user's profile Send private message
kaksi
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2004
Posts: 125

PostPosted: Thu Aug 12, 2004 8:38 am    Post subject: Reply with quote

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


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Thu Aug 12, 2004 9:09 pm    Post subject: Re: Problem with smtp server Reply with quote

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


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Fri Aug 13, 2004 8:34 am    Post subject: Reply with quote

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
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