LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-12-2006, 11:12 AM   #1
eduac
Member
 
Registered: Jun 2003
Distribution: Arch - www.archlinux.org
Posts: 186

Rep: Reputation: 30
postfix and maildrop problem


hi all,

i try to install the postfix MTA, but i cant make the tests, here is what the log told me:

Code:
Jul 12 10:04:40 CAM88-N postfix/local[2808]: warning: database /etc/postfix/aliases.db is older than source file /etc/postfix/aliases
Jul 12 10:04:40 CAM88-N postfix/local[2808]: warning: connect #1 to subsystem private//usr/bin/maildrop: No such file or directory
Jul 12 10:04:48 CAM88-N postfix/local[2802]: warning: connect #3 to subsystem private//usr/bin/maildrop: No such file or directory
Jul 12 10:04:50 CAM88-N postfix/local[2808]: warning: connect #2 to subsystem private//usr/bin/maildrop: No such file or directory
Anyone knows how to solve this?
 
Old 07-13-2006, 07:07 AM   #2
peterb
Member
 
Registered: Aug 2003
Location: Athens, Greece
Distribution: Synology, Debian, Fedora
Posts: 136

Rep: Reputation: 16
Hi,

Can you post a copy of your main.cf file?

Peter
 
Old 07-13-2006, 07:26 AM   #3
eduac
Member
 
Registered: Jun 2003
Distribution: Arch - www.archlinux.org
Posts: 186

Original Poster
Rep: Reputation: 30
Code:
queue_directory = /var/spool/postfix

command_directory = /usr/sbin

daemon_directory = /usr/libexec/postfix

mail_owner = postfix

default_privs = nobody

myhostname = mydomain.com
mydomain = $myhostname

myorigin = $myhostname
#myorigin = $mydomain

#inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost

mydestination = $myhostname, localhost.$mydomain, localhost

unknown_local_recipient_reject_code = 550

mynetworks = 168.168.66.0/28, 127.0.0.0/8

alias_maps = hash:/etc/postfix/aliases

alias_database = hash:/etc/postfix/aliases

home_mailbox = Maildir/

smtpd_banner = $myhostname ESMTP $mail_name

debug_peer_level = 2

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

newaliases_path = /usr/bin/newaliases

mailq_path = /usr/bin/mailq

setgid_group = postdrop

html_directory = no

manpage_directory = /usr/local/man

sample_directory = /etc/postfix

readme_directory = no


#======== MYSQL ==============
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_mailbox_base = /postfix
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_uid_maps = static:120
virtual_gid_maps = static:120
transport_maps = mysql:/etc/postfix/mysql_transport_maps.cf

#======= Quota ============
virtual_mailbox_limit_inbox = no
virtual_mailbox_limit_maps= mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_extended = yes
virtual_create_maildirsize = yes
virtual_mailbox_limit = 100000000
virtual_maildir_limit_message = Sorry, mailbox limit exceed
virtual_overquota_bounce = yes

#====== SASL ================
#smtpd_sasl_auth_enable = yes
#smtpd_sasl_security_options = noanonymous
#broken_sasl_auth_clients = yes
#smtpd_recipient_restrictions =
# permit_sasl_authenticated,
# permit_mynetworks,
# check_relay_domains

# =======MAILDROP ==========
fallback_transport = /usr/bin/maildrop
maildrop_destination_recipient_limit = 1
unknown_local_recipient_reject_code = 450

Last edited by eduac; 07-13-2006 at 11:28 AM.
 
Old 07-14-2006, 06:10 AM   #4
eduac
Member
 
Registered: Jun 2003
Distribution: Arch - www.archlinux.org
Posts: 186

Original Poster
Rep: Reputation: 30
??? anyone?
 
Old 07-15-2006, 02:01 AM   #5
peterb
Member
 
Registered: Aug 2003
Location: Athens, Greece
Distribution: Synology, Debian, Fedora
Posts: 136

Rep: Reputation: 16
Hi,

I don't know if you had a look at this but if you still learning (especially about postfix) like I am, then I think this link will help too.


http://www.linuxquestions.org/questions/showthread.php?t=453706


Apart from that, you say that you loaded postfix, when you did the install of your system did it load sendmail by chance?

Some differences that I noticed in your main.cf are:

missing inet_interfaces = all

You are using this, whereas I am using the spooler to deliver prior.
home_mailbox = Maildir/

mail_spool_directory=/var/spool/mail

this delivers the mail to user accounts on the system but if you are going to be using virtual email accounts then I believe that it will do that if you use the virtual file:
virtual_alias_maps = hash:/etc/postfix/virtual

You will probably, if you have not done so, want to check your configuration with:
postfix check

I think that you will want to try re-indexing your aliases.db using the command after issuing:
postfix stop
postalias hash:/etc/postfix/virtual
postfix start

then you will want to check your logs again.

Peter
 
  


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
Mail Forwarding in postfix/maildrop/redhat (like yahoo mail forwarding) topcat Linux - Software 1 08-31-2007 12:10 PM
Maildrop authdaemon problem cnmill Linux - Software 0 05-15-2005 08:04 PM
Postfix, Maildrop help Dasha Linux - General 3 03-08-2005 04:22 PM
problem with maildrop I think jrafalek Linux - Software 1 03-08-2005 03:40 PM
installing maildrop after postfix with mysql kubicon Linux - Networking 0 02-18-2004 07:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:25 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