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
  #11  
Old 28th December 2008, 21:54
giganet giganet is offline
Senior Member
 
Join Date: Aug 2007
Location: California
Posts: 243
Thanks: 116
Thanked 1 Time in 1 Post
Send a message via AIM to giganet
Default

Thank you Falko

I am going to delete the second db, I mentioned last night.

I edited my .NET server hosts file to look as:
'127.0.0.1 localhost.localdomain localhost giganetwireless.net
65.197.209.3 giganetwireless.net Bender
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback localhost.localdomain
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts'

After doing this I ran '/etc/inist.d/postfix restart' but I still get the same results, login failure for send/receive Email.

Can I ask why I would need the IPV6 line on this server when it does not exist on my .COM server which functions fine?

My .COM server hosts file appears as follows:
'127.0.0.1 localhost.localdomain localhost giganetwireless.com
65.197.209.2 giganetwireless.com Leela
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts'

Wouldn't having the additional MySQL db as I mentioned cause this issue?
My .COM server only has one MySQL db that caters to ISPConfig.
While my .NET server has a Mail db and an ISPConfig db

THanking you in advance for your help and time Falko...

Regards

Last edited by giganet; 28th December 2008 at 22:12.
Reply With Quote
Sponsored Links
  #12  
Old 29th December 2008, 13:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

You set up the "Virtual Postfix" tutorial on the .net server, right? Please undo that stuff.
__________________
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:
giganet (30th December 2008)
  #13  
Old 30th December 2008, 01:50
giganet giganet is offline
Senior Member
 
Join Date: Aug 2007
Location: California
Posts: 243
Thanks: 116
Thanked 1 Time in 1 Post
Send a message via AIM to giganet
Arrow

Hello Falko, thank you...

I went back and removed all files, dirs and changes from the "Virtual Postfix" Tutorial.

After this I picked up on the "The Perfect Server - Ubuntu Gutsy Gibbon (Ubuntu 7.10)" at page 3 and continued through this Tutorial to the end.

After completing this Tutorial and reconfiguring TBird to use TLS for the test account on this .NET server TBird donwloaded 25 pieces of EMail which I sent from one of my .COM accounts over last weekend.
POP3 Authorization Update: I am able to successfully authenticate POP3 in TBird on the .NET server


However I have the following issues when tying to Send & Receive of Email at the .NET account.

1) From a .COM Email account I just sent a test Email to the .NET server. The .COM account reveived a Delayed Mail (still being retried) Email notice?

2) When I attempt to send Email from the .NET server eventually TBird returns the following error.
Code:
Sending of message failed. The message could not be sent because connecting to SMTP server mail.giganetwireless.net failed. The server may be unavailable or is refusing SMTP connections. Please verify that your SMTP setting is correct and try again, or else contact your network administrator.
When I run the command(s):
Code:
telnet localhost 25
OR

Code:
telnet giganetwireless.net 25
All looks good with the following:
'250-giganetwireless.net
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN'


When I run:
'telnet localhost pop3'
OR
'telnet giganetwireless.net pop3'

The server returns:
'Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
+OK Hello there.'

After I type: 'quit'
'+OK Better luck next time.'

In TBird I have deleted ALL SSL certs and then restart the Email Client.

Also I have validated the SMTP settings for the .NET account to use: TLS, Username & Password.
In the username field I populated it with the username of the .NET test account.

Here is a sampling of the output of: 'cat /var/log/mail.log'
Code:
Dec 29 15:33:51 giganetwireless postfix/master[4281]: warning: /usr/lib/postfix/trivial-rewrite: bad comman                                                  d startup -- throttling
Dec 29 15:34:38 giganetwireless postfix/smtpd[4318]: connect from unknown[212.12.255.157]
Dec 29 15:34:51 giganetwireless postfix/trivial-rewrite[4337]: fatal: open database /etc/postfix/transport.                                                  db: No such file or directory
Dec 29 15:34:51 giganetwireless postfix/smtpd[4336]: connect from localhost.localdomain[127.0.0.1]
Dec 29 15:34:52 giganetwireless postfix/master[4281]: warning: process /usr/lib/postfix/trivial-rewrite pid                                                   4337 exit status 1
Dec 29 15:34:52 giganetwireless postfix/master[4281]: warning: /usr/lib/postfix/trivial-rewrite: bad comman                                                  d startup -- throttling
Dec 29 15:34:58 giganetwireless postfix/smtpd[4336]: disconnect from localhost.localdomain[127.0.0.1]
Dec 29 15:35:37 giganetwireless postfix/smtpd[4336]: connect from rv-out-0708.google.com[209.85.198.249]
Dec 29 15:35:52 giganetwireless postfix/trivial-rewrite[4359]: fatal: open database /etc/postfix/transport.                                                  db: No such file or directory
Dec 29 15:35:53 giganetwireless postfix/master[4281]: warning: process /usr/lib/postfix/trivial-rewrite pid                                                   4359 exit status 1
Dec 29 15:35:53 giganetwireless postfix/master[4281]: warning: /usr/lib/postfix/trivial-rewrite: bad comman                                                  d startup -- throttling
Dec 29 15:36:53 giganetwireless postfix/trivial-rewrite[4372]: fatal: open database /etc/postfix/transport.                                                  db: No such file or directory
Dec 29 15:36:54 giganetwireless postfix/master[4281]: warning: process /usr/lib/postfix/trivial-rewrite pid                                                   4372 exit status 1
Dec 29 15:36:54 giganetwireless postfix/master[4281]: warning: /usr/lib/postfix/trivial-rewrite: bad comman                                                  d startup -- throttling
Dec 29 15:37:14 giganetwireless postfix/smtpd[4379]: connect from smtp76.mansellgroup.net[67.90.143.76]
Dec 29 15:37:14 giganetwireless postfix/smtpd[4379]: lost connection after HELO from smtp76.mansellgroup.ne                                                  t[67.90.143.76]
Dec 29 15:37:14 giganetwireless postfix/smtpd[4379]: disconnect from smtp76.mansellgroup.net[67.90.143.76]
Dec 29 15:37:31 giganetwireless postfix/smtpd[4379]: connect from pc-43-115-241-201.cm.vtr.net[201.241.115.                                                  43]
Dec 29 15:37:54 giganetwireless postfix/trivial-rewrite[4393]: fatal: open database /etc/postfix/transport.                                                  db: No such file or directory
Dec 29 15:37:55 giganetwireless postfix/master[4281]: warning: process /usr/lib/postfix/trivial-rewrite pid                                                   4393 exit status 1
Dec 29 15:37:55 giganetwireless postfix/master[4281]: warning: /usr/lib/postfix/trivial-rewrite: bad comman                                                  d startup -- throttling
Dec 29 15:38:03 giganetwireless postfix/smtpd[4396]: connect from 201-213-51-230.net.prima.net.ar[201.213.5                                                  1.230]
Dec 29 15:38:30 giganetwireless postfix[4403]: fatal: usage: postfix [-c config_dir] [-Dv] command
Dec 29 15:38:55 giganetwireless postfix/trivial-rewrite[4410]: fatal: open database /etc/postfix/transport.                                                  db: No such file or directory
Dec 29 15:38:56 giganetwireless postfix/master[4281]: warning: process /usr/lib/postfix/trivial-rewrite pid                                                   4410 exit status 1
Dec 29 15:38:56 giganetwireless postfix/master[4281]: warning: /usr/lib/postfix/trivial-rewrite: bad comman                                                  d startup -- throttling
Dec 29 15:39:06 giganetwireless postfix/smtpd[4423]: connect from hermes.fuom.br[200.149.221.226]
Dec 29 15:39:12 giganetwireless postfix/smtpd[4426]: connect from 201-213-51-230.net.prima.net.ar[201.213.5                                                  1.230]
Dec 29 15:39:12 giganetwireless postfix/smtpd[4426]: lost connection after CONNECT from 201-213-51-230.net.                                                  prima.net.ar[201.213.51.230]
Dec 29 15:39:12 giganetwireless postfix/smtpd[4426]: disconnect from 201-213-51-230.net.prima.net.ar[201.21                                                  3.51.230]
Dec 29 15:39:14 giganetwireless postfix/smtpd[4426]: connect from 201-213-51-230.net.prima.net.ar[201.213.5                                                  1.230]

Here are the output(s) of:
'hostname'
giganetwireless.net

&&

'hostname -f'
localhost.localdomain


The content of '/etc/hosts'
Code:
127.0.0.1       localhost.localdomain localhost giganetwireless.net
65.197.209.3    giganetwireless.net     Bender
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback localhost.localdomain
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

Once again Falko I thank you in advance for your help :-)

Regards

Last edited by giganet; 30th December 2008 at 03:21. Reason: POP3 Authorization Update
Reply With Quote
  #14  
Old 30th December 2008, 13:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Does mail.giganetwireless.net exist and point to the correct server?

What's in /etc/postfix/main.cf on the .net 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
The Following User Says Thank You to falko For This Useful Post:
giganet (30th December 2008)
  #15  
Old 31st December 2008, 00:05
giganet giganet is offline
Senior Member
 
Join Date: Aug 2007
Location: California
Posts: 243
Thanks: 116
Thanked 1 Time in 1 Post
Send a message via AIM to giganet
Exclamation

Thank you Falko...

Yes the DNS records for 'mail.giganetwireless.net' exist in DNSExit and are pointing to 65.197.209.3, a MX record also exists in ISPconfig too.
Using a remote ping application I am able to ping 'mail.giganetwireless.net' successfully.

The contents of /etc/postfix/main.cf:

[code]# Source: .NET main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete version

# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
#Do not en-able when using with ISPConfig.
#home_mailbox = Maildir/
# Uncomment the next line to generate "delayed mail" warnings
delay_warning_time = 30m
# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = giganetwireless.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = giganetwireless.net, localhost.com, , localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
virtual_maps = hash:/etc/postfix/virtusertable
mydestination = /etc/postfix/local-host-names
transport_maps = hash:/etc/postfix/transport
mailman_destination_recipient_limit = 1
## relay_domains = hash:/etc/postfix/relay-host-names
[\code]

I am not sure what happened after re-doing this Tutorial but all of the hosted web-sites are inaccessible now.
So far I have tried to restart 'bind9' & 'ispconfig_server' trying to resolve this but still no luck...

ISPConfig is accessible by browser though at the .NET server...

Thank You Falko

Regards

Last edited by giganet; 31st December 2008 at 00:10. Reason: Re-Edit
Reply With Quote
  #16  
Old 31st December 2008, 13:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

What's the output of
Code:
ls -la /etc/postfix
, and what's in /etc/postfix/transport?
__________________
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:
giganet (31st December 2008)
  #17  
Old 31st December 2008, 17:02
giganet giganet is offline
Senior Member
 
Join Date: Aug 2007
Location: California
Posts: 243
Thanks: 116
Thanked 1 Time in 1 Post
Send a message via AIM to giganet
Red face

Thank you Falko...

Services Monitoring Info Falko I thought I would share this additional info with you;
I use the MikroTik Dude to monitor my network, when I look at the monitoring stats for the .NET server the services 'ping, dns & POP3' are all UP while 'http & smtp' are in an UNKNOWN state.


The output of 'ls -la /etc/postfix':
Code:
total 128
drwxr-xr-x   4 root root  4096 2008-12-30 15:05 .
drwxr-xr-x 101 root root 12288 2008-12-30 18:14 ..
-rw-r--r--   1 root root   373 2008-12-22 20:23 dynamicmaps.cf
-rw-r--r--   1 root root   416 2008-12-29 18:27 local-host-names
-rw-r--r--   1 root root   416 2008-12-29 18:27 local-host-names~
-rw-r--r--   1 root root  2052 2008-12-29 13:53 main.cf
-rw-r--r--   1 root root  1817 2007-11-02 07:46 main.cf.orig
-rw-r--r--   1 root root  4034 2008-12-25 19:08 master.cf
-rw-r--r--   1 root root 18116 2007-10-05 18:19 postfix-files
-rwxr-xr-x   1 root root  7121 2007-10-05 18:19 postfix-script
-rwxr-xr-x   1 root root 22197 2007-10-05 18:19 post-install
-rw-r--r--   1 root root     0 2008-12-25 17:31 quota
drwxr-xr-x   2 root root  4096 2008-12-29 14:08 sasl
drwxr-xr-x   2 root root  4096 2008-12-29 15:31 ssl
-rw-r--r--   1 root root     0 2008-12-25 17:31 .users
-rw-r--r--   1 root root  6152 2008-12-29 18:27 virtusertable
-rw-r--r--   1 root root  6152 2008-12-29 18:27 virtusertable~
-rw-r--r--   1 root root 12288 2008-12-29 18:27 virtusertable.db

The contents of '/etc/postfix/transport':
Hmm, I used 'vi' and it opened a "NEW" file ...?


Regards Falko

Last edited by giganet; 1st January 2009 at 03:04. Reason: Services Monitoring Info
Reply With Quote
  #18  
Old 1st January 2009, 11:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

The file doesn't exist. Please remove the line
Code:
transport_maps = hash:/etc/postfix/transport
from /etc/postfix/main.cf and restart Postfix.
__________________
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:
giganet (1st January 2009)
  #19  
Old 1st January 2009, 19:26
giganet giganet is offline
Senior Member
 
Join Date: Aug 2007
Location: California
Posts: 243
Thanks: 116
Thanked 1 Time in 1 Post
Send a message via AIM to giganet
 
Smile

Thank you once again Falko!

I am bookmarking all of my posts for later use as reference.

Happy New Year Falko

Best Regards
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
The Perfect Server - Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server) - Page4-DNS Server Linocks Installation/Configuration 3 13th May 2008 12:24
Ubuntu desktop 7.10 Gutsy Gibbon kirim Desktop Operation 2 8th April 2008 13:08
user mail problems with The Perfect Server - Ubuntu Gutsy Gibbon (Ubuntu 7.10) rmccain HOWTO-Related Questions 3 15th January 2008 04:33
Gutsy Gibbon Perfect Server - Vhosts and Proftpd dbrooke General 1 12th November 2007 08:37
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30


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


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