
2nd August 2006, 19:27
|
|
Junior Member
|
|
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Outgoing email problems
I have just recently setup a new server following the Prefect Setup guide for Fedora Core 5. I then installed ISPConfig per the intructions provided. I am able to recieve mail from outside and send mail internally. I just cannot send out to any other domains. When I try to send out I get an email back with
The following recipient(s) cannot be reached:
'service@advcomputers.com' on 8/2/2006 12:34 PM
550 <service@advcomputers.com>: Recipient address rejected: User unknown in local recipient table
Some of the other email I send to hotmail addresses never arrives and no messages come back.
My mail log file looks like this...
Aug 2 12:32:44 ns1 postfix/qmgr[12302]: 1A0DD834415: from=<scott@advcomputers.ca>, size=2688, nrcpt=1 (queue active)
Aug 2 12:32:45 ns1 postfix/master[12299]: warning: process /usr/libexec/postfix/smtp pid 12304 exit status 1
Aug 2 12:32:45 ns1 postfix/master[12299]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
Aug 2 12:33:32 ns1 postfix/smtpd[12323]: warning: connect to private/tlsmgr: Connection refused
Aug 2 12:33:32 ns1 postfix/smtpd[12323]: warning: problem talking to server private/tlsmgr: Connection refused
Aug 2 12:33:33 ns1 postfix/smtpd[12323]: warning: connect to private/tlsmgr: Connection refused
Aug 2 12:33:33 ns1 postfix/smtpd[12323]: warning: problem talking to server private/tlsmgr: Connection refused
Aug 2 12:33:33 ns1 postfix/smtpd[12323]: warning: no entropy for TLS key generation: disabling TLS support
Aug 2 12:33:33 ns1 postfix/smtpd[12323]: connect from unknown[10.10.10.5]
Aug 2 12:33:33 ns1 postfix/smtpd[12323]: AEA7A834417: client=unknown[10.10.10.5], sasl_method=PLAIN, sasl_username=web1_scott
Aug 2 12:33:33 ns1 postfix/smtpd[12323]: AEA7A834417: reject: RCPT from unknown[10.10.10.5]: 550 <service@advcomputers.com>: Recipient address rejected: User unknown in local recipient table; from=<scott@advcomputers.ca> to=<service@advcomputers.com> proto=ESMTP helo=<TECHSHOP>
Aug 2 12:33:33 ns1 postfix/cleanup[12325]: AEA7A834417: message-id=<000801c6b651$64ebf7b0$2ec3e710$@ca>
Aug 2 12:33:33 ns1 postfix/qmgr[12302]: AEA7A834417: from=<scott@advcomputers.ca>, size=2718, nrcpt=1 (queue active)
Aug 2 12:33:38 ns1 postfix/smtpd[12323]: disconnect from unknown[10.10.10.5]
Aug 2 12:33:45 ns1 postfix/smtp[12331]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter
Aug 2 12:33:46 ns1 postfix/master[12299]: warning: process /usr/libexec/postfix/smtp pid 12331 exit status 1
Aug 2 12:33:46 ns1 postfix/master[12299]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
Aug 2 12:34:46 ns1 postfix/smtp[12352]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter
Aug 2 12:34:47 ns1 postfix/master[12299]: warning: process /usr/libexec/postfix/smtp pid 12352 exit status 1
Aug 2 12:34:47 ns1 postfix/master[12299]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
Aug 2 12:35:12 ns1 dovecot: pop3-login: Login: user=<web1_scott>, method=PLAIN, rip=::ffff:10.10.10.5, lip=::ffff:10.10.10.1
Aug 2 12:35:12 ns1 dovecot: POP3(web1_scott): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
My main.cf file looks like this...
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
inet_interfaces = all
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.2.8/samples
readme_directory = /usr/share/doc/postfix-2.2.8/README_FILES
smtp_sasl_local_domain =
smtp_sasl_auth_enable = yes
smtp_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
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
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
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
virtual_maps = hash:/etc/postfix/virtusertable
mydestination = /etc/postfix/local-host-names
Any help with this problem would be great! I'm just not sure what I'm missing.
Thanks,
Scott
|

3rd August 2006, 16:08
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Please comment out these lines in your main.cf:
Code:
smtp_sasl_local_domain =
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
and restart Postfix.
|

3rd August 2006, 18:32
|
|
Junior Member
|
|
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I tried what you said and when I send now without authentication the maillog shows this...
Aug 3 12:15:02 ns1 postfix/smtpd[8362]: connect from unknown[10.10.10.5]
Aug 3 12:15:02 ns1 postfix/smtpd[8362]: 8C2988345F4: client=unknown[10.10.10.5]
Aug 3 12:15:02 ns1 postfix/cleanup[8363]: 8C2988345F4: message-id=<44D22104.8000903@advcomputers.ca>
Aug 3 12:15:02 ns1 postfix/qmgr[8082]: 8C2988345F4: from=<scott@advcomputers.ca>, size=522, nrcpt=1 (queue active)
Aug 3 12:15:02 ns1 postfix/smtpd[8362]: disconnect from unknown[10.10.10.5]
but the email never goes through.
There is also alot of lines like the following....
Aug 3 12:19:48 ns1 postfix/smtp[8500]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter
Aug 3 12:19:48 ns1 postfix/smtp[8501]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter
Aug 3 12:19:49 ns1 postfix/master[8079]: warning: process /usr/libexec/postfix/smtp pid 8500 exit status 1
Aug 3 12:19:49 ns1 postfix/master[8079]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
Aug 3 12:19:49 ns1 postfix/master[8079]: warning: process /usr/libexec/postfix/smtp pid 8501 exit status 1
Aug 3 12:19:49 ns1 postfix/master[8079]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
Anything else I should be checking? Thanks again for helping!
|

4th August 2006, 13:25
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
|
Originally Posted by Sarcha
Aug 3 12:19:48 ns1 postfix/smtp[8500]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter
Aug 3 12:19:48 ns1 postfix/smtp[8501]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter
|
I thought these messages would go with what I posted above... Anyway, I noticed a lot of directives in your main.cf that are not mentioned in the tutorial. Try to remove them.
|

20th January 2007, 15:50
|
|
HowtoForge Supporter
|
|
Join Date: Jan 2007
Location: Bradford, UK
Posts: 40
Thanks: 5
Thanked 0 Times in 0 Posts
|
|
I am also having very similar problems to this thread. My set up is running Fedora core 5 with Ispconfig v2.2.9. Installed as per howtoforge instructions.
I also can receive and send mail internally but not externally. This might be because my isp may be blocking port 25, but a few errors are showing in the mail log.
I think the problem may be because of the error.
Quote:
|
postfix/qmgr[1972]: fatal: specify a password table via the 'smtp_sasl_password_maps'
|
The file 'smtp_sasl_password_maps' dosn't exist on my system or is this something that should be set up from ispconfig.
Many thanks in advance for any help you may be able to give.
PS I am new to linux and learning very quick lol
|

20th January 2007, 16:30
|
|
HowtoForge Supporter
|
|
Join Date: Jan 2007
Location: Bradford, UK
Posts: 40
Thanks: 5
Thanked 0 Times in 0 Posts
|
|
My maillog file from startup
Jan 20 13:56:39 server1 dovecot: Dovecot v1.0.beta8 starting up
Jan 20 13:56:39 server1 dovecot: Generating Diffie-Hellman parameters for the first time. This may take a while..
Jan 20 13:56:39 server1 sendmail[1909]: alias database /etc/aliases rebuilt by root
Jan 20 13:56:39 server1 sendmail[1909]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
Jan 20 13:56:41 server1 postfix/postfix-script: starting the Postfix mail system
Jan 20 13:56:41 server1 postfix/master[1962]: daemon started -- version 2.2.8, configuration /etc/postfix
Jan 20 13:56:41 server1 postfix/qmgr[1970]: 2FB7E91E2B8: from=<admin@bookowl.co.uk>, size=4213, nrcpt=1 (queue active)
Jan 20 13:56:41 server1 postfix/qmgr[1970]: 07ABA91E2B9: from=<admin@bookowl.co.uk>, size=4213, nrcpt=1 (queue active)
Jan 20 13:56:41 server1 postfix/qmgr[1970]: 0955991E2BB: from=<admin@bookowl.co.uk>, size=4213, nrcpt=1 (queue active)
Jan 20 13:56:41 server1 postfix/qmgr[1970]: 90E2091E2BA: from=<admin@bookowl.co.uk>, size=4213, nrcpt=1 (queue active)
Jan 20 13:56:41 server1 postfix/qmgr[1970]: C3B8191E271: from=<admin@bookowl.co.uk>, size=4213, nrcpt=1 (queue active)
Jan 20 13:56:41 server1 postfix/qmgr[1970]: 84F2091E2B7: from=<admin@bookowl.co.uk>, size=4213, nrcpt=1 (queue active)
Jan 20 13:56:41 server1 postfix/qmgr[1970]: A362891E274: from=<admin@bookowl.co.uk>, size=4215, nrcpt=1 (queue active)
Jan 20 13:56:42 server1 postfix/smtp[1972]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter
Jan 20 13:56:43 server1 postfix/master[1962]: warning: process /usr/libexec/postfix/smtp pid 1972 exit status 1
Jan 20 13:56:43 server1 postfix/master[1962]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
Jan 20 13:57:12 server1 postfix/postfix-script: stopping the Postfix mail system
Jan 20 13:57:12 server1 postfix/master[1962]: terminating on signal 15
Jan 20 13:57:12 server1 sendmail[2489]: alias database /etc/aliases rebuilt by root
Jan 20 13:57:12 server1 sendmail[2489]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
Jan 20 13:57:15 server1 postfix/postfix-script: starting the Postfix mail system
Jan 20 13:57:15 server1 postfix/master[2546]: daemon started -- version 2.2.8, configuration /etc/postfix
Jan 20 13:57:15 server1 postfix/qmgr[2548]: 2FB7E91E2B8: from=<admin@bookowl.co.uk>, size=4213, nrcpt=1 (queue active)
Jan 20 13:57:15 server1 postfix/qmgr[2548]: 07ABA91E2B9: from=<admin@bookowl.co.uk>, size=4213, nrcpt=1 (queue active)
Jan 20 13:57:15 server1 postfix/qmgr[2548]: 0955991E2BB: from=<admin@bookowl.co.uk>, size=4213, nrcpt=1 (queue active)
Jan 20 13:57:15 server1 postfix/qmgr[2548]: 90E2091E2BA: from=<admin@bookowl.co.uk>, size=4213, nrcpt=1 (queue active)
Jan 20 13:57:15 server1 postfix/qmgr[2548]: C3B8191E271: from=<admin@bookowl.co.uk>, size=4213, nrcpt=1 (queue active)
Jan 20 13:57:15 server1 postfix/qmgr[2548]: 84F2091E2B7: from=<admin@bookowl.co.uk>, size=4213, nrcpt=1 (queue active)
Jan 20 13:57:15 server1 postfix/qmgr[2548]: A362891E274: from=<admin@bookowl.co.uk>, size=4215, nrcpt=1 (queue active)
Jan 20 13:57:15 server1 postfix/smtp[2575]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter
Jan 20 13:57:16 server1 postfix/master[2546]: warning: process /usr/libexec/postfix/smtp pid 2575 exit status 1
Jan 20 13:57:16 server1 postfix/master[2546]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
Jan 20 13:57:25 server1 dovecot: ssl-build-param: SSL parameters regeneration completed
Jan 20 13:58:16 server1 postfix/smtp[2885]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter
Jan 20 13:58:17 server1 postfix/master[2546]: warning: process /usr/libexec/postfix/smtp pid 2885 exit status 1
Jan 20 13:58:17 server1 postfix/master[2546]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
My main.cf file
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
efault_privs = nobody
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.2.8/samples
readme_directory = /usr/share/doc/postfix-2.2.8/README_FILES
smtp_sasl_local_domain =
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtp_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_sasl_authenticated_header = yes
tls_random_source = dev:/dev/urandom
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
Last edited by Andee63; 20th January 2007 at 18:11.
|

21st January 2007, 04:41
|
|
Junior Member
|
|
Join Date: Jan 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Shouldn't "mydestination" be commented out?
The current problem I am working on is connecting to the SMTP server via Thunderbird. But I don't want to jack this thread. I was just comparing my main.cf to the last one posted.
|

21st January 2007, 15:04
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,888
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
Please check that there is no white space in the string
Code:
reject _unauth_destination
that appears twice in the configuration file. It must be:
Code:
reject_unauth_destination
|

21st January 2007, 15:28
|
|
HowtoForge Supporter
|
|
Join Date: Jan 2007
Location: Bradford, UK
Posts: 40
Thanks: 5
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by till
Please check that there is no white space in the string
Code:
reject _unauth_destination
that appears twice in the configuration file. It must be:
Code:
reject_unauth_destination
|
Thanks till, Im not sure why the white space is showing, as it isnt there in the original main.cf. Must have been added when I copied it over to the forum. Just in case it was a hidden character I have deleted the text and re entered it.
Still getting the same errors
|

21st January 2007, 16:09
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
|
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 22:43.
|
Recent comments
20 hours 19 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 3 hours ago
1 day 5 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 12 hours ago
2 days 1 hour ago
2 days 3 hours ago