Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a bit of problem setting up sendmail on my server.
I've gotten so far that I can send mail from my mail server and relay mail from my LAN computers through it. Also, local delivery seems to be working.
The problem is receiving mail from other domains. When I send mail from my gmail account to any user in my domain the mail gets delivered back to gmail as it exceeds the max hop count.
The mail gets bounced between my ISP mailserver which I use as smart host and between my server.
The problem seems to be that my mail server won't accept any mail it is supposed to receive.
I want the server to receive all mails to @mydomain.com
I have put 'mydomain.com' to my /etc/mail/local-host-names but it did not help.
How to get this thing to work?
Maybe an issue with forwarding or a mail loop, what does the message returned from gmail look like header wise? What do you get when you do a 'dig MX mydomain.tld +short'? Have you restarted sendmail since config changes/initial setup? Have you regenerated the cf?
This is a mail looping problem...seems your gmail is fowarding to your wickedbsd a/c and then wickedbsd a/c is forwarding to your gmail a/c
The mail loop is between my ISP mailserver and my own. At least looking at the mail which got returned to gmail.
snip
Code:
...
Received: from jenni2.inet.fi (mta-out.inet.fi [195.156.147.13])
by hydra.wickedbsd.net (8.14.3/8.14.3) with ESMTP id o4LF9GGI025761
for <zmyrgel@wickedbsd.net>; Fri, 21 May 2010 18:09:25 +0300 (EEST)
Received: from hydra.wickedbsd.net (80.221.34.59) by jenni2.inet.fi (8.5.014)
id 4B17EA3D06749ACA for zmyrgel@wickedbsd.net; Fri, 21 May 2010 18:09:25 +0300
Received: from kirsi2.inet.fi (mta-out.inet.fi [195.156.147.13])
by hydra.wickedbsd.net (8.14.3/8.14.3) with ESMTP id o4LF9ADN016801
for <zmyrgel@wickedbsd.net>; Fri, 21 May 2010 18:09:25 +0300 (EEST)
Received: from hydra.wickedbsd.net (80.221.34.59) by kirsi2.inet.fi (8.5.014)
id 4B17EFA606B29317 for zmyrgel@wickedbsd.net; Fri, 21 May 2010 18:09:25 +0300
...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.