LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-10-2007, 06:41 AM   #1
mplike
Member
 
Registered: Jul 2007
Posts: 59

Rep: Reputation: 16
Sendmail Configuration.


Hi,
I am trying to configure sendmail for one of our clients. Sending mail using sendmail works fine. It is confirued in such a way that it uses mail gateway mailgate.lcm.nl to send the emails.
Issue is when receiving emails.
How can I configure sendmail to receive emails.
MX records for the main domain lcmg.com is configured.
How can I configure mails for subdomain. We want to configure gforge.lcmg.com.

Should I set up a rule?
 
Old 07-11-2007, 04:05 PM   #2
bambang
LQ Newbie
 
Registered: Jul 2007
Posts: 1

Rep: Reputation: 0
i'm new in linux

Quote:
Originally Posted by mplike
Hi,
I am trying to configure sendmail for one of our clients. Sending mail using sendmail works fine. It is confirued in such a way that it uses mail gateway mailgate.lcm.nl to send the emails.
Issue is when receiving emails.
How can I configure sendmail to receive emails.
MX records for the main domain lcmg.com is configured.
How can I configure mails for subdomain. We want to configure gforge.lcmg.com.

Should I set up a rule?
Hi, anybody can help me create mail server. I'm using UBUNTU. Before that i use windows and smtpbeamer. Please assist me. Thank you.
 
Old 07-11-2007, 04:12 PM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
I'll give this a shot, since you posted yesterday morning and haven't received a reply. If I err, I hope those more knowledegable than I am will correct my error(s).

If I understand this correctly, sendmail has a companion called fetchmail. Sendmail to send it to the outside world, and fetchmail to get if from the outside world. Then there is procmail, as an overlay to send- and fetchmail, to process incoming and outgoing mail, and logging both. Then you may also want something like SpamAssassin to deal with spam.

Did I mention antivirus software to protect any Windows machines on your client's network?

Or, install postfix (which does the work of both send- and fetchmail), along with procmail and SpamAssassin.

There are also other MTAs you could look into.

Last edited by bigrigdriver; 07-11-2007 at 04:13 PM.
 
Old 07-12-2007, 12:16 AM   #4
mplike
Member
 
Registered: Jul 2007
Posts: 59

Original Poster
Rep: Reputation: 16
Sendmail config.

Thankyou for your reply.

How can I configure sendmail to receive email from outside world (specific to my subdomain.)

for example:
Gmail has it mail exchanger named : gmail-smtp-in.1.google.com

Hence all the mails from outside world to alias@gmail.com will be routed to this exchange server record.

How will this happen in case of a subdomain : gforge.gmail.com

Mails in this case will still be routed to gmail.com MX.

How can I reprocess to forward these mails to my subdomain.
alias@gforge.gmail.com

Please correct me if I am wrong.

Thankyou once again for your reply.
 
Old 07-12-2007, 01:35 AM   #5
jonwatson
Member
 
Registered: Jun 2004
Location: Nova Scotia, Canada!
Distribution: Ubuntu
Posts: 170

Rep: Reputation: 30
bigrigdriver has the right idea.

Sendmail does just what it sound like - it sends mail. It does not receive mail.

You need an MTA (Mail Transfer Agent) to receive email. The most popular ones are probably Postfix and Exim (in no particular order).

Procmail is probably outside of what you need right now as it is a mail filter (send emails with this subject to this mailbox, for example) rather than a sender or receiver.

There are numerous tutorials on the web that deal with setting up Postfix or Exim. I think you would be able to find a good HOWTO on howtoforge.com for either.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail configuration k0nsole.c Linux - Software 1 06-04-2007 09:29 AM
HELP ... configuration on sendmail akamaru607 Linux - Newbie 1 08-25-2005 03:19 AM
Sendmail Configuration turishi007 Linux - Software 1 12-16-2004 01:51 PM
Sendmail configuration AMMullan Linux - Networking 4 09-30-2004 02:51 PM
Sendmail Configuration TheDude074 Linux - General 1 08-07-2003 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration