checkmate3001, thanx so much for the links and postfix guide. Now about the postfix book do u hav a soft copy or printed one?
|
Postfix adds myorigin (which defaults to myhostname) onto email addresses that are unqualified (eg. nelly gets rewritten as root@nelly.mail1.local). So this matches what you see in test1. And test3 ends up being the same as test1 because of this.
test2 fails, because the domain "mail1.local" does not match myorigin (which above we set is set to the default nelly.mail1.local). If you want the domain "mail1.local" to be the domain used, set myorigin: myorigin = $mydomain Please show exactly the log lines, or mail headers that reference "suse.de". |
my hostname is nelly, and my /etc/hosts file looks like this;
Quote:
|
You need to add nelly.local in there, so
27.0.0.2 nelly.mail1.local nelly.local nelly 192.168.43.6 nelly.mail1.com nelly.local nelly |
Hi, here is a cut out from the log generated when i logged in as nelly and sent mail to editorial@nelly.mail1.local
Quote:
|
Postfix doesn't use the hosts file unless disable_dns_lookups = yes..
|
Quote:
|
How are you sending the mail? What MUA are you using? The from=<nelly@suse.de> is the Envelope Sender. This is set by your MUA when you send the mail to your server.
|
Hi guys,
I really really appreciate all the efforts you have invested in this and it really means alot to me, i now think i had a problem with the domain and hostname configs, coz right now i can send and receive mail locally, but i guess if i get a fully qualified domain name everything will be fine. i applied for one from my ISP and its in the process. Anyways thank you very much and im totally grateful. B.T.W Can u guys show me how to increase the attachments maximum size? coz right now its at 2MB, i would really like to put at around 15MB, Also lets say i need to send email to all users on the server without typing all of them one by one, that means i need to create some sort of aliases, how do i go about that? lets say i need it to be like staff@nelly.mail1.local, i need help on this. Thnx n Rgds. |
There's a parameter for main.cf call message_size_limit. Set this to the number of bytes you'd like to allow.
Quote:
|
madfed,
Postfix can use a phony domain name - a real domain name is not even necessary to send mail outbound, but you have to rewrite the envelope sender. This is all documented in the Small Home and Office README on the postfix site (I think I referred you to that site). Unless you are also able to get a PTR DNS (aka: reverse DNS) name, you will have trouble sending to other MTAs. If you are on a residential or dynamic IP, you will have trouble sending to other MTAs. Quote:
Code:
$ cat /etc/hosts |
Quote:
$ postconf -d alias_database alias_database = hash:/etc/aliases and then add staff: email1, email2, email3, ... then run newaliases |
So are you saying that Postfix doesn't bother resolving hostnames in mydestinations (which would make sense)? Otherwise they need to be resolved somewhere, ang this name won't be in any dns server.
|
Exactly.
man 5 postconf: Quote:
|
Fair 'nuff, and good to add a little something to the knowledge base
|
All times are GMT -5. The time now is 03:44 PM. |