Afficher un message
Vieux 15/05/2007, 10h58   #3
Matej Cepl
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: mailertable based on From: value?

On 2007-05-13, 22:23 GMT, Andrzej Adam Filip wrote:
> http://anfi.homeunix.net/sendmail/smarttab.html
> *Smart Table*
> The document describes how to make sendmail select smart host [e-mail
> relay host] based on envelope sender address (full address or domain
> part only).


Cool! That looks really great. Just one question -- what is the
relation between smarttable and mailertable? I mean, I have this
smarttable (slightly modified, but I think it should be readable
for YOU):

mcepl <chr 64> redhat <chr 46> com smtp:pobox.stuttgart.redhat.com
matej <chr 64> ceplovi <chr 46> cz smtp:smtp.ipex.cz

and this is my mailertable:

redhat.com smtp:pobox.stuttgart.redhat.com
..redhat.com smtp:pobox.stuttgart.redhat.com
seznam.cz smtp:smtp.ipex.cz
..seznam.cz smtp:smtp.ipex.cz
.. smtp:smtp.ipex.cz

(I know that ``seznam.cz'' are not necessary, but they should be
harmless, I hope).

And at least according to sendmail -bt it looks great! Thanks
a lot. However, what happens when I send email without any domain
whatsoever -- I would like that as default option, sendmail would
go to mailertable and use the rules found there. Is it possible?

Thanks a lot again,

Matej
  Réponse avec citation
 
Page generated in 0,04664 seconds with 9 queries