SuSE Imap-Server, eMail Server: Version 1.0 and 2
Per default, only machines in your DNS domain are allowed to to send mail
via the IMAP server. If a machine gets its IP address dynamically from an
internet provider, mails from this machine will not be relayed but instead
be rejected with the message: "Recipient address rejected: Access denied"
ftp://ftp.suse.com/pub/suse/i386/products/emailserver/1.0/postfix.rpm
ftp://ftp.suse.com/pub/suse/i386/products/emailserver/1.0/cyrus_drac.rpm
ftp://ftp.suse.com/pub/suse/i386/products/emailserver/1.0/drac.rpm
Stop the network:
init 1
Save the files /etc/postfix/main.cf
and /etc/postfix/master.cf
.
Should the installation fail, search the new versions of said files for changes.
Install the packages (replacing "package name" with the names of the above packages):
rpm -Uvh "package name" --nodeps --force
Please add the following to the file /etc/postfix/main.cf:
smtpd_recipient_restrictions = permit_mynetworks, check_client_access btree:/etc/postfix/dracd,check_relay_domainsNow who's allowed to use your mail server as a relay? In detail:
permit_mynetworks every client from net 'mynetworks' without authentication. check_client_access btree:/etc/postfix/dracd every client from which a user fetched mail, for the configured time period. check_relay_domains everybody else isn't.DRACD is configured via these variables in /etc/rc.config:
# # Start rpc.dracd? # START_DRACD = "yes" # # The TTL of a per IP open relay in minutes # DRACD_RELAYTIME = "5" # # The name of the (btree) dracdb. # DRACD_DRACDB = "/etc/postfix/dracd.db"Please also make sure that the port mapper is startet by setting the corresponding variable in (etc/rc.config):
START_PORTMAP="yes"Now start this all by issuing:
/etc/postfix/main.cf
should look like the followingsmtpd_recipient_restrictions= ldap:ldapmailenab, check_relay_ccerts, permit_mynetworks, check_client_access btree:/etc/postfix/dracd, check_relay_domains
http://www.stahl.bau.tu-bs.de/~hildeb/postfix/drac.shtml
http://mail.cc.umanitoba.ca/drac
SuSE will neither offer Support nor may be held liable for damages that may result from following the help offered in this article!