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 found and corrected the setting for this too...thank you very very much for your reply..
but now...since this mail arrives to my server...at which mailbox does it delivered too?
do i need to create virtual domains or aliases in order to deliver the mails?
For example..i have currently i user test1 at which i can receive and sent mail outside my network...but where does these mail that comes delivers too?
Typically postfix delivers to a user's home directory (Maildir) or /var/spool/mail.
Postfix will happily deliver to valid users, so unless you want to complicate things stick with that.
You can get mail from the command line using the mail command, or set up a pop/imap server like dovecot and get your mail with evolution/thunderbird/outlook/etc.
from maillog i get :
Dec 1 13:31:02 mail postfix/smtp[3212]: connect to mx1.netconfig.gr[62.1.55.34]: Connection timed out (port 25)
Dec 1 13:31:02 mail postfix/smtp[3212]: C7F89D9022: to=<root@netconfig.gr>, orig_to=<root>, relay=none, delay=61, delays=0.79/0.01/60/0, dsn=4.4.1, status=deferred (connect to mx1.netconfig.gr[62.1.55.34]: Connection timed out)
i have alter dns records just about 3 hours ago..so i hope that dns hasn;t still change...
So, after dns propegation i should receive messages under it's account maildir..right???
when i add this:
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
to main.cf i get relay access denied message...
if i add the below without reject_unauth_destination i get this:
Dec 1 15:43:02 mail postfix/smtpd[5859]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Dec 1 15:43:03 mail postfix/master[4999]: warning: process /usr/libexec/postfix/smtpd pid 5859 exit status 1
Dec 1 15:43:03 mail postfix/master[4999]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
mynetworks looks like this:mynetworks = 0.0.0.0/32, 10.70.36.0/24, 127.0.0.0/8,
so you're going *from* that mail server *out* to an external IP which will be natted back to you? That's unlikely to ever work, as I'd expect you'd get some nasty asym routes and such.
to connect to your internal mail server internally you'd generally use a seperate DNS hostname or configure firewalls to do DNS rewriting exactly for this eventuality.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.