how to config sendmail.mc to receive email in debian squeeze

Discussion in 'Installation/Configuration' started by GioMBG, Jul 30, 2011.

  1. GioMBG

    GioMBG New Member

    Hi Staff,
    is three day that I try to configure sendmail.mc with my debian squeeze to receive email from external, I can only send mail but I don't receive mail from local too.
    note that the sent email to debian don't return to the original sent server.

    I just try work around the famous DAEMON_OPTIONS:
    Code:
    FEATURE(`no_default_msa')dnl
    dnl DAEMON_OPTIONS(`Family=inet6, Name=MTA-v6, Port=smtp, Addr=::1')dnl
    DAEMON_OPTIONS(`Family=inet,  Name=MTA-v4, Port=smtp, Addr=127.0.0.1')dnl
    dnl DAEMON_OPTIONS(`Family=inet6, Name=MSP-v6, Port=submission, M=Ea, Addr=::1')dnl
    DAEMON_OPTIONS(`Family=inet,  Name=MSP-v4, Port=submission, M=Ea, Addr=127.0.0.1')dnl
    
    commenting and de- commenting dnl etc.
    what I can only cause don't send like don't receive.
    Let me know what I have to do,
    what log I have to post
    what form have to see
    --
    I'm waiting for You.
    thx
    GioMBG
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Sendmail is very difficult to configure. Have you thought about using Postfix instead?
     
  3. GioMBG

    GioMBG New Member

    postfix exim4 and sendmail make me carzy in debian

    Hi Falko,
    I'm totally with You regarding sendmail on debian squizee
    but I go crazy with exim4 and postfix to...
    any time I don't have received an email sent to this machine and in the logs I see that all was rejected, now (is to verify) I'm just worried about some wrong parameter that would be like the hostname so I have a suspect: that in my rescue hetzner installimage tool when is asked what kind of hostname give to the server the tool do not edit in all the places that have to edit (is a suspect) now I have totally changed distro I choose a centos minimal 6 64bit and everythink appears MORE simple... but is early, in few hours I will install a mail transport and I will return here.
    if You can tell me if there is a procedure to verify that all the places that have to be named like the hostname I will check asap before reset the first centos test set up
    thx 4 now
    GioMBG
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Does the hostname you use exist in DNS? If not, either create an A record or use the hostname Hetzner gives to your server.
     
  5. GioMBG

    GioMBG New Member

    the hostname I use was in my DNS

    Hi Falko,
    sorry for the late reply
    the hostname I use was in my DNS...

    after 3 days of slap and big face, crying I try centos 6.0 and...
    I've understand that for me the life is easy with this distro!
    I make all the machine from 0 in one night.
    so respecting debian is not really my favourite.
    Thx
    GioMBG
     

Share This Page