Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Fri Jul 17, 2009 11:29 pm 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
Newaliases is part of Postfix's Sendmail compatibility interface. If you had both installed simultaneously, I can see how that might cause Postfix's versions of newaliases / sendmail / mailq to not be present. You almost certainly want them, as other applications tend to rely on their presence.

You might want to first try running system-switch-mail (if not present, just do yum install system-switch-mail) to choose Postfix as your system's MTA. That might be enough to get all the pieces in place. Otherwise, I'd suggest removing both Sendmail and Postfix and then re-installing Postfix only, followed by system-switch-mail.


Top
   
 Post subject:
PostPosted: Sat Jul 18, 2009 2:01 pm 
Offline
Junior Member

Joined: Sat Jun 20, 2009 5:17 am
Posts: 25
Hi

Thank you for the response.

It seems to be working if I have sendmail installed but not running.


Top
   
 Post subject:
PostPosted: Fri Aug 07, 2009 4:06 am 
Offline
Junior Member

Joined: Sat Jun 20, 2009 5:17 am
Posts: 25
Hi All

I'm posting here because I use this setup. I'm having trouble setting up the mail.

My mail seems to be eaten up...

In the maillog file I get:
Code:
Aug  7 09:49:18 li73-31 postfix/smtpd[9962]: connect from ey-out-2122.google.com[74.125.78.26]      
Aug  7 09:49:18 li73-31 postfix/smtpd[9962]: B9E752727A: client=ey-out-2122.google.com[74.125.78.26]
Aug  7 09:49:18 li73-31 postfix/cleanup[9968]: B9E752727A: hold: header Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26])??by mail.paranoidandroid.co.za (Postfix) with ESMT
P id B9E752727A??for <andre@paranoidandroid.co.za>; Fri,  7 Aug 2009 09: from ey-out-2122.google.com
[74.125.78.26]; from=<tungsten15@gmail.com> to=<andre@paranoidandroid.co.za> proto=ESMTP helo=<ey-ou
t-2122.google.com>                                                                                 
Aug  7 09:49:18 li73-31 postfix/cleanup[9968]: B9E752727A: message-id=<4A7BDC6B.5080403@googlemail.c
om>                                                                                                 
Aug  7 09:49:23 li73-31 MailScanner[9833]: New Batch: Scanning 1 messages, 2821 bytes               
Aug  7 09:49:23 li73-31 MailScanner[9833]: Virus and Content Scanning: Starting                     
Aug  7 09:49:23 li73-31 MailScanner[9833]: Requeue: B9E752727A.A4428 to 65A0F27283                 
Aug  7 09:49:23 li73-31 MailScanner[9833]: Uninfected: Delivered 1 messages                         
Aug  7 09:49:23 li73-31 postfix/qmgr[7425]: 65A0F27283: from=<tungsten15@gmail.com>, size=2115, nrcp
t=1 (queue active)                                                                                 
Aug  7 09:49:23 li73-31 postfix/error[9972]: 65A0F27283: to=<andre@paranoidandroid.co.za>, relay=non
e, delay=4.9, delays=4.8/0/0/0.05, dsn=4.3.0, status=deferred (mail transport unavailable)         
Aug  7 09:49:23 li73-31 MailScanner[9833]: Deleted 1 messages from processing-database


And also:

Code:
Aug  7 09:56:20 li73-31 postfix/error[9998]: 37FE62727E: to=<andre@paranoidandroid.co.za>, relay=non
e, delay=940, delays=940/0.03/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)

Aug  7 09:56:20 li73-31 postfix/qmgr[7425]: warning: connect to transport private/dovecot: No such file or directory


I guess the MailScanner doesn't copy the email to where it should be, just delete it...?


Top
   
 Post subject:
PostPosted: Fri Aug 07, 2009 10:08 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
Your mail is in the postfix local delivery queue. postfix is reporting an error:
Code:
Aug  7 09:49:23 li73-31 postfix/error[9972]: 65A0F27283: to=<andre@paranoidandroid.co.za>, relay=none, delay=4.9, delays=4.8/0/0/0.05, dsn=4.3.0, status=deferred (mail transport unavailable)

because the specified local delivery transport is unavailable:
Code:
Aug  7 09:56:20 li73-31 postfix/qmgr[7425]: warning: connect to transport private/dovecot: No such file or directory

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Fri Aug 07, 2009 11:15 am 
Offline
Junior Member

Joined: Sat Jun 20, 2009 5:17 am
Posts: 25
Thank you for the response.

The week was long and I'm a bit slow.

Is private/dovecot a directory or the bin file? I've created a directory in /var/spool/postfix/private/dovecot (just after I posted the previous post). Now I get a
Code:
Connection refused
error


Top
   
 Post subject:
PostPosted: Fri Aug 07, 2009 2:02 pm 
Offline
Newbie

Joined: Tue May 27, 2008 9:51 pm
Posts: 3
Website: http://www.themike.com
Did you install Dovecot yet?


Top
   
 Post subject:
PostPosted: Sat Aug 08, 2009 9:10 am 
Offline
Junior Member

Joined: Sat Jun 20, 2009 5:17 am
Posts: 25
Yes this is my setting:

Code:
# 1.2.1: /usr/etc/dovecot.conf
# OS: Linux 2.6.18.8-x86_64-linode1 x86_64 CentOS release 5.3 (Final)
protocols: imap imaps pop3 pop3s
ssl_cert_file: /etc/pki/paranoidandroidCA/server.crt
ssl_key_file: /etc/pki/paranoidandroidCA/server.key
login_dir: /usr/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
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 login cram-md5 ntlm
  passdb:
    driver: sql
    args: /etc/dovecot/dovecot_sql_passdb.conf
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot_sql_userdb.conf
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: postfix
    master:
      path: /usr/var/run/dovecot/auth-master
      mode: 384
      user: vmail


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group