[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sendmailproblem



  Med senare versioner av sendmail måste man vilka domäner som den
accepterar att vidarebefordra. Definiera dina domäner med classen R
eller i filen /etc/mail/relay-domains.

$ zcat /usr/doc/sendmail/cf.README.gz | less
...
+---------------------------------+
| ANTI-SPAM CONFIGURATION CONTROL |
+---------------------------------+

The primary anti-spam features available in sendmail are:

* Relaying is denied by default.
* Better checking on sender information.
* Access database.
* Header checks.

Relaying (transmission of messages from a site outside your domain to
another site outside your domain) is denied by default.  Note that
this changed in sendmail 8.9; previous versions allowed relaying by
default.  If you want to revert to the old behaviour, you will need
to use FEATURE(`promiscuous_relay').  You can allow certain domains to
relay through your server by adding their domain name or IP address to
class 'R' ($=R) using RELAY_DOMAIN() and RELAY_DOMAIN_FILE() or via the
access database (described below).

If you use

        FEATURE(`relay_entire_domain')

then any host in any of your local domains (that is, the $=m class)
will be relayed (that is, you will accept mail either to or from any
host in your domain).
...
confCR_FILE             FR class        [/etc/mail/relay-domains] Name of
                                        file used to get the local additions
                                        to the $=R (hosts allowed to relay)
                                        class.
...
CLASSES
...
   R    domains we are willing to relay (pass anti-spam filters)
...
$

Sedan bör du se till att den sändande maskinen har en
'fully qualified domain name', dvs. att den finns med i DNS.

Sedan säger du i ditt mail att du har en smtpserver (som inte är samma
maskin). Om du har all mail på mailservern kan du väl använda FEATURE:

nullclient      This is a special case -- it creates a stripped down
                configuration file containing nothing but support for
                forwarding all mail to a central hub via a local
                SMTP-based network.  The argument is the name of that
                hub.
                
Eller om du är ute efter en nullclient, kolla in:

$ apt-cache show ssmtp

Hälsningar,
/Karl

-----------------------------------------------------------------------
Karl Hammar                    Aspö Data           karl@kalle.csb.ki.se
Lilla Aspö 2340               0173 140 57                       Nätverk
S-742 94 Östhammar           070 511 97 84               PC/Sun datorer
Sweden                                            Linux/Unix konsulting
-----------------------------------------------------------------------


From: "Henrik Andersson" <henrik.andersson@post.netlink.se>
Subject: sendmailproblem
Date: Thu, 20 Jul 2000 21:13:40 +0200

> Försöker få sendmail att vidarebefodra mail till min smtpserver (Netlink). Men det står "sender domain must exist x@localocalhost" eller något liknande. Kan jag fixa ett alias, eller liknande?
> 
> -- 
> Henrik Andersson <henrik.andersson@post.netlink.se>
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-user-swedish-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: