Jim Flanagan wrote:
Running amavis start returns... /etc/init.d/amavis start returned 7 (program is not running): Starting virus-scanner (amavisd-new): The value of variable $myhostname is "cammee", but should have been a fully qualified domain name; perhaps uname(3) did not provide such. You must explicitly assign a FQDN of this host to variable $myhostname in amavisd.conf, or fix what uname(3) provides as a host's network name! ..failed
I don't really understand your problem with the fqdn, but you are free to set the name to amavis.linux.site, if you wish. Just disable dns resolution for services that have to accept connections from amavis like the service on port 10025 in master.cf, otherwise you might suffer from dns time-outs.
So, it is getting fouled up wiht my hostname at present. I'm not clear as to what style to use as my host name. My postfix book says to use an fqdn, but I did not need to do that on my 8.2 box. I have jjfiii dot com set up as my fqdn, but my old 8.2 box has a hostname of something.local. As stated before, I used masquerade_domains = jjfiii dot com. That worked on that set up. Doen't seem to work on this one.
fqdn is at least a domain name or better a hostname with a domain name. If you have a local dns server set up a fantasy domain and provide correct dns forward and reverse resolution.
Anyway, could I just use anyname as my server name, and re-set it in amavise, or do I really need to set my server name to my fqdn??
Maybe it would help you if I explicitely tell you that the name itself will not be checked, only that it satisfies the definition of fully qualified domain name? What could hurt you is the missing reverse dns resolution.
Sandy OK Sandy, this message received on my new mail server. I re-named my server from cammee.local to just cammee. Set $myshotname = 'mail.jjfiii.com' in amavisd.conf. I guess the problem was with amavis
Sandy Drobic wrote: the whole time. I did find thru uname that reverse dns did not resolve previoulsly. Does that still matter? You menitoned earlier about relay_host = localhost. I made it = <blank> and it sends, but have found limitations in the past where I can't send email to certain isp's. How do I set that up to work with my isp's smtp server? I know the settings to address thier server, and my user name and password, but were do I enter these for postfix to use them? Many many thanks, Jim