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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd March 2006, 17:48
garfabian garfabian is offline
Junior Member
 
Join Date: Mar 2006
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Default Mail using postfix receive but cannot send

Hello
First time user of ISPConfig and loving it, I have two problems

(1) when users are created their emails are set in the format of user@www.domain.com how can I set this up so that when users are created their emails are user@domain.com?
(2)if I sent out an email from user@www.domain.com to let say user@msn.com it never reaches but if I sent an email from user@msn.com to user@www.domain.com I then reply to it then user@msn.com can see it.


Can anyone please let me know what is it that I'm doing wrong.
I have a fedora 4 perfect setup running postfix and maildir enable.
Thank you.
Reply With Quote
Sponsored Links
  #2  
Old 2nd March 2006, 20:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Quote:
Originally Posted by garfabian
(1) when users are created their emails are set in the format of user@www.domain.com how can I set this up so that when users are created their emails are user@domain.com?
If domain.com is on the Co-Domains tab of that web site (with an empty hostname), then the user automatically has user@domain.com and user@www.domain.com as email addresses. You don't have to configure anything else.
You can check if user@domain.com is in /etc/postfix/virtusertable.

Quote:
Originally Posted by garfabian
(2)if I sent out an email from user@www.domain.com to let say user@msn.com it never reaches but if I sent an email from user@msn.com to user@www.domain.com I then reply to it then user@msn.com can see it.


Can anyone please let me know what is it that I'm doing wrong.
I have a fedora 4 perfect setup running postfix and maildir enable.
Thank you.
What's in the mail log?
If you followed the "Perfect Setup" for Fedora 4, then you must disable Maildir in ISPConfig.
Please post the output of
Code:
netstat -tap
__________________
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 4th March 2006, 16:18
garfabian garfabian is offline
Junior Member
 
Join Date: Mar 2006
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Default Half way there

Ok I got the emails to work with user@domain.com, I can now receive emails but cannot send out well not completely because I can only send out if I do a reply to who ever I received an email from but if I start a new email it never reaches my destination.

Example:

Compose a message with user@domain.com to send to user@msn.com, it does not deliver.

Reply to message from user@msn.com that user@domain received, it does deliver.


The following is the output of netstat -tap:

[root@server1 ~]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:imaps *:* LISTEN 24639/xinetd
tcp 0 0 *:32769 *:* LISTEN 1899/rpc.statd
tcp 0 0 *op3s *:* LISTEN 24639/xinetd
tcp 0 0 *:mysql *:* LISTEN 2356/mysqld
tcp 0 0 *op3 *:* LISTEN 24639/xinetd
tcp 0 0 *:imap *:* LISTEN 24639/xinetd
tcp 0 0 *:sunrpc *:* LISTEN 1881/portmap
tcp 0 0 *:10000 *:* LISTEN 3536/perl
tcp 0 0 *:81 *:* LISTEN 2671/ispconfig_http
tcp 0 0 *:ftp *:* LISTEN 23626/proftpd: (acc
tcp 0 0 70-225-237-246.ded.a:domain *:* LISTEN 9972/named
tcp 0 0 70-225-237-245.ded.a:domain *:* LISTEN 9972/named
tcp 0 0 server1.hcihm.org:domain *:* LISTEN 9972/named
tcp 0 0 server1.hcihm.org:ipp *:* LISTEN 2208/cupsd
tcp 0 0 server1.hcihm.org:5335 *:* LISTEN 2190/mDNSResponder
tcp 0 0 *:smtp *:* LISTEN 25122/master
tcp 0 0 server1.hcihm.org:rndc *:* LISTEN 9972/named
tcp 0 0 *:http *:* LISTEN 24003/httpd
tcp 0 0 *:ssh *:* LISTEN 2256/sshd
tcp 0 0 ::1:rndc *:* LISTEN 9972/named
tcp 0 0 *:https *:* LISTEN 24003/httpd
tcp 0 864 70-225-237-245.ded.amer:ssh 70-225-237-242.ded.am:49979 ESTABLISHED 4350/1


Thank you for your help.
Reply With Quote
  #4  
Old 4th March 2006, 18:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

What's in the mail log when you send an email from user@domain.com?
Are you using an email client like Outlook or Thunderbird, or do you use webmail?
Do you see any error messages?
__________________
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
  #5  
Old 4th March 2006, 23:46
garfabian garfabian is offline
Junior Member
 
Join Date: Mar 2006
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I'm sending an email from user germaing@aztecasupply.com which is a site being hosted on the same address as server1.hcihm.org it does deliver to yahoo accounts but it takes a while and msn doesnt seem to work at all with msn accounts only works if I reply a message originated from msn but cannot create a message to an msn recipient. Thank you for all your help. I'm using UebiMiau and hopefully later outlook or thunderbird as I'm trying to host three site but would like to get one working.


This is my maillog:

Mar 4 16:28:29 server1 ipop3d[14423]: pop3 service init from 127.0.0.1
Mar 4 16:28:29 server1 ipop3d[14423]: Login user=germaing host=server1.hcihm.org [127.0.0.1] nmsgs=0/0
Mar 4 16:28:29 server1 ipop3d[14423]: Logout user=germaing host=server1.hcihm.org [127.0.0.1] nmsgs=0 ndele=0
Mar 4 16:28:37 server1 ipop3d[14426]: pop3 service init from 127.0.0.1
Mar 4 16:28:38 server1 ipop3d[14426]: Login user=germaing host=server1.hcihm.org [127.0.0.1] nmsgs=0/0
Mar 4 16:28:38 server1 ipop3d[14426]: Logout user=germaing host=server1.hcihm.org [127.0.0.1] nmsgs=0 ndele=0
Mar 4 16:28:43 server1 ipop3d[14431]: pop3 service init from 127.0.0.1
Mar 4 16:28:43 server1 ipop3d[14431]: Login user=germaing host=server1.hcihm.org [127.0.0.1] nmsgs=0/0
Mar 4 16:28:43 server1 ipop3d[14431]: Logout user=germaing host=server1.hcihm.org [127.0.0.1] nmsgs=0 ndele=0
Mar 4 16:29:07 server1 postfix/smtpd[14444]: warning: cannot get private key from file /etc/postfix/ssl/smtpd.key
Mar 4 16:29:07 server1 postfix/smtpd[14444]: warning: TLS library problem: 14444:error:0906406D:PEM routines EF_CALLBACK roblems getting password em_lib.c:105:
Mar 4 16:29:07 server1 postfix/smtpd[14444]: warning: TLS library problem: 14444:error:0906A068:PEM routines:PEM_do_header:bad password read em_lib.c:401:
Mar 4 16:29:07 server1 postfix/smtpd[14444]: warning: TLS library problem: 14444:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib:ssl_rsa.c:709:
Mar 4 16:29:07 server1 postfix/smtpd[14444]: cannot load RSA certificate and key data
Mar 4 16:29:07 server1 postfix/smtpd[14444]: connect from server1.hcihm.org[127.0.0.1]
Mar 4 16:29:07 server1 postfix/smtpd[14444]: D08FFE400FC: client=server1.hcihm.org[127.0.0.1]
Mar 4 16:29:07 server1 postfix/cleanup[14445]: D08FFE400FC: message-id=<20060304222907.D08FFE400FC@server1.hcihm.org>
Mar 4 16:29:07 server1 postfix/qmgr[25137]: D08FFE400FC: from=<germaing@aztecasupply.com>, size=739, nrcpt=1 (queue active)
Mar 4 16:29:07 server1 ipop3d[14447]: pop3 service init from 127.0.0.1
Mar 4 16:29:07 server1 postfix/smtpd[14444]: disconnect from server1.hcihm.org[127.0.0.1]
Mar 4 16:29:08 server1 ipop3d[14447]: Login user=germaing host=server1.hcihm.org [127.0.0.1] nmsgs=0/0
Mar 4 16:29:08 server1 ipop3d[14447]: Logout user=germaing host=server1.hcihm.org [127.0.0.1] nmsgs=0 ndele=0
Mar 4 16:29:37 server1 postfix/smtp[14446]: connect to mx2.hotmail.com[65.54.190.50]: Connection timed out (port 25)
Mar 4 16:29:57 server1 postfix/anvil[14361]: statistics: max connection rate 1/60s for (smtp:63.13.186.204) at Mar 4 16:26:35
Mar 4 16:29:57 server1 postfix/anvil[14361]: statistics: max connection count 1 for (smtp:63.13.186.204) at Mar 4 16:26:35
Mar 4 16:29:57 server1 postfix/anvil[14361]: statistics: max cache size 1 at Mar 4 16:26:35
Mar 4 16:30:07 server1 postfix/smtp[14446]: connect to mx3.hotmail.com[64.4.50.179]: Connection timed out (port 25)
Mar 4 16:30:08 server1 postfix/smtp[14446]: D08FFE400FC: to=<garfabian@msn.com>, relay=mx2.hotmail.com[65.54.244.40], delay=61, status=sent (250 <20060304222907.D08FFE400FC@server1.hcihm.org> Queued mail for delivery)
Mar 4 16:30:08 server1 postfix/qmgr[25137]: D08FFE400FC: removed
Mar 4 16:38:22 server1 postfix/smtpd[14970]: warning: cannot get private key from file /etc/postfix/ssl/smtpd.key
Mar 4 16:38:22 server1 postfix/smtpd[14970]: warning: TLS library problem: 14970:error:0906406D:PEM routinesEF_CALLBACKroblems getting passwordem_lib.c:105:
Mar 4 16:38:22 server1 postfix/smtpd[14970]: warning: TLS library problem: 14970:error:0906A068:PEM routines:PEM_do_header:bad password readem_lib.c:401:
Mar 4 16:38:22 server1 postfix/smtpd[14970]: warning: TLS library problem: 14970:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib:ssl_rsa.c:709:
Mar 4 16:38:22 server1 postfix/smtpd[14970]: cannot load RSA certificate and key data
Mar 4 16:38:22 server1 postfix/smtpd[14970]: connect from server1.hcihm.org[127.0.0.1]
Mar 4 16:38:22 server1 postfix/smtpd[14970]: C0180E400FC: client=server1.hcihm.org[127.0.0.1]
Mar 4 16:38:22 server1 postfix/cleanup[14973]: C0180E400FC: message-id=<20060304223822.C0180E400FC@server1.hcihm.org>
Mar 4 16:38:22 server1 postfix/qmgr[25137]: C0180E400FC: from=<germaing@aztecasupply.com>, size=754, nrcpt=1 (queue active)
Mar 4 16:38:22 server1 ipop3d[14975]: pop3 service init from 127.0.0.1
Mar 4 16:38:22 server1 postfix/smtpd[14970]: disconnect from server1.hcihm.org[127.0.0.1]
Mar 4 16:38:23 server1 ipop3d[14975]: Login user=germaing host=server1.hcihm.org [127.0.0.1] nmsgs=0/0
Mar 4 16:38:23 server1 ipop3d[14975]: Logout user=germaing host=server1.hcihm.org [127.0.0.1] nmsgs=0 ndele=0
Mar 4 16:38:23 server1 postfix/smtp[14974]: C0180E400FC: to=<big_daddy_o00@yahoo.com>, relay=mx3.mail.yahoo.com[4.79.181.13], delay=1, status=sent (250 ok dirdel)
Mar 4 16:38:23 server1 postfix/qmgr[25137]: C0180E400FC: removed
Reply With Quote
  #6  
Old 5th March 2006, 14:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

To me this looks like a spam preventing measure from Hotmail because sending to Yahoo works.
I could imagine that you don't have a proper PTR record or SPF record fro your domain, that's why Hotmail refuses to accept your mail - with one exception: if a Hotmail user sends you a mail, and you reply to that mail, then Hotmail seems to recognize that this was initiated by a Hotmail user and therefore thinks that this isn't spam.
I'd contact the Hotmail support and ask what could cause this trouble.
__________________
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
  #7  
Old 6th March 2006, 23:37
garfabian garfabian is offline
Junior Member
 
Join Date: Mar 2006
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks falko, is there any info you can redirect me to about PTR record or SPF records.
Reply With Quote
  #8  
Old 6th March 2006, 23:55
testing testing is offline
Junior Member
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Post I have the same issue but think the reason is something else

Hi,

I read this thread and I am experiencing the same issue as described. I can reply to a hotmail address and it works, however once I try to create from the webmail and send it, it doesn't go to my hotmail inbox. I do not think this is spam, Falco. I found out something interessting.

I wrote an email to my email box on my server and also sent the email to some other hotmail account that I have. Then I did a REPLY ALL in webmail, and then it went back to the email that I sent it from (which was hotmail). Then for the other address, it now says reply to "mysecondaddress@hotmail.com"@hostname.domainname. com, which is wrong. So, something is happening with UebiMiau Webmail, but I am not sure how to fix it.

If I use Outlook, however, everything works.

I would appreciate any comments or help on this matter,

Thanks,

Geir
Reply With Quote
  #9  
Old 7th March 2006, 00:06
testing testing is offline
Junior Member
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Post Here is my error log

Here is my error log. Any ideas of what can be wrong? I am just a beginner at Linux... just starting to learn the fun of it...after spending years with microsoft.

Any help would be appreciated.
.................................................. .................................................. ........................................

Mar 6 17:43:37 web pop3d: Connection, ip=[::ffff:192.168.1.199]
Mar 6 17:43:37 web pop3d: LOGIN, user=web3_byoung1, ip=[::ffff:192.168.1.199]
Mar 6 17:43:37 web pop3d: LOGOUT, user=web3_byoung1, ip=[::ffff:192.168.1.199], top=15477, retr=0, time=0
Mar 6 17:53:38 web pop3d: Connection, ip=[::ffff:192.168.1.199]
Mar 6 17:53:38 web pop3d: LOGIN, user=web3_byoung1, ip=[::ffff:192.168.1.199]
Mar 6 17:53:38 web pop3d: LOGOUT, user=web3_byoung1, ip=[::ffff:192.168.1.199], top=15477, retr=0, time=0
Mar 6 17:56:18 web postfix/smtpd[24417]: warning: connect to private/tlsmgr: No such file or directory
Mar 6 17:56:19 web postfix/smtpd[24417]: warning: connect to private/tlsmgr: No such file or directory
Mar 6 17:56:19 web postfix/smtpd[24417]: warning: problem talking to server private/tlsmgr: No such file or directory
Mar 6 17:56:19 web postfix/smtpd[24417]: warning: no entropy for TLS key generation: disabling TLS support
Mar 6 17:56:19 web postfix/smtpd[24417]: connect from web.consultingwizards.com[192.168.1.199]
Mar 6 17:56:20 web postfix/smtpd[24417]: 047F2374043: client=web.consultingwizards.com[192.168.1.199]
Mar 6 17:56:20 web postfix/cleanup[24420]: 047F2374043: message-id=<20060306225619.047F2374043@web.consultingwizar ds.com>
Mar 6 17:56:20 web postfix/qmgr[23245]: 047F2374043: from=<byoung@janetandbrian.com>, size=776, nrcpt=1 (queue active)
Mar 6 17:56:20 web postfix/smtp[24421]: warning: connect to private/tlsmgr: No such file or directory
Mar 6 17:56:20 web postfix/smtpd[24417]: disconnect from web.consultingwizards.com[192.168.1.199]
Mar 6 17:56:20 web pop3d: Connection, ip=[::ffff:192.168.1.199]
Mar 6 17:56:20 web pop3d: LOGIN, user=web3_byoung1, ip=[::ffff:192.168.1.199]
Mar 6 17:56:20 web pop3d: LOGOUT, user=web3_byoung1, ip=[::ffff:192.168.1.199], top=0, retr=0, time=0
Mar 6 17:56:21 web postfix/smtp[24421]: warning: connect to private/tlsmgr: No such file or directory
Mar 6 17:56:21 web postfix/smtp[24421]: warning: problem talking to server private/tlsmgr: No such file or directory
Mar 6 17:56:21 web postfix/smtp[24421]: warning: no entropy for TLS key generation: disabling TLS support
Mar 6 17:56:22 web postfix/smtp[24421]: 047F2374043: to=<geo@brreg.no>, relay=post2.brreg.no[195.43.63.195], delay=3, status=sent (250 2.6.0 <20060306225619.047F2374043@web.consultingwizards. com> Queued mail for delivery)
Mar 6 17:56:22 web postfix/qmgr[23245]: 047F2374043: removed
Reply With Quote
  #10  
Old 7th March 2006, 07:50
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,500 Times in 4,329 Posts
 
Default

Quote:
Originally Posted by testing
Hi,

I read this thread and I am experiencing the same issue as described. I can reply to a hotmail address and it works, however once I try to create from the webmail and send it, it doesn't go to my hotmail inbox. I do not think this is spam, Falco. I found out something interessting.

I wrote an email to my email box on my server and also sent the email to some other hotmail account that I have. Then I did a REPLY ALL in webmail, and then it went back to the email that I sent it from (which was hotmail). Then for the other address, it now says reply to "mysecondaddress@hotmail.com"@hostname.domainname. com, which is wrong. So, something is happening with UebiMiau Webmail, but I am not sure how to fix it.

If I use Outlook, however, everything works.

I would appreciate any comments or help on this matter,

Thanks,

Geir

Which address is in the "to:" field when you reply in UebiMiau? This looks more like a formatting error in UebiMiau the a problem with your email server. Do you get the same behaviour when you use thunderbird or outlook as email client?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 08:27
Perfect Setup Suse 10 can send but not receive mail Grizzly HOWTO-Related Questions 33 6th March 2006 23:14
Send mail but don't receive domenico Installation/Configuration 9 27th January 2006 11:16
Postfix mail is held in queue indefinitely... squallbsr Server Operation 9 15th January 2006 19:13
postfix starts and stops why lhatle Installation/Configuration 2 21st December 2005 15:20


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


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