LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-27-2012, 06:49 AM   #1
ludo33
Member
 
Registered: Feb 2009
Posts: 119

Rep: Reputation: 16
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!
 
Old 08-27-2012, 05:05 PM   #2
ludo33
Member
 
Registered: Feb 2009
Posts: 119

Original Poster
Rep: Reputation: 16
No clues?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to make postfix send email to another postfix in local network (LAN)? h4k33m Linux - Server 9 06-04-2015 04:33 PM
Removed Citadel and installed Postfix, Postfix acting funny?? kayasaman Linux - Server 49 10-07-2008 08:06 PM
Postfix: postfix: fatal: chdir(/usr/libexec/postfix) Micro420 Ubuntu 2 07-13-2008 12:21 PM
Postfix error: /usr/lib/postfix/smtpd pid 7529 exit status 1 Chiragrs Linux - Networking 7 05-16-2008 12:42 AM
Postfix Configuration Question: Postfix server as a catch-all on office LAN enso491 Linux - Server 5 04-14-2008 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration