On Wednesday 29 July 2009 03:26:41 am Clayton wrote:
Running a mailserver on a dynamic IP-address is difficult at best, but I guess it could work if your dyndns stuff is working.
Nothing like starting on the harder side of things :-) In theory, that is what DynDNS is supposed to "help" with. They provide a fixed point for the mail to be received and relay it to me.
Your alias problem - well, somehow you didn't set it up correctly :-) What was the bounce reason you got? Where did you set up the alias?
I set up the alias in /etc/aliases. In my tinkering and poking in YaST I discovered I can view the aliases that are set in Network Services > Mail Transfer Agent. In the Wizard page titled Incoming Mail, there is a handy Aliases button.. click that and I can see the user alias I set.
Picked this out of the mail log file: Jul 29 10:18:39 linux-tliy postfix/local[21689]: warning: database /etc/aliases.db is older than source file /etc/aliases Hmmm.. maybe this is why the alias is not working? How is the database updated?
Buried in the mail bounce is: Diagnostic-Code: X-Postfix; unknown user: $USERNAME (where $USERNAME is the alias name I set in /etc/aliases, and attempted to use mailx to send a test message to)
Also... in the mail headers I'm seeing, wherever the server name is mentioned: hostname.domainname.com
eg: linux-tily.mydomain.com
where I want it to read just mydomain.com... or would like it to.
External mail - are you using your ISPs mailserver to relay through or are you sending directly? I.e. have you set relayhost in your postfix config? Do you see the mail being delivered? (check your log).
I do not want to use my ISPs mailserver (various reasons, including all their support info is in German, and my German skills are pathetic at best)... so I'm hoping to use my own setup/server.
I've set my relayhost to my own domain... and checked the logs again. Hmmmm... I think this has put me on to the problem... now (after setting my relayhost), I'm seeing a nice helpful bounce error:
Remote-MTA: dns; mx1.mailhop.org Diagnostic-Code: smtp; 550 Sender verify failed
So... I need to sort out that part... which I should be able to do... I hope (the remote MTA is the one DynDNS provides).
C.
Clayton, I have some notes on mailserver setup that even I can understand. Worth a look: http://www.3111skyline.com/linux/openSuSE-server.php#mail -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org