Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th October 2007, 01:23
m61 m61 is offline
Junior Member
 
Join Date: Nov 2006
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to m61 Send a message via Yahoo to m61 Send a message via Skype™ to m61
Default multiple domains with postfix on debian etch

first off, followed the 'perfect setup - debian sarge' and it works awesome...no problems...

but, i have 2 other domains hosted on this server, and i want to be able to send email FROM thos domains [receiving is ok]..

when i try to send, i get errors
mail.log
Code:
Oct 25 16:17:12 www1 postfix/smtpd[1282]: warning: xx.xx.xxx.xxx: address not listed for hostname my_host_name_from_ISP.ext
Oct 25 16:17:12 www1 postfix/smtpd[1282]: connect from unknown[xx.xx.xxx.xxx]
Oct 25 16:17:12 www1 postfix/smtpd[1282]: setting up TLS connection from unknown[xx.xx.xxx.xxx]
Oct 25 16:17:13 www1 postfix/smtpd[1282]: TLS connection established from unknown[xx.xx.xxx.xxx]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Oct 25 16:17:13 www1 postfix/smtpd[1282]: disconnect from unknown[xx.xx.xxx.xxx]
and thunderbird spits out:
Code:
Sending of message failed.
The message could not be sent because connecting to SMTP server domain2.com failed.  The server may be unavailable or is refusing SMTP connections.  Please verify that your SMTP server setting is correct and try again, or else contact your network administrator.
so it's looking like my smtp server doesn't understand what domain2.com [and domain3.com] are, but domain1.com work just fine, anyone know how i can get domain2.com and domain3.com to play nice with the smtp server?

note: hostnames, ips and domains were changed on purpose
Reply With Quote
Sponsored Links
  #2  
Old 26th October 2007, 14:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,703 Times in 2,546 Posts
Default

What's the output of
Code:
netstat -tap
?
Does domain2.com point to the correct server?
__________________
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
  #3  
Old 26th October 2007, 20:34
m61 m61 is offline
Junior Member
 
Join Date: Nov 2006
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to m61 Send a message via Yahoo to m61 Send a message via Skype™ to m61
Default

Code:
# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 *:cvspserver            *:*                     LISTEN     2607/inetd          
tcp        0      0 localhost.localdo:10024 *:*                     LISTEN     2222/amavisd (maste 
tcp        0      0 localhost.localdo:10025 *:*                     LISTEN     2312/master         
tcp        0      0 *:mysql                 *:*                     LISTEN     15393/mysqld        
tcp        0      0 localhost.localdo:spamd *:*                     LISTEN     15693/spamd.pid     
tcp        0      0 *:sunrpc                *:*                     LISTEN     1923/portmap        
tcp        0      0 *:webmin                *:*                     LISTEN     3192/perl           
tcp        0      0 *:auth                  *:*                     LISTEN     2607/inetd          
tcp        0      0 domain1.c:domain *:*                     LISTEN     15282/named         
tcp        0      0 localhost.locald:domain *:*                     LISTEN     15282/named         
tcp        0      0 *:ftp                   *:*                     LISTEN     14570/proftpd: (acc 
tcp        0      0 *:munin                 *:*                     LISTEN     2895/munin-node     
tcp        0      0 *:smtp                  *:*                     LISTEN     2312/master         
tcp        0      0 localhost.localdoma:953 *:*                     LISTEN     15282/named         
tcp        0      0 *:57467                 *:*                     LISTEN     2768/rpc.statd      
tcp        0      0 *:2812                  *:*                     LISTEN     3097/monit          
tcp        0      0 localhost.localdom:3551 *:*                     LISTEN     2797/apcupsd        
tcp        0      0 localhost.localdo:43946 localhost.localdo:mysql TIME_WAIT  -                   
tcp        0      0 localhost.localdom:smtp localhost.localdo:48706 TIME_WAIT  -                   
tcp        0      0 localhost.localdoma:ftp localhost.localdo:47107 TIME_WAIT  -                   
tcp6       0      0 *:imaps                 *:*                     LISTEN     15642/couriertcpd   
tcp6       0      0 *:pop3s                 *:*                     LISTEN     15591/couriertcpd   
tcp6       0      0 *:pop3                  *:*                     LISTEN     2567/couriertcpd    
tcp6       0      0 *:imap2                 *:*                     LISTEN     2550/couriertcpd    
tcp6       0      0 *:www                   *:*                     LISTEN     19727/apache2       
tcp6       0      0 *:domain                *:*                     LISTEN     15282/named         
tcp6       0      0 *:ssh                   *:*                     LISTEN     15741/sshd          
tcp6       0      0 *:smtp                  *:*                     LISTEN     2312/master         
tcp6       0      0 ip6-localhost:953       *:*                     LISTEN     15282/named         
tcp6       0      0 *:https                 *:*                     LISTEN     19727/apache2
and yes, all the domains work [as each website works], it's just the email that doesn't work
Reply With Quote
  #4  
Old 27th October 2007, 16:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,703 Times in 2,546 Posts
 
Default

Does it work if you use your server's IP address (instead of domain2.com) in your Thunderbird settings?
__________________
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
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
Virtual Users And Domains With Postfix, Courier And MySQL (Debian Etch) mcg HOWTO-Related Questions 2 25th July 2007 16:00
Users And Domains With Postfix, Courier And MySQL (Debian Etch) mess-mate HOWTO-Related Questions 1 2nd July 2007 23:07
Virtual Users And Domains With Postfix, Courier And MySQL & debian etch Tortanick HOWTO-Related Questions 5 19th June 2007 12:29
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


All times are GMT +2. The time now is 05:40.


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