[NBLUG/talk] Configuring sendmail to forward email via sonic.net

Todd Cary todd at aristesoftware.com
Mon Aug 26 14:02:30 PDT 2013


Ron -

Here are the changes I did make to sendmail.mc:

dnl #
define(`SMART_HOST', `smtp.sonic.net')dnl
dnl #

MASQUERADE_AS(`aristesoftware.com')dnl
MASQUERADE_DOMAIN(`aristesoftware.com')dnl
FEATURE(masquerade_entire_domain)dnl
FEATURE(masquerade_envelope)dnl

Not sure if the masquerade is necessary though.  However one of 
the areas where I have a lack of knowledge is setting up the 
hosts file.  Here is what I have:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1    localhost.localdomain localhost
::1        localhost6.localdomain6 localhost6
127.0.0.1    localhost.localdomain    localhost    centos5
216.228.174.9    toddcary.com    localhost

However in the maillog file, one of the error lines is still 
having the ctladdr set to <root at localhost.localdomain>


Aug 24 12:47:10 localhost sendmail[2309]: r7LNUtVO020623: 
to=<todd at aristesoftware.com>, 
ctladdr=<root at localhost.localdomain> (0/0), delay=2+20:16:15, 
xdelay=00:00:01, mailer=relay, pri=6330367, relay=mail.sonic.net. 
[64.142.7.162], dsn=4.0.0, stat=Deferred: Temporary AUTH failure

Thank you for your resonse along with the others...

Todd

Ariste Software
Bend, OR 97702

http://www.aristesoftware.com

On 8/26/2013 12:11 PM, Ron Wickersham wrote:
>
>
> On Mon, 26 Aug 2013, Todd Cary wrote:
>
>> For many years I have avoided sendmail on my Centos 5 since my 
>> PHP class does the job, however I now need to have it work 
>> since my client is using Concrete5 (CMS) and it is hard wired 
>> to use sendmail.
>>
>> Sonic uses a prot different from the standard of 25, plus 
>> sendmail has properties well over my head.  Has anyone on this 
>> group configured sendmail to forward through Sonic?
>>
>> With appreciation...
>>
>> Todd
>
> hi Todd,
>
> for other mail relay configurations i use the SmartHost 
> directive in
> the sendmail configuration file, normally at /etc/mail/sendmail.cf
>
> looking down in that file you'll see this in the local info 
> section (at line 93 in my config file were there is no Smart 
> Host):
>
> # "Smart" relay host (may be null)
> DS
>
> you add the host name after DS with no whitespace, so if sonic's
> mail server were mail.sonic.net your entry would be:
>
> # "Smart" relay host (may be null)
> DSmail.sonic.net
>
> but this would use port 25 and you indicate that they don't relay
> for customers with that port.   so this may not be what sonic's
> set up needs from you.
>
> note that Frank mentioned that other mail MTAs (Mail Transport 
> Agents)
> have their binary or a link from the location where sendmail 
> would be
> installed in a system, so applications (such as your Concrete) 
> don't
> have to be recompiled to use an alternate MTA.   so if your 
> mail config
> works for sonic it would normally be expected to "just work" 
> for any
> new application regardless of whether you're using sendmail or 
> an alternate
> MTA.
>
> you should have errors reported by the application log files if 
> the
> application can't transfer the mail to the local MTA, and if 
> you're
> using sendmail, and it can't forward the message, then look for
> errors in /var/log/maillog.
>
> The OP suggesting contacting sonic support is also good, since 
> they
> would have had other customers needing to do the same as you want
> to do.
>
> -ron
> _______________________________________________
> talk mailing list
> talk at nblug.org
> http://nblug.org/cgi-bin/mailman/listinfo/talk
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2013.0.3392 / Virus Database: 3211/6610 - Release 
> Date: 08/26/13
>
>



More information about the talk mailing list