
24th May 2011, 19:06
|
|
Junior Member
|
|
Join Date: May 2011
Location: Sioux City. Ia
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Courierx
Courier was installed with tut. I installed webmin for Virtualbox but it didnt work ill remove that later.
But I know this is something todo with postfix. Im unable to login to squirlmail with any account i create as well as postfix is trying to relay from what it seems through 127.0.0.1 if thats true then it should be using my isp, mail.cableone.net
what do i need to change to fix that.
|

25th May 2011, 08:13
|
|
Junior Member
|
|
Join Date: May 2011
Location: Sioux City. Ia
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I thought forums were faster then this
Bump.............................................. .................................................
|

25th May 2011, 15:25
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,599 Times in 2,448 Posts
|
|
Please comment out the lines
Code:
dovecot_destination_recipient_limit = 1
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
in your main.cf and restart Postfix.
|

27th May 2011, 07:09
|
|
Junior Member
|
|
Join Date: May 2011
Location: Sioux City. Ia
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ok
did that now config looks like
Code:
# 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
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = /usr/share/doc/postfix
# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_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.
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = server.phossite.net, localhost, localhost.localdomain
relayhost = mail.cableone.net
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
html_directory = /usr/share/doc/postfix/html
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /var/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
smtpd_tls_security_level = may
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
virtual_transport = dovecot
header_checks = regexp:/etc/postfix/header_checks
mime_header_checks = regexp:/etc/postfix/mime_header_checks
nested_header_checks = regexp:/etc/postfix/nested_header_checks
body_checks = regexp:/etc/postfix/body_checks
#dovecot_destination_recipient_limit = 1
#smtpd_sasl_type = dovecot
#smtpd_sasl_path = private/auth
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
message_size_limit = 0
smtp_sasl_auth_enable = no
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
myhostname = server.phossite.net
mynetworks = 127.0.0.0/8 [::1]/128
I GOT A different error now.
Mail Error log
Code:
userdb lookup: connect(/var/run/dovecot/auth-master) failed: No such file or directory
Last edited by pehden; 27th May 2011 at 08:19.
|

28th May 2011, 11:54
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,599 Times in 2,448 Posts
|
|
Please run
Code:
postconf -e 'virtual_transport = maildrop'
/etc/init.d/postfix restart
|

5th June 2011, 20:43
|
|
Junior Member
|
|
Join Date: May 2011
Location: Sioux City. Ia
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
now i get this error
Code:
Jun 5 13:35:08 server getmail: getmailOperationError error (IMAP error (Login failed.))
Jun 5 13:35:30 server postfix/smtpd[2790]: fatal: no SASL authentication mechanisms
|

6th June 2011, 10:37
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,066
Thanks: 697
Thanked 4,246 Times in 3,259 Posts
|
|
According to getmail, you use a wrong username or password.
|

7th June 2011, 18:39
|
|
Junior Member
|
|
Join Date: May 2011
Location: Sioux City. Ia
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
...
Thats what i thought but i have set the email password over a thousand times and it still gives the same error.
Even logging in with different clients afterlogic webmail and Evolution Mail Client.
|

10th June 2011, 20:51
|
|
Junior Member
|
|
Join Date: Jun 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
try this
Hi I'm new on howtoforge forum but not on the webpage
Some weeks ago I installed ispconfig 3 by debian 6, I had the same issue and I fix it with this little change:
try replacing the following line on your main.cf of your postfix configuration
mydestination = server.phossite.net, localhost, localhost.localdomain
with this:
mydestination = localhost, localhost.localdomain
try it and let us know if works for you
|

12th June 2011, 15:56
|
|
Junior Member
|
|
Join Date: May 2011
Location: Sioux City. Ia
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Sorry i forgot to update this that i swapped to ehcp software, but with your response i think i had it like that before and it still gave me the log in error.
Thanks alot though.
|
| Thread Tools |
|
|
| Display Modes |
Linear 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 23:42.
|
Recent comments
1 day 1 hour ago
1 day 4 hours ago
1 day 15 hours ago
1 day 18 hours ago
1 day 22 hours ago
2 days 5 hours ago
2 days 14 hours ago
2 days 16 hours ago
3 days 26 min ago
3 days 1 hour ago