View Single Post

  #4 (permalink)  
Old 03-22-2008
Dirk Lehmann
 
Posts: n/a
Default Re: how-to for postfix

Hello,

I found an other document for my wants and needs:

http://rimuhosting.com/support/setti...&t=local#local

Unfortunatly every mails to anybody at my domain are delivered into my
user-accounts mailbox even if my partner has his own user-acount and his own
mailbox.

For security reasons I do not give you the IP-adress and the domain name but
all other configuration settings of postfix.

This is my configuration:

inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_alias_domains = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = xxx.xxx.xxx.xxx (my domain)
program_directory = /usr/lib/postfix
inet_interfaces = xxx.xxx.xxx.xxx (my public ip-adresse)
masquerade_domains =
mydestination = xxx.xxx.xxx.xxx (my domain)
defer_transports =
disable_dns_lookups = no
mailbox_command =
mailbox_transport =
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = hash:/etc/postfix/access
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000

I was wondering if someone can please let me know what I have to change that
each user at my domain get his or her mails into his or her own mailbox.

Thank you.

yours faithfully,

Dirk

"Martin Gregorie" <martin@see.sig.for.address> schrieb im Newsbeitrag
news:fbofb5-c2j.ln1@zoogz.gregorie.org...
> Matthias Hanft wrote:
>> Dirk Lehmann wrote:
>>> If not, is there a how-to how to set up a mailserver without webmin by
>>> manual editing the config files.

>>
>> You know the website http://www.postfix.org/ ? The "Howtos and FAQs"
>> and the "Documentation" pages give a lot of information...
>>
>> Furthermore, the Postfix setup is pretty simple:
>>
>> 1.) Install it.
>> (for example, with Gentoo Linux, it's just "emerge postfix")
>>
>> 2.) If needed, configure it.
>> Generally, no configuration at all is needed; optionally you
>> can put your hostnames into "mydestination = ..." in the
>> /etc/postfix/main.cf file.
>>
>> 3.) Start it.
>> normally /etc/init.d/postfix start
>>
>> That's it. Easy, huh?!
>>
>> A very good source of information in German is Peer Heinlein's
>> "Das Postfix Buch". The 2004 edition seems to be out of stock
>> right now, but a new edition will appear in June 2008:
>> http://tinyurl.com/3ybern
>>
>> -Matt

> One other point:
>
> If your distro has sendmail as the default mta and has the alternatives
> system installed there's another step to take.
>
> Debian and Fedora default to this set-up. You need to use alternatives to
> set Postfix as the current mta after installing it. For Fedora the
> sequence is:
>
> - see if Postfix is installed:
> yum list postfix
>
> - if its not installed, get it:
> yum install postfix
>
> - check the alternative setting:
> alternatives --display mta
>
> - and set it to Postfix if needed:
> alternatives --set mta /usr/sbin/sendmail.postfix
>
>
> --
> martin@ | Martin Gregorie
> gregorie. | Essex, UK
> org |


Reply With Quote