Postfix
Hello,
Followed this tutorial http://www.debiansystemadmin.com/con...-squirrelmail/ I can send mail from the server, but seem to have issues receiving mail: Here's the tail end of the log file: Aug 27 11:39:57 myserver dovecot: auth-worker(default): pam(info,127.0.0.1): lookup service=dovecot Aug 27 11:39:57 myserver dovecot: auth-worker(default): pam(info,127.0.0.1): #1/1 style=1 msg=Password: Aug 27 11:39:57 myserver dovecot: auth(default): client out: OK#0111#011user=info Aug 27 11:39:57 myserver dovecot: auth(default): master in: REQUEST#01136#01124779#0111 Aug 27 11:39:57 myserver dovecot: auth(default): passwd(info,127.0.0.1): lookup Aug 27 11:39:57 myserver dovecot: auth(default): master out: USER#01136#011info#011system_groups_user=info#011uid=1001#011gid=100#011home=/home/info Aug 27 11:39:57 myserver dovecot: imap-login: Login: user=<info>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured Aug 27 11:39:57 myserver dovecot: IMAP(info): Effective uid=1001, gid=100, home=/home/info Aug 27 11:39:57 myserver dovecot: IMAP(info): maildir: data=~/Maildir Aug 27 11:39:57 myserver dovecot: IMAP(info): maildir++: root=/home/info/Maildir, index=, control=, inbox=/home/info/Maildir Aug 27 11:39:57 myserver dovecot: IMAP(info): Namespace : Using permissions from /home/info/Maildir: mode=0700 gid=-1 Aug 27 11:39:57 myserver dovecot: IMAP(info): Disconnected: Logged out bytes=85/681 Aug 27 11:39:58 myserver dovecot: auth(default): new auth connection: pid=26057 Aug 27 11:39:58 myserver dovecot: auth(default2): new auth connection: pid=26057 And here's my 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 (Debian/GNU) 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 = no # TLS parameters smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.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. myhostname = mysite.com alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = mysite.com, localhost.com, , localhost relayhost = mynetworks = 127.0.0.0/8 [::ffff:127.0.0.1]/104 [::1]/128.10.0.0.0/24 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all mailbox_command = procmail home_mailbox = Maildir/ smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = tcs.local smtpd_recippient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination Smtpd_sasl_security_options = noanonymous I also installed procmail as the system complained it couldn't find it. Any ideas guys, it's quite tricky to set up a mail server, for me anyhow! |
No clues?
|
All times are GMT -5. The time now is 12:51 AM. |