Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 41

Thread: Postfix internal mail server breaks....

  1. #21

    Default Re: Postfix internal mail server breaks....

    Hello Malcolm & many thanks for an Important step forward

    /etc/hosts

    127.0.0.2 WAS the name the opensuse 11.2 Installation DVD

    & NOT my AIG name

    I have now corrected this to :-

    # hosts This file describes a number of hostname-to-address
    # mappings for the TCP/IP subsystem. It is mostly
    # used at boot time, when no name servers are running.
    # On small systems, this file can be used instead of a
    # "named" name server.
    # Syntax:
    #
    # IP-Address Full-Qualified-Hostname Short-Hostname
    #

    127.0.0.1 localhost

    # special IPv6 addresses
    ::1 localhost ipv6-localhost ipv6-loopback

    fe00::0 ipv6-localnet

    ff00::0 ipv6-mcastprefix
    ff02::1 ipv6-allnodes
    ff02::2 ipv6-allrouters
    ff02::3 ipv6-allhosts
    127.0.0.2 AIG.localdomain AIG
    ____________________

    next I again tried Test :

    mailx -s "Test" tabanna@AIG.localdomain

    . . . But, No Joy yet :

    response is :

    No mail for tabanna

    ..................

    Dec 6 16:17:01 # ${multi_instance_name: postfix}${multi_instance_name?$multi_instance_name}/sendmail[8132]: warning: valid_hostname: invalid character 35(decimal): #
    Dec 6 16:17:01 # ${multi_instance_name: postfix}${multi_instance_name?$multi_instance_name}/sendmail[8132]: fatal: unable to use my own hostname
    Dec 6 16:49:21 # postfix/local[6891]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
    Dec 6 17:17:01 AIG postfix/local[5786]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
    Dec 6 18:17:04 # postfix/local[7324]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
    Dec 6 18:44:38 # postfix/local[7919]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
    Dec 6 18:45:49 # postfix/local[8094]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
    Dec 6 19:17:03 # postfix/local[6023]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
    _________________

    - what's next to try please ??

    thanks
    Anna

  2. #22
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,196
    Blog Entries
    15

    Default Re: Postfix internal mail server breaks....

    Quote Originally Posted by anna tabanna
    Hello Malcolm & many thanks for an Important step forward

    /etc/hosts

    127.0.0.2 WAS the name the opensuse 11.2 Installation DVD

    & NOT my AIG name
    <snip>

    - what's next to try please ??

    thanks
    Anna
    OK
    Now you need to check the /etc/nsswitch.conf file as it's probably set
    to nis...
    The lines hosts: and networks: should be files dns eg;
    Code:
    hosts:		files mdns4_minimal [NOTFOUND=return] dns
    networks:	files dns
    I'm thinking yours says;
    Code:
    hosts:		nis files mdns4_minimal [NOTFOUND=return] dns
    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.39-0.3-default
    up 1 day 23:05, 1 user, load average: 0.03, 0.08, 0.12
    GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18


  3. #23
    Join Date
    Aug 2008
    Location
    Pitesti, Arges County, Romania
    Posts
    595

    Default Re: Postfix internal mail server breaks....

    I did too have this problem with postfix, but i have switched to sendmail until a bugfix is available.

    As for the hostname issues, well this is pretty simple: when linux is installed it will ask to change the hostmane and adds the domanin "site" ; this will be stored as the following hostname: 127.0.0.2 your-name.site your-name just modify 127.0.0.2 to 127.0.0.1
    and add the following line 127.0.0.1 localhost localhost.localadmin


    That will fix the problem with mail send on your server to root or local users.

  4. #24

    Default Re: Postfix internal mail server breaks....

    Thank you Malcolm . . . & thank you creatura85


    My /etc/nsswitch.conf looks all right :
    ___________

    "
    # For more information, please read the nsswitch.conf.5 manual page.
    #

    # passwd: files nis
    # shadow: files nis
    # group: files nis

    passwd: compat
    group: compat

    hosts: files mdns4_minimal [NOTFOUND=return] dns
    networks: files dns

    services: files
    protocols: files
    rpc: files
    ethers: files
    netmasks: files
    netgroup: files
    publickey: files

    bootparams: files
    automount: files
    aliases: files
    "

    ...............................

    now, trying the /etc/hosts suggestions - much appreciated


    best regards
    Anna
    _______

  5. #25

    Default Re: Postfix internal mail server breaks....

    my /etc/hosts file is now :
    ______________

    "
    # IP-Address Full-Qualified-Hostname Short-Hostname
    #

    127.0.0.1 localhost

    # special IPv6 addresses
    ::1 localhost ipv6-localhost ipv6-loopback

    fe00::0 ipv6-localnet

    ff00::0 ipv6-mcastprefix
    ff02::1 ipv6-allnodes
    ff02::2 ipv6-allrouters
    ff02::3 ipv6-allhosts
    127.0.0.1 AIG.localdomain AIG
    127.0.0.1 localhost localhost.localadmin
    "

    .............................

    thanks
    Anna

  6. #26
    Join Date
    Aug 2008
    Location
    Pitesti, Arges County, Romania
    Posts
    595

    Default Re: Postfix internal mail server breaks....

    Glad to help you Anna

    Since we talk about MTA, do you know what web mail client supports using MD5? squirrel mail or roundcube mail uses only plain-text and i use it only on localhost not from the web because of the existing password sniffers on the web or LAN .

  7. #27

    Default Re: Postfix internal mail server breaks....

    Hello creatura85 - and thank you

    - this MD5 stuff sounds very high-powered, and quite above my head
    . . . but thank you

    ..................

    since adding "127.0.0.1 localhost localhost.localadmin" to the end of my /etc/hosts, I still cannot send mailx message to myself

    : I get the response "No Mail for tabanna"

    ...................

    I live in hope : perhaps inspiration will enlighten me . . . perhaps a bug-fix will arrive from the sky


    .............

    best regards
    Anna

  8. #28
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,196
    Blog Entries
    15

    Default Re: Postfix internal mail server breaks....

    Quote Originally Posted by anna tabanna
    : I get the response "No Mail for tabanna"

    best regards
    Anna
    Hi
    So what errors do you get in the logs?

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.39-0.3-default
    up 2 days 20:48, 6 users, load average: 0.29, 0.18, 0.13
    GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18


  9. #29
    Join Date
    Aug 2008
    Location
    Pitesti, Arges County, Romania
    Posts
    595

    Default Re: Postfix internal mail server breaks....

    Anna under OpenSuse 11.0 i use the following configuration to manage my mails: imap (not cyrus-imapd) and sendmail, along with the settings that i have told you and with pine as internal mail reader and squirrel mail as a web mail client.

  10. #30

    Default Re: Postfix internal mail server breaks....

    Hello Malcolm , and, creatura85

    these are the logs :

    /var/log/mail.info

    "Dec 7 22:17:01 # postfix/qmgr[32563]: ABAAA73B1: removed
    Dec 7 23:17:02 # postfix/pickup[6372]: 2CB8773B1: uid=1000 from=<tabanna>
    Dec 7 23:17:02 # postfix/cleanup[6509]: 2CB8773B1: message-id=<20091207211702.2CB87
    Dec 7 23:17:02 # postfix/qmgr[32563]: 2CB8773B1: from=<tabanna@AIG.localdomain>, si
    Dec 7 23:17:02 # postfix/local[6511]: warning: dict_nis_init: NIS domain name not s
    Dec 7 23:17:02 # postfix/local[6511]: 2CB8773B1: to=<tabanna@AIG.localdomain>, orig
    Dec 7 23:17:02 # postfix/cleanup[6509]: 6B1BE73B2: message-id=<20091207211702.6B1BE
    Dec 7 23:17:02 # postfix/qmgr[32563]: 6B1BE73B2: from=<>, size=2544, nrcpt=1 (queue
    Dec 7 23:17:02 # postfix/bounce[6512]: 2CB8773B1: sender non-delivery notification:
    Dec 7 23:17:02 # postfix/qmgr[32563]: 2CB8773B1: removed
    Dec 7 23:17:02 # postfix/local[6511]: 6B1BE73B2: to=<tabanna@AIG.localdomain>, rela
    Dec 7 23:17:02 # postfix/qmgr[32563]: 6B1BE73B2: removed"

    /var/log/mail.warn

    "Dec 7 18:15:42 # postfix/local[32575]: warning: dict_nis_init: NIS domain name not
    Dec 7 19:17:02 # postfix/local[1409]: warning: dict_nis_init: NIS domain name not s
    Dec 7 20:17:01 # postfix/local[2625]: warning: dict_nis_init: NIS domain name not s
    Dec 7 21:17:01 # postfix/local[3719]: warning: dict_nis_init: NIS domain name not s
    Dec 7 22:17:01 # postfix/local[5447]: warning: dict_nis_init: NIS domain name not s
    Dec 7 23:17:02 # postfix/local[6511]: warning: dict_nis_init: NIS domain name not s"

    ........................

    - I wish to use Kmail as my reader

    How must I proceed ?? :

    1. Un-Install Postfix ??
    2.Install Sendmail ??
    3.Make sure Kmail is configured to use imap ??


    thank you
    Anna

Page 3 of 5 FirstFirst 12345 LastLast

Posting Permissions

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