adamgasior
asked on
after spamassassin installation I cannot send out email to external servers
Hi,
After I have installed spamassassing I cannot send out email to external addresses. I can receive emails from external addresses as well as from local users. I also can send out emails to the local users
After I try to send an email to external address (using outlook) I am getting the following error;
550 5.7.1 <adam.gasior@gmail.com>... Relaying denied. Proper authentication required.
My /etc/mail/sendmail.mc look as follows:
divert(0)dnl
define(`_USE_ETC_MAIL_')dn l
include(`/usr/share/sendma il/cf/m4/c f.m4')dnl
VERSIONID(`$Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-mta')dnl
dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE
dnl undefine(`confHOST_STATUS_ DIRECTORY' )dnl #DAEMON_HOSTSTATS
dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE
DOMAIN(generic)dnl
INPUT_MAIL_FILTER(`spamass assin', `S=local:/var/run/sendmail /spamass.s ock, F=,T=C:15m;S:4m;R:4m;E:10m ')dnl
define(`confAUTH_MECHANISM S', `LOGIN PLAIN')dnl
TRUST_AUTH_MECH(`LOGIN PLAIN')dnl
FEATURE(`no_default_msa')d nl
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
DAEMON_OPTIONS(`Port=587, Name=MSA, M=Ea')dnl
MAILER(local)dnl
MAILER(smtp)dnl
Regards,
Adam Gasior
After I have installed spamassassing I cannot send out email to external addresses. I can receive emails from external addresses as well as from local users. I also can send out emails to the local users
After I try to send an email to external address (using outlook) I am getting the following error;
550 5.7.1 <adam.gasior@gmail.com>...
My /etc/mail/sendmail.mc look as follows:
divert(0)dnl
define(`_USE_ETC_MAIL_')dn
include(`/usr/share/sendma
VERSIONID(`$Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-mta')dnl
dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE
dnl undefine(`confHOST_STATUS_
dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE
DOMAIN(generic)dnl
INPUT_MAIL_FILTER(`spamass
define(`confAUTH_MECHANISM
TRUST_AUTH_MECH(`LOGIN PLAIN')dnl
FEATURE(`no_default_msa')d
DAEMON_OPTIONS(`Port=smtp,
DAEMON_OPTIONS(`Port=587, Name=MSA, M=Ea')dnl
MAILER(local)dnl
MAILER(smtp)dnl
Regards,
Adam Gasior
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks- this is exactly what I wanted
You would add the following entries to the files on your mail server:
/etc/mail/relay-domains
dry.retch.org
The above tells your mail server to accept outgoing mail from the host dry.retch.org.
/etc/mail/sendmail.cw
retch.org
The above tells your mail server to accept incoming mail for the domain retch.org (after sendmail version 8.10, this file is local-host-names).
From http://www.freebsddiary.org/relay.php
and checkout
http://www.akadia.com/services/sendmail_relay.html