Auth and noauth sendmail

Smoot Carl-Mitchell smoot at
Thu Aug 23 03:45:44 UTC 2007

On Wed, 2007-08-22 at 20:37 -0300, Sergio Belkin wrote:
> Hi community
> I have an authenticated sendmail. I want to modifiy it in order to:
> *All mail sent to is not authenticated
> *All mail sent to any domain different as be authenticated
> (TLS included).
> How can I do that?  (I don't refer to complete procedure, but how can I do 
> to "separate" mail by its destination) I was looking at access and 
> mailtertable 
> but it
> seems that those files don't help me.

You set it up in the access file (/etc/mail/access).  Something like:

CERTISSUER:/C=US/ST=AZ/L=Scottsdale/O=TIC/CN=TIC/emailAddress=tic at RELAY

This says a client cert signed by the issuer can relay mail. Most email
clients support this sort of authentication. As you can see, I created a
private signing certificate and then signed client certs for the users I
wish to allow relaying to my mail server. There are a number of HOWTOs
out on the net explaining the nitty-gritty details. Your sendmail server
must support SMTP-AUTH to get this to work.

Smoot Carl-Mitchell
System/Network Architect
email: smoot at
cell: +1 602 421 9005
home: +1 480 922 7313

More information about the ubuntu-users mailing list