1 |
Ive read every forum on the site, and even ventured over the Wiki for |
2 |
even more redundant reading. Ive read the entire postfix handbook, |
3 |
and still have not found an answer to this problem. Its been two |
4 |
weeks now I haven't been able to send mail from outside the network |
5 |
to non local users. |
6 |
|
7 |
Heres my /etc/postfix/main.cf: |
8 |
|
9 |
alias_database = hash:/etc/mail/aliases |
10 |
alias_maps = hash:/etc/mail/aliases |
11 |
biff = no |
12 |
broken_sasl_auth_clients = yes |
13 |
command_directory = /usr/sbin |
14 |
config_directory = /etc/postfix |
15 |
content_filter = smtp-amavis:[127.0.0.1]:10024 |
16 |
daemon_directory = /usr/lib/postfix |
17 |
debug_peer_level = 2 |
18 |
default_destination_concurrency_limit = 2 |
19 |
empty_address_recipient = MAILER-DAEMON |
20 |
home_mailbox = .maildir/ |
21 |
html_directory = no |
22 |
inet_interfaces = all |
23 |
local_destination_concurrency_limit = 2 |
24 |
mail_owner = postfix |
25 |
mailq_path = /usr/bin/mailq |
26 |
manpage_directory = /usr/share/man |
27 |
mydestination = op, op.$mydomain, $mydomain |
28 |
mydomain = mydomain.com |
29 |
myhostname = op.mydomain.com |
30 |
mynetworks = 192.168.1.0/24, 127.0.0.0/8, *.*.*.*(my WAN ip) |
31 |
newaliases_path = /usr/bin/newaliases |
32 |
queue_directory = /var/spool/postfix |
33 |
queue_minfree = 120000000 |
34 |
readme_directory = /usr/share/doc/postfix-2.1.5-r2/readme |
35 |
sample_directory = /etc/postfix |
36 |
sendmail_path = /usr/sbin/sendmail |
37 |
setgid_group = postdrop |
38 |
smtp_use_tls = yes |
39 |
smtpd_data_restrictions = reject_unauth_pipelining |
40 |
smtpd_sasl_auth_enable = yes |
41 |
smtpd_sasl_local_domain = |
42 |
smtpd_sasl_security_options = noanonymous |
43 |
smtpd_tls_CAfile = /etc/ssl/postfix/server.pem |
44 |
smtpd_tls_cert_file = /etc/ssl/postfix/server.crt |
45 |
smtpd_tls_key_file = /etc/ssl/postfix/server.key |
46 |
smtpd_tls_loglevel = 3 |
47 |
smtpd_tls_received_header = yes |
48 |
smtpd_tls_session_cache_timeout = 3600s |
49 |
smtpd_use_tls = yes |
50 |
tls_random_source = dev:/dev/urandom |
51 |
unknown_local_recipient_reject_code = 450 |
52 |
virtual_alias_domains = myvirtual.com |
53 |
virtual_alias_maps = hash:/etc/postfix/virtual |
54 |
|
55 |
|
56 |
And heres /etc/sasl2/smtpd.conf: |
57 |
|
58 |
pwcheck_method: saslauthd |
59 |
mech_list: plain login |
60 |
|
61 |
And heres /etc/conf.d/saslauthd: |
62 |
|
63 |
# $Id: saslauthd.sysconfig,v 1.1 2001/05/02 10:55:48 wiget Exp $ |
64 |
# Authentications mechanism (for list see saslauthd -v) |
65 |
SASL_AUTHMECH=pam |
66 |
|
67 |
|
68 |
# Hostname for remote IMAP server (if rimap auth mech is used) |
69 |
# Ldap configuration file (if ldap auth mech is used) |
70 |
SASL_MECH_OPTIONS= |
71 |
|
72 |
|
73 |
# Extra options (for list see saslauthd -h) |
74 |
SASLAUTHD_OPTS= |
75 |
|
76 |
|
77 |
And last but not least, heres a description of the problem... |
78 |
|
79 |
TLS and everything else works great. However as soon as I check that |
80 |
little box in outlook express that says "my smtp server requires |
81 |
authentication" on the client whom worsk out of the office on home |
82 |
internet lines.. the password box keeps reappearing, and accepting |
83 |
any passwords... i ran the line "saslpasswd2 -c username" to no |
84 |
avail. Same issue. |
85 |
|
86 |
Postfix was compiled with SASL support: |
87 |
|
88 |
[ebuild R ] mail-mta/postfix-2.1.5-r2 -ipv6 -ldap -mailwrapper |
89 |
-mbox +mysql +pam -postgres +sasl (-selinux) +ssl -vda 0 kB |
90 |
|
91 |
And when i telnet to 25 and issue the ehlo command, i do get AUTH |
92 |
PLAIN lines... |
93 |
|
94 |
whats going on? |
95 |
|
96 |
please help |
97 |
|
98 |
im racking my brains. |
99 |
|
100 |
|
101 |
|
102 |
|
103 |
Joe Strusz |
104 |
|
105 |
IT Assistant |
106 |
Oxford Publishing, Inc. |
107 |
307 West Jackson Avenue |
108 |
Oxford, MS 38655-2154 |
109 |
800-247-3881 |
110 |
662-236-5510x40 |
111 |
jstrusz@×××××.com |
112 |
http://www.nightclub.com |
113 |
|
114 |
|
115 |
-- |
116 |
gentoo-user@g.o mailing list |