Hi All Am running DEBIAN 4, Kernel 2.6.18-6-686, i have installed - EXIM4, DOVECOT and within my local network users can send mail and works well but users try send mail when they are outside the local network their mail is not delivered and they get a message back saying "Relay not permited" I have been told i need to implement SMTP AUTH - i have tried a number of guides and nothing seems to work My back is to the wall can some one please post a working guide to implementing this - Please dont tell me to Google-it of RTFM, i have, i kept a copy of the original exim4 config so am running on that right now Thank you
On Thu, Oct 02, 2008 at 11:29:56AM +0200, Hannibal Ndlovu wrote:> Hi All > > Am running DEBIAN 4, Kernel 2.6.18-6-686, > > i have installed - EXIM4, DOVECOT and within my local network users > can send mail and works well but users try send mail when they are > outside the local network their mail is not delivered and they get a > message back saying > > "Relay not permited" > > I have been told i need to implement SMTP AUTH - i have tried a number > of guides and nothing seems to work > > My back is to the wall can some one please post a working guide to > implementing this - Please dont tell me to Google-it of RTFM, i have, > i kept a copy of the original exim4 config so am running on that right > now > > Thank youThe lenny and sid packages they are including the dovecot auth module. Just add in your auth files something like this dovecot_plain: driver = dovecot public_name = PLAIN server_socket = /var/run/dovecot/auth-client server_set_id = $auth1 The dovecot conf doesnt require any change if I remember -- Celso Gonz?lez (PerroVerd) http://mitago.net
Hannibal Ndlovu wrote:> Hi All > > Am running DEBIAN 4, Kernel 2.6.18-6-686, > > i have installed - EXIM4, DOVECOT and within my local network users > can send mail and works well but users try send mail when they are > outside the local network their mail is not delivered and they get a > message back saying > > "Relay not permited" > > I have been told i need to implement SMTP AUTH - i have tried a number > of guides and nothing seems to work*I AM NOT AN EXPERT* but this "may" help... from my wiki: To use TLS First, learn how to check SSL (works for apache too ;-) apt-get install telnet-ssl telnet -z ssl myserver.mycompany.co.uk 465 FOR MONOLITHIC CONFIG FILE echo "MAIN_TLS_ENABLE = true" >> /etc/exim4/exim4.conf.localmacros cp /usr/share/doc/exim4-base/examples/exim-gencert . - then run it! dpkg-reconfigure exim4-config Auth against /etc/shadow - not recommended but works ;-) apt-get install sasl2-bin vi /etc/default/saslauthd - set it to run on start /etc/init.d/saslauthd start usermod -a -G sasl Debian-exim - Add Debian-exim to sasl Uncomment the lines vi /etc/exim4/exim4.conf.template (beware - Outlook needs LOGIN not plain) login_saslauthd_server: driver = plaintext public_name = LOGIN server_prompts = "Username:: : Password::" # don''t send system passwords over unencrypted connections server_condition = ${if saslauthd{{$auth1}{$auth2}}{1}{0}} server_set_id = $auth1 .ifndef AUTH_SERVER_ALLOW_NOTLS_PASSWORDS server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}} .endif
I know that you don''t want to RTFM but this *will* help - Honest :-) cp /usr/share/doc/exim4-daemon-heavy/README.Debian.gz . gunzip README.Debian.gz less README.Debian It outlines the differences and has details on TLS -- Simon Faulkner 01538 303 900 http://dpnet.co.uk Dedicated Programmes Limited Staffordshire Moorlands
On Thu, Oct 02, 2008 at 05:09:57PM +0100, Simon Faulkner wrote:> cp /usr/share/doc/exim4-daemon-heavy/README.Debian.gz . > gunzip README.Debian.gz > less README.Debianeval "$(lessfile)" or eval "$(lesspipe)" (this can go into your .profile) less /usr/share/doc/exim4-daemon-heavy/README.Debian.gz Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
Am Donnerstag, den 02.10.2008, 22:29 +0200 schrieb Marc Haber:> On Thu, Oct 02, 2008 at 05:09:57PM +0100, Simon Faulkner wrote: > > cp /usr/share/doc/exim4-daemon-heavy/README.Debian.gz . > > gunzip README.Debian.gz > > less README.Debian > > eval "$(lessfile)" or eval "$(lesspipe)" > (this can go into your .profile) > > less /usr/share/doc/exim4-daemon-heavy/README.Debian.gzOther alternative is zless /usr/share/doc/exim4-daemon-heavy/README.Debian.gz Bests, Paul -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Dies ist ein digital signierter Nachrichtenteil Url : http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20081024/8c06b348/attachment.pgp