Find the answer to your Linux question:
Results 1 to 2 of 2
Ho folks, I have setup sendmail version: noobian:/home/kevin# mail No mail for root noobian:/home/kevin# /usr/sbin/sendmail -d0.4 -bv root Version 8.12.3 I can send mail to my ISP email account from ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2004
    Posts
    18

    relay denied


    Ho folks,

    I have setup sendmail version:

    noobian:/home/kevin# mail
    No mail for root
    noobian:/home/kevin# /usr/sbin/sendmail -d0.4 -bv root
    Version 8.12.3


    I can send mail to my ISP email account from the debian box, but when I fire up outlook express, and try and send mail using my debian box, I get the following error:

    The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'Altern8@ntlworld.com'. Subject '', Account: 'Testaccount', Server: '192.168.20.1', Protocol: SMTP, Server Response: '550 5.7.1 <Altern8@ntlworld.com>... Relaying denied. IP name lookup failed [192.168.20.2]', Port: 25, Secure(SSL): No, Server Error: 550, Error Number: 0x800CCC79

    (192.168.20.1=ip address on my eth1)
    (192.168.20.2=ip address on my windows box)


    Can anyone help me fix this problem?

    Cheers

    Kevin

  2. #2
    Linux Newbie
    Join Date
    Apr 2004
    Posts
    158
    Hi,

    You need to allow relaying of mail from your user (or that ip-address...)

    in /etc/mail/access

    add the following

    Testaccount@* RELAY

    and restart the mail server (service sendmail restart if you run RedHat...)

    I'm not a 100% on the syntax in the file but look at the docs if unsure..

    //jonas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •