Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th February 2008, 15:38
flurpiti flurpiti is offline
Junior Member
 
Join Date: Feb 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Debian ETCH, postfix alias and forward doesn't work

Hi there!

I had to replace my former postfix mail server under linux mandrake 8 ( hacked)
to an up to date postfix under debian ETCH.
parameters doesn't seems to exactly the same as before.
After a few solved problem, I have been able to run the mail server,
that is getting the emails and sending them.
The trouble is that alias doesn't work nor forwarding using .forward files in users homes.
I have an aliases file, and an aliases.db file made using postalias aliases

my main.cf file is this:

-----------------------------------------
# See /usr/share/postfix/main.cf.dist for a commented, more complete version

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

# 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:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_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 = mail.esgt.cnam.fr

allow_mail_to_commands=alias,forward

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases

mydomain=esgt.cnam.fr
myorigin=esgt.cnam.fr

mydestination = $myhostname, $mydomain,localhost.$mydomain,localhost

mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

------------------------------------
my alias file like this:

--------------------------------
pierre.clergeot: pclergeot
michel.kasser: kasser
jean-marc.baca: jmbaca
andre.balandier: balandier
isabelle.benibri: benibri

------------------------------


Any Idea of what's happening? solution?
Reply With Quote
Sponsored Links
  #2  
Old 1st March 2008, 17:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Did you run
Code:
newaliases
and restart Postfix after you've modified /etc/aliases?
Any errors in the mail log?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 14:33
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 09:40
Forward on subdomain, but alias as url? OnTheRun Installation/Configuration 3 9th June 2006 23:25
ISPconfig/ Postfix forward nemo12 Installation/Configuration 9 16th March 2006 16:19


All times are GMT +2. The time now is 07:22.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.