Find the answer to your Linux question:
Results 1 to 10 of 10
Hi people I got this problem on my ssmtp ( Debian 2.6.8 ) A few days ago I install ssmtp on my debian. but when I try sending a message ...
  1. #1
    Just Joined!
    Join Date
    Dec 2006
    Posts
    21

    Lightbulb ssmtp problem

    Hi people

    I got this problem on my ssmtp ( Debian 2.6.8 ) A few days ago I install ssmtp
    on my debian. but when I try sending a message

    Code:
    #ssmtp karlo@gmail.com
    subj: Test
    I'm testing this
    I got this and the mail is not delivered

    ssmtp: cannot open 192.168.2.30:25


    this is my ssmtp.conf

    Code:
    root=postmaster 
    mailhub=192.168.2.30
    rewriteDomain=asterisk 
    hostname=debian
    FromLineOverride="YES"
    I don't know if the parameter hostname is OK, the default was localhost.localdomain

    What could it be the problem? with this configuration

    regards

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    do you use any firewall , if yes , permit the port number 25 , thats the smtp port .

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Posts
    1

    install amavis and spamassasin in linux debian mail server

    Hello ,

    we can't install spamassasin in a linux debian mail server . The amavis installation has completed successfully , but the spamassasin show to be masked . What we can do ?

    Thanks ,
    nito1984

  4. #4
    Just Joined!
    Join Date
    Dec 2006
    Posts
    21

    Exclamation

    Quote Originally Posted by iwanabeguru
    do you use any firewall , if yes , permit the port number 25 , thats the smtp port .

    Ok i'm learning debian how can i do that from command line, I did not install graphic interface.

  5. #5
    Just Joined!
    Join Date
    Dec 2006
    Posts
    21

    firewall

    iwanabeguru


    I'm learning debian

    How can I unblock that port?

    thanks a lot

  6. #6
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    install the firestarter frontend for iptables

    apt-get install firestarter

    and you will can add rules to the packet filter from gui.

    192.168.2.30 is your ip or the gateway?

  7. #7
    Just Joined!
    Join Date
    Dec 2006
    Posts
    21
    weli I'm working without graphic mode

    Still i can work with firestarter

    192.168.2.30 it's my ip address I'm in a LAN

  8. #8
    Just Joined!
    Join Date
    Dec 2006
    Posts
    21
    update

    this command show me that I'm not using the port 25

    Code:
    lsof -i :25

    instead of

    Code:
    lsof -i :80
    apache

    i don't know what's the problem

  9. #9
    Just Joined!
    Join Date
    Dec 2006
    Posts
    21
    ----- another point ----
    I tried this too using the gmail smtp

    Code:
    root=karlo@gmail.com
    mailhub=smtp.gmail.com
    rewriteDomain=gmail.com 
    hostname=debian
    FromLineOverride="YES"
    but I got this error

    ssmpt: 530 5.7.0 Must issue a STARTTLS command first

  10. #10
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    have you a firewall?
    from CLI use the iptables
    give the output of "iptables -L" command
    from your ip think you are using NAT , on the nat server you need set up the portforwarding for port 25.

Posting Permissions

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