Find the answer to your Linux question:
Results 1 to 2 of 2
I have been messing with a broken sendmail system for the last two days now. The mail will send out no problem, but it does not got into users mailboxes. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2008
    Posts
    5

    [SOLVED] sendmail delivery problems


    I have been messing with a broken sendmail system for the last two days now. The mail will send out no problem, but it does not got into users mailboxes. The server used to have mailscanner and spamassassin on it but something there broke and I removed them as we did not need them anymore anyway, we are scanning with as outside service now.

    I have changed the sendmail.mc file from using procmail to mail.local and that did not help. I really guess I don't know what I am doing.

    I see errors in the maillog files: "can't create output". But I have set all permissions of the mail folders (/var/spool/mail/username) to 777.

    here is my sendmail.mc file:

    Code:
    divert(0)dnl
    define('LOCAL_MAILER_PATH', /usr/bin/mail.local)
    dnl #
    dnl #
    include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
    VERSIONID(`setup for Red Hat Linux')dnl
    OSTYPE(`linux')dnl
    dnl #
    dnl #
    define(`confDEF_USER_ID',``8:12'')dnl
    dnl define(`confAUTO_REBUILD')dnl
    define(`confTO_CONNECT', `1m')dnl
    define(`confTRY_NULL_MX_LIST',true)dnl
    define(`confDONT_PROBE_INTERFACES',true)dnl
    dnl define(`PROCMAIL_MAILER_PATH',`/usr/bin/mail')
    define(`ALIAS_FILE', `/etc/aliases')dnl
    define(`STATUS_FILE', `/var/log/mail/statistics')dnl
    define(`UUCP_MAILER_MAX', `2000000')dnl
    define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
    define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
    define(`confAUTH_OPTIONS', `A')dnl
    dnl define(`confMAX_MESSAGE_SIZE', `52428800')dnl
    dnl #
    define(`confTO_IDENT', `0')dnl
    FEATURE(`no_default_msa',`dnl')dnl
    FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
    FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
    FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
    FEATURE(redirect)dnl
    FEATURE(relay_entire_domain)dnl # allows relaying of mail on our domain
    FEATURE(always_add_domain)dnl
    FEATURE(use_cw_file)dnl
    FEATURE(use_ct_file)dnl
    dnl #
    dnl #
    dnl FEATURE(local_mail,`',`procmail -Y -a $h -d $u')
    FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
    dnl FEATURE(`blacklist_recipients')
    dnl # FEATURE(`dnsbl')dnl
    EXPOSED_USER(`root')dnl
    dnl #
    dnl #
    FEATURE(`accept_unresolvable_domains')dnl
    dnl #
    dnl #
    LOCAL_DOMAIN(`grandproductsinc.com')dnl
    LOCAL_DOMAIN(`localhost.localdomain')dnl
    dnl #
    dnl #
    MASQUERADE_AS(`grandproductsinc.com')dnl
    dnl #
    dnl #
    well
    dnl #
    FEATURE(masquerade_entire_domain)dnl
    dnl #
    MAILER(smtp)dnl
    MAILER(local)dnl
    dnl MAILER(cyrusv2)dnl


    I don't have a working yum as the system is too old now for fedora to have any files on their update repositories. I don't know why, it is only a couple of years old.

    what other information can I give you to get some clue as to what is wrong here.

    Thanks for any help anyone can give.
    Agent0013

  2. #2
    Just Joined!
    Join Date
    Dec 2008
    Posts
    5
    ok, scrap this query. I just got another mail server running using postfix and dovecot. Now I need to know if I can get the old email from the queue into the new system?

Posting Permissions

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