Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th June 2009, 02:38
bazza bazza is offline
Junior Member
 
Join Date: Feb 2006
Posts: 13
Thanks: 4
Thanked 0 Times in 0 Posts
Default Cant send mail from Evolution or Squirrel Mail

Hi Folks, a little help is needed. I have ISPC3 installed on Debian Lenny using Falko's perfect guide (btw thanks for that). I'm playing with this locally with server as 192.168.1.10, DNS192.168.1.54 and ...55
I find that I can't send e-mails (although I can connect to the mailbox and retrieve mail)
When I try sending a message locally I get this in the logs

Code:
Jun 16 11:03:52 joey postfix/smtpd[18950]: disconnect from unknown[192.168.1.10]
Jun 16 11:03:52 joey postfix/smtpd[18950]: connect from unknown[192.168.1.10]
Jun 16 11:03:52 joey postfix/smtpd[18950]: 58364192235: client=unknown[192.168.1.10]
Jun 16 11:03:52 joey postfix/cleanup[18955]: 58364192235: message-id=<1245106919.3515.4.camel@rover.bazzanet>
Jun 16 11:03:52 joey postfix/qmgr[3232]: 58364192235: from=, size=465, nrcpt=1 (queue active)
Jun 16 11:03:52 joey postfix/smtpd[18950]: disconnect from unknown[192.168.1.10]
Jun 16 11:03:52 joey postfix/error[18956]: 58364192235: to=, relay=none, delay=0.12, delays=0.06/0.05/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
And when I try to send a message externally>>>>>>>>>>>>>
Connection to the server is refused and I get this in the log.
Code:
Jun 16 11:04:11 joey postfix/smtpd[18950]: connect from unknown[192.168.1.10]
Jun 16 11:04:11 joey pop3d: Connection, ip=[::ffff:192.168.1.10]
Jun 16 11:04:11 joey postfix/smtpd[18950]: NOQUEUE: reject: RCPT from unknown[192.168.1.10]: 554 5.7.1 : Relay access denied; from= to= proto=ESMTP helo=<[192.168.1.10]>
I think I know how to fix this (I've got a bit of experience with Sendmail but I'm new to Postfix) but the first problem has me stumped.
Reply With Quote
Sponsored Links
  #2  
Old 16th June 2009, 09:42
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 932
Thanks: 16
Thanked 262 Times in 208 Posts
Default

Please check if amavisd is running.
Port 10024 is amavisd and it seems that your postfix cannot connect to amavisd.
Reply With Quote
The Following User Says Thank You to Croydon For This Useful Post:
bazza (16th June 2009)
  #3  
Old 16th June 2009, 14:27
bazza bazza is offline
Junior Member
 
Join Date: Feb 2006
Posts: 13
Thanks: 4
Thanked 0 Times in 0 Posts
Default

You where correct. I checked and it was not running. Firing it up from the command line we got:-

joey:~# /etc/init.d/amavis start
Starting amavisd: hostname: Unknown host
The value of variable $myhostname is "", 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 /etc/amavis/conf.d/05-node_id, or fix what uname(3) provides as a host's
network name!
(failed).
joey:~# uname -a
Linux joey.xxxx.co.nz 2.6.26-2-686 #1 SMP Thu May 28 15:39:35 UTC 2009 i686 GNU/Linux

Supplied the required data and it now works. Still a bit puzzled as to why it didn't work previously as uname had the correct FQDN.

Thanks for your help
Reply With Quote
  #4  
Old 18th June 2009, 04:28
fhawk fhawk is offline
Member
 
Join Date: Mar 2009
Posts: 39
Thanks: 2
Thanked 11 Times in 9 Posts
 
Default

# echo joey.xxxx.co.nz > /etc/hostname
# /etc/init.d/hostname.sh start
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
procmail can't write Hellbound General 27 8th June 2009 22:51
just the last step...and it works. Postfix...need help config. ubuntusr Installation/Configuration 1 5th January 2009 10:50
Problem with dcc-client installation (Postfix) swap-as Installation/Configuration 9 18th September 2008 21:47
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 13:16
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 12:47


All times are GMT +2. The time now is 06:11.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.