hi, i've been trying to set up my email system but i think i did something very bad. i dont know what happened but i cant even send or receive local mails anymore. like mail from one user to another on the same machine. can anyone please help? i'm using sendmail on suse 8.1. here's my /etc/sysconfig/mail file: ------------------------------------ # # From:-Line in email and News postings # (otherwise the FQDN is used) # FROM_HEADER="cyberinfra.net" # # Set this to no, if SuSEconfig should not generate the configuration # files (e.g. you want to generate your /etc/sendmail.cf yourself). # Do you want to generate a sendmail-configuration /etc/sendmail.cf from # parameters given in /etc/sysconfig/sendmail then use "yes" # MAIL_CREATE_CONFIG="yes" # A null client is a machine that can only send mail. It receives no # mail from the network, and it does not deliver any mail locally. # A null client typically uses POP or NFS for mailbox access. # NULLCLIENT="no" # # Set this to "yes" if mails from remote should be accepted # this is necessary for any mail server. # If set to "no" or empty the only mails from localhost # are accepted. # SMTPD_LISTEN_REMOTE="yes" ------------------------------ here's my /etc/sysconfig/sendmail file: ------------------------------ # # smarthost - this host gets all outgoing email from us # normally used for uucp-connected sites or for dialup connections # use "uucp-dom:server.uucp.com" to deliver all email to "server.uucp.com" # SENDMAIL_SMARTHOST="" # # sendmail assumes the following space-separated host-names to be # the local host (this must just be used for names differrent to the # hostname, for e.g. aliases like www.nowhere.com) # SENDMAIL_LOCALHOST="localhost lucas.cyberinfra.net cyberinfra.net" # # do not deliver any email locally, but send all email to another host # this can just be used with another system that has the same users on it # and you probably also want to set the FROM_HEADER to the other host # SENDMAIL_RELAY="" # # Used if no SENDMAIL_RELAY is given and local mails are send with local names # that aren't local accounts or aliases. All these mails are redirected # to the user given defined with SENDMAIL_LUSER, e.g. # SENDMAIL_LUSER="postmaster" or SENDMAIL_LUSER="root". Note that this may # violate the privacy of those mails. # SENDMAIL_LUSER="" # # with what parameters should sendmail be started? # normal sites use "-bd -q30m -om". if you set SENDMAIL_EXPENSIVE and you # have a dialup ISDN connection, you probably want to set this to # "-bd -om" and run "sendmail -q" from your crontab. # SENDMAIL_ARGS="-L sendmail -Am -bd -q30m -om" # # with what parameters should sendmail _client_ be started? # SENDMAIL_CLIENT_ARGS="-L sendmail-client -Ac -q30m" # # sendmail will only queue email in /var/spool/mqueue and will only start # to deliver it if "sendmail -q" is run # SENDMAIL_EXPENSIVE="no" # # sendmail will not try to canonify hostnames in your email # so much less DNS-queries are send # you probably want to enable this on a SENDMAIL_EXPENSIVE system. # Don't forget to add the local, the mail hub, smart, and mail relay host # with their IP addresses and the corresponding Full Qualified Domain Names # to /etc/hosts. For most # people using dial on demand SENDMAIL_NOCANONIFY # should work and no NODNS (see /etc/sysconfig/mail) is required. # SENDMAIL_NOCANONIFY="no" # # This option forbids DNS-queries. It requires a well configured # /etc/hosts. Sendmail users should also read /etc/sysconfig/sendmail # the description of the variable SENDMAIL_NOCANONIFY. NODNS="no" # # If set to yes, mail that will be delivered via smtp will stay # in the queue unless someone issues "sendmail -q" or equivalent. # A correct FQHOSTNAME for the local host is required. DIALUP="no" # # these domains can additional to the local domains be changed # in /etc/mail/genericstable # SENDMAIL_GENERICS_DOMAIN="" # # this is useful if you have several domains with disjoint namespaces # hosted on the same machine. # MASQUERADE_DOMAINS="" # # enable SMTP AUTHENTICATION to other servers if required, possible # values are plain, gssapi, digest-md5, and cram-md5. # Please not that most providers only know about `plain' which means # that the user data will not be encrypted. # You will have to identify yourself using the information in # /etc/mail/auth/auth-info. # SMTP_AUTH_MECHANISMS="" # # enable SMTP AUTHENTICATION as a server, for an explanation read # /usr/share/sendmail/README, /usr/share/doc/packages/sendmail/op.txt.bz2, # and http://www.sendmail.org/~ca/email/auth.html. # Possible values are gssapi, digest-md5, and cram-md5. Note that # `plain' should be used because data will not be encrypted and # that more than one value separated by spaces is allowed. # SMTP_AUTH_SERVER="" # # STARTTLS certification, for an explanation read # /usr/share/doc/packages/sendmail/op.txt.bz2 and # http://www.sendmail.org/~ca/email/starttls.html # The certification and key files are placed at # /etc/mail/certs/ as CA.cert.pem, MYServer.cert.pem, # MYServer.key.pem (for STARTTLS server) and # MYClient.cert.pem, MYClient.key.pem (for STARTTLS client) # possible values are `server', `client', or `both'. # STARTTLS="" # # Normally all upper case letters of the keys in the db files of sendmail # will be folded to lower case. You may change this to "no" and break the # normal behaviour at your own risk. # SENDMAIL_DB_FOLD="yes" # # A null client is a machine that can only send mail. It receives no # mail from the network, and it does not deliver any mail locally. # A null client typically uses POP or NFS for mailbox access. # Possible values for NULLCLIENT are "" or the full qualified domain # name of the mail server used for redirecting all mails. # NULLCLIENT="no" # # Use real-time black-hole lists. Sendmail will refuse to receive mail from # any IP number which is listed in any of the RBL lookups given here. # Space seperated list of host names to query via DNS, e.g.: # inputs.orbz.org # relays.orbl.org # relays.ordb.org # relays.osirusoft.com # orbs.dorkslayers.com # SENDMAIL_DNSRBL="" --------------------------------- thanks for your help... thiago ---------------------------------------------- Visit my Music Band's web site @ www.71worship.com
i replaced sendmail with postfix and now the email works. one thing i need to add is... i can receive mails if they're sent to "machine.domainname.com" but not if they're sent to "domainname.com". what can i do to fix that? ---------------------------------------------- Visit my Music Band's web site @ www.71worship.com
On Sat, 07 Dec 2002, Infra just had to get this off his chest:
i replaced sendmail with postfix and now the email works.
one thing i need to add is... i can receive mails if they're sent to "machine.domainname.com" but not if they're sent to "domainname.com". what can i do to fix that?
Add domainname.com to $mydestination in main.cf Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 27N , 4 29 45E. SuSE 8.0 x86 Kernel k_Athlon 2.4.19-4GB See headers for PGP/GPG info.
participants (2)
-
Infra
-
Theo v. Werkhoven