Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-19-2008, 11:54 AM   #1
Registered: Mar 2008
Distribution: RedHatES4
Posts: 144

Rep: Reputation: 15
Mail help

I am completely new to Linux so please excuse me...I have red hat linux es4.

I have inherited a server that has postfix and cyrus-imap installed.
I have a registered domain.
I can and want to use imap at the client end to read mail messages.
I can send mail to various mailboxes on the mail server from external domains. However the SMTP does not appear to be enabled to send out to external domains.
I want to open up the SMTP both ways securely.
I have access to webmin to access key areas of the programs.

Whats steps should I take to be able to send out from the mail server.

Last edited by i_nomad; 03-19-2008 at 11:57 AM.
Old 03-20-2008, 03:55 AM   #2
Registered: Mar 2008
Distribution: RedHatES4
Posts: 144

Original Poster
Rep: Reputation: 15
Go on some one give me a hint.

smtp port is open.
IMAP is downloading fine.
Cant send external.

In postfix/

readme_directory = /usr/share/doc/postfix-2.2.10/README_FILES
fallback_transport = lmtp:unix:/var/lib/imap/socket/lmtp
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
myorigin = $mydomain
myhostname =
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,, XXXX.local
mydomain =
mynetworks =
smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination

I guess the last line is key?? smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination
What should I do to proceed?

Kind Regards
Old 03-20-2008, 04:50 AM   #3
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination

should be

smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination

- note the comma

But thisd isn't stopping you sending

First question, do you know if your ISP allows you to send directly on port 25 (the smtp port)? If they don't or you aren't sure, you should be able to relay through your ISP's smtp server. Suppose their server is, then simple set

relayhost =

in and run postfix reload

Last edited by billymayday; 03-20-2008 at 04:51 AM.


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
command line email client to send mail to remote mail server dhanju Linux - Software 1 03-07-2008 07:37 AM
with the linux proxi, backend pop3 mail client can not receive mail and send mail rubin823 Linux - Networking 0 12-21-2006 11:06 PM
Import Mail from /var/spool/mail (sendmail) to a MailDir Format in Postfix shawnbishop Linux - Software 0 04-06-2006 11:44 AM
Exists a mail-client for Fedora, that can read local mail file without deleting? mxn Linux - Software 1 07-10-2004 01:53 PM
parsing mail.log with perl and calculate mail traffic on domain base markus1982 Programming 1 03-18-2003 07:22 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:55 PM.

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