|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Jeremy Gillick (jeremymailing
yahoo.com)
Date: Tue Jun 12 2007 - 00:40:13 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I spoke too soon, it's not working now. I've tried setting inet_interfaces to 'all', then my IP address and also removing it entirely from the config file.
For some reason setting it to 'all' worked at first, but when I just tried it again I wasn't able to connect.
Here's more info:
$ sudo netstat -an | grep list -i
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
tcp 0 0 :::143 :::* LISTEN
unix 2 [ ACC ] STREAM LISTENING 648720 private/tlsmgr
unix 2 [ ACC ] STREAM LISTENING 648724 private/rewrite
unix 2 [ ACC ] STREAM LISTENING 648728 private/bounce
unix 2 [ ACC ] STREAM LISTENING 648732 private/defer
unix 2 [ ACC ] STREAM LISTENING 648736 private/trace
unix 2 [ ACC ] STREAM LISTENING 648740 private/verify
unix 2 [ ACC ] STREAM LISTENING 648748 private/proxymap
unix 2 [ ACC ] STREAM LISTENING 648752 private/smtp
unix 2 [ ACC ] STREAM LISTENING 648756 private/relay
unix 2 [ ACC ] STREAM LISTENING 648764 private/error
unix 2 [ ACC ] STREAM LISTENING 648768 private/discard
unix 2 [ ACC ] STREAM LISTENING 648772 private/local
unix 2 [ ACC ] STREAM LISTENING 648776 private/virtual
unix 2 [ ACC ] STREAM LISTENING 648780 private/lmtp
unix 2 [ ACC ] STREAM LISTENING 648784 private/anvil
unix 2 [ ACC ] STREAM LISTENING 648788 private/scache
unix 2 [ ACC ] STREAM LISTENING 648792 private/maildrop
unix 2 [ ACC ] STREAM LISTENING 648796 private/old-cyrus
unix 2 [ ACC ] STREAM LISTENING 648800 private/cyrus
unix 2 [ ACC ] STREAM LISTENING 648804 private/uucp
unix 2 [ ACC ] STREAM LISTENING 648808 private/ifmail
unix 2 [ ACC ] STREAM LISTENING 648812 private/bsmtp
unix 2 [ ACC ] STREAM LISTENING 639727 /var/run/dovecot//login/default
unix 2 [ ACC ] STREAM LISTENING 648816 private/dovecot
unix 2 [ ACC ] STREAM LISTENING 639738 /var/spool/postfix/private/auth
unix 2 [ ACC ] STREAM LISTENING 4961 /home/virtual/FILESYSTEMTEMPLATE/.mysqlsock/mysql.sock
unix 2 [ ACC ] STREAM LISTENING 5374 /tmp/.font-unix/fs7100
unix 2 [ ACC ] STREAM LISTENING 639725 /var/run/dovecot//dict-server
unix 2 [ ACC ] STREAM LISTENING 639746 /var/run/dovecot/auth-master
unix 2 [ ACC ] STREAM LISTENING 639733 /var/run/dovecot//auth-worker.15709
unix 2 [ ACC ] STREAM LISTENING 5404 /var/run/saslauthd/mux
unix 2 [ ACC ] STREAM LISTENING 2705
kudzu_config_socket
unix 2 [ ACC ] STREAM LISTENING 648713 public/cleanup
unix 2 [ ACC ] STREAM LISTENING 648744 public/flush
unix 2 [ ACC ] STREAM LISTENING 648760 public/showq
unix 2 [ ACC ] STREAM LISTENING 5338 /dev/gpmctl
maximatt <azamax
gmail.com> wrote: hi...
you can resolve setting:
inet_interfaces = all
or the interface that you want.
2007/6/11, Jeremy Gillick <jeremymailing
yahoo.com>: I have Dovecot setup with Postfix and can't seem to connect to to the SMTP server (port 25) unless I'm on the server itself (telnet localhost 25). For example, I cannot use my mail client, Thunderbird, to send mail from my laptop -- it cannot even connect to the server. I checked the logs and nothing shows up for the attempted connection.
Dovecot version: 1.0.0
Postfix version: 2.3.6
---------- POSTFIX CONFIG (main.cf) ----------
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = mozmonkey.com
mydomain = mozmonkey.com
inet_interfaces = $myhostname, localhost
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
local_recipient_maps = $virtual_mailbox_maps
unknown_local_recipient_reject_code = 550
mail_spool_directory = /var/mail
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.3.6/samples
readme_directory = /usr/share/doc/postfix-2.3.6/README_FILES
address_verify_map = btree:/var/spool/postfix/address_verify
virtual_mailbox_domains = proxy:mysql:$config_directory/mysql_virtual_domains_maps.cf
virtual_mailbox_base = /var/mail
virtual_mailbox_maps = proxy:mysql:$config_directory/mysql_virtual_mailbox_maps.cf
virtual_alias_maps = proxy:mysql:$config_directory/mysql_virtual_alias_maps.cf
virtual_minimum_uid = 101
virtual_uid_maps = static:101
virtual_gid_maps = static:12
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_exceptions_networks = $mynetworks
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtp_tls_CAfile = /etc/pki/tls/cert.pem
smtp_tls_cert_file = /etc/pki/tls/certs/localhost.crt
smtp_tls_key_file = /etc/pki/tls/private/localhost.key
smtp_tls_session_cache_database = btree:/var/spool/postfix/smtp_tls_session_cache
smtp_tls_security_level = may
smtpd_tls_dh1024_param_file = $config_directory/dh_1024.pem
smtpd_tls_dh512_param_file = $config_directory/dh_512.pem
smtpd_tls_received_header = yes
smtpd_tls_ask_ccert = yes
smtpd_tls_loglevel = 1
tls_random_source = dev:/dev/urandom
relay_domains = proxy:mysql:$config_directory/mysql_relay_domains_maps.cf
---------- POSTFIX CONFIG END (main.cf) ----------
---------- POSTFIX CONFIG ( master.cf) ----------
smtp inet n - n - - smtpd
smtps inet n - n - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
-o fallback_relay=
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
old-cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
dovecot unix - n n - - pipe
flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d ${recipient}
---------- POSTFIX CONFIG END( master.cf) ----------
---------- DOVECOT CONFIG ----------
$ sudo dovecot -n
# /etc/dovecot.conf
base_dir: /var/run/dovecot/
protocols: imap pop3 imaps pop3s
ssl_listen: [::]
login_dir: /var/run/dovecot//login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
login_greeting_capability(default): yes
login_greeting_capability(imap): yes
login_greeting_capability(pop3): no
first_valid_uid: 101
last_valid_uid: 101
mail_extra_groups: mail
mail_location: maildir:/var/mail/%d/%u
mail_debug: yes
maildir_copy_with_hardlinks: yes
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
auth default:
mechanisms: plain digest-md5 cram-md5
user: nobody
debug: yes
debug_passwords: yes
passdb:
driver: sql
args: /etc/dovecot/sql.conf
userdb:
driver: sql
args: /etc/dovecot/sql.conf
socket:
type: listen
client:
path: /var/spool/postfix/private/auth
mode: 432
user: vmail
group: mail
master:
path: /var/run/dovecot/auth-master
mode: 384
user: vmail
group: mail
---------- END CONFIG ----------
---------------------------------
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search.
--
Salu2 ;)
---------------------------------
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]