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 30th April 2011, 10:41
eko_taas eko_taas is offline
Member
 
Join Date: Feb 2011
Posts: 92
Thanks: 2
Thanked 12 Times in 10 Posts
Question SMTP error "bad string length 0 < 1: myhostname ="

In my server everything seems to work OK, but SMTP-service is claimed to be down (Monitor / Status of Services / "SMTP-Server: Offline") and also /var/log/mail.log shows that something is wrong (after 24.4. 13:00:08 UTC).

Code:
...
Apr 24 12:58:53 server1 pop3d: Disconnected, ip=[::ffff:xxx.yyy.zzz.xyz]
Apr 24 13:00:01 server1 pop3d: Connection, ip=[::ffff:127.0.0.1]
Apr 24 13:00:01 server1 pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Apr 24 13:00:01 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Apr 24 13:00:01 server1 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Apr 24 13:00:08 server1 postfix/sendmail[25714]: fatal: bad string length 0 < 1: myhostname =
Apr 24 13:05:01 server1 pop3d: Connection, ip=[::ffff:127.0.0.1]
Apr 24 13:05:01 server1 pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Apr 24 13:05:01 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Apr 24 13:05:01 server1 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Apr 24 13:05:01 server1 postfix/sendmail[25818]: fatal: bad string length 0 < 1: myhostname =
....
Same continues after restart

I did not made any changes (even access to server on that day) so cannot understand this change....

Which file I should modify?

System info
Quote:
ISPConfig Version: 3.0.3.3
Quote:
Operating system Debian Linux 6.0
Kernel and CPU Linux 2.6.32-5-amd64 on x86_64
Processor information AMD Athlon(tm) 64 Processor 3200+, 1 cores
Thanks again for your support, everything else works lovely....
Reply With Quote
Sponsored Links
  #2  
Old 1st May 2011, 21:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Is myhostname set in /etc/postfix/main.cf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
kamel.berrayah (11th February 2014)
  #3  
Old 3rd May 2011, 15:24
eko_taas eko_taas is offline
Member
 
Join Date: Feb 2011
Posts: 92
Thanks: 2
Thanked 12 Times in 10 Posts
 
Thumbs up

Quote:
Is myhostname set in /etc/postfix/main.cf?
Thanks for hint - above was empty (i.e. myhostname= )

When adding "myhostname=www.example.com" (or similar ) and restart
- all monitoring green again
- alarms not coming any more to Monitor / "Mail-Warn - Log"
- sending with N900 / TSL-login to SMTP working now like a dream.
(also normal OK (login only)
- message even delivered

I just love this, when both IMAP and SMTP with TSL...

Thanks, sun is shining again to my server
Reply With Quote
The Following User Says Thank You to eko_taas For This Useful Post:
kamel.berrayah (11th February 2014)
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
rkhunter warnings esezako General 7 27th September 2011 07:28
Centos 5.2 - ISPconfig 3 installation and it's bugs/problems bl4ckb1rd Installation/Configuration 15 31st August 2009 16:40
Postfix issues NewMee Installation/Configuration 7 20th April 2009 18:52
Maildrop Postfixadmin create mail directories tecstream HOWTO-Related Questions 9 25th July 2008 12:17
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47


All times are GMT +2. The time now is 17:20.


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