Sponsored Content
Full Discussion: Mail server
Special Forums UNIX and Linux Applications Mail server Post 302929241 by Budrys on Friday 19th of December 2014 04:26:00 AM
Old 12-19-2014
I've set up
Code:
user@vpc2a.wi.zut.edu.pl   user

not

Code:
user@vpc2avpc2a.wi.zut.edu.pl   user

and then

Code:
sudo postmap /etc/postfix/virtual

and

Code:
sudo service postfix restart

Then I sent email to user@vpc2a.wi.zut.edu.pl and got error:
Code:
Delivery to the following recipient failed permanently:

     user@vpc2a.wi.zut.edu.pl

Technical details of permanent failure:
DNS Error: Address resolution of vpc2a.wi.zut.edu.pl. failed: Domain name not found

----- Original message -----

DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:date:message-id:subject:from:to:content-type;
        bh=g9NWLIEuUp5BC0pQqwHXC/XCY2NxbvapX7CYix3Uw/c=;
        b=qljNxG/Ry6TlQKGx6gqroGoXItzCLxcsC76+DYrIlmJErYtwYPM3ukdR8x/3Hh7+oT
         Bm9WQxTX+5qeF5cbwBTbVYZh57nyRrkUWe4uz9Q+d/xLvHJOKjy8GT+xRWAop/F6OFEf
         Wi/OnRpRHHBdgOK5TlMCa86ectLsM5oTmLfGd1Mm47TjR/umYTlU4OImB8pBGJapRKMf
         3yYILDZGnlG0afVq1g8n41hgk/55HPT5AbJxNipCP65HA6fCva1v5CJ0KihmacLWYh0E
         jIZcIF+QHK2HYXvtURiIZykLvnyQsJ9DTeZPeYkXpyAfsImZ5qwElvGPNLIs2W5psnZq
         Zt3A==
MIME-Version: 1.0
X-Received: by 10.194.77.201 with SMTP id u9mr6245565wjw.41.1418980390752;
 Fri, 19 Dec 2014 01:13:10 -0800 (PST)
Received: by 10.194.38.73 with HTTP; Fri, 19 Dec 2014 01:13:10 -0800 (PST)
Date: Fri, 19 Dec 2014 10:13:10 +0100
Message-ID: <CAJ9sEkNSTZYV9hoSPeRsfM35+V4_6v_zB+NHkkCHAfWGFnYQ5w@mail.gmail.com>
Subject: Test
From: michal sabat <budrys.ms@gmail.com>
To: user@vpc2a.wi.zut.edu.pl
Content-Type: multipart/alternative; boundary=047d7bfceb442257f3050a8e1e62

Test

---------- Post updated at 04:26 AM ---------- Previous update was at 04:15 AM ----------

I run this comand:

Code:
echo "Test mail from postfix" | mail -s "Test Postfix" budrys.ms@gmail.com

and got this mail:
Code:
user <user@vpc2a>
10:20 (4 minuty temu)

do mnie 
Test mail from postfix

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

can not send mail from unix server to company/yahoo mail

hi, Gurus, I need some help with sending mail out from my UNIX server: It is running Solaris 2.6 and the sendmail version is 8.8. Output of :/usr/lib/sendmail -d0.1 -bt < /dev/null Version 8.8.8+Sun Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET ... (5 Replies)
Discussion started by: b5fnpct
5 Replies

2. Solaris

identify the mail server for mail command

Hi , I am new to unix , i am using the mail and mailx command to send the mail .How come i will know the my mail command using which server as mail box.. Please help me .. Thanks in advance (1 Reply)
Discussion started by: julirani
1 Replies

3. Shell Programming and Scripting

script to read mail on a mail server

Hi All, Is there any way Unix shell script can directly read a mail on a mail server (for eg. abc@xyz.com) and save it as a text file in a unix directory ? Thanks PRKS ---------- Post updated at 08:37 AM ---------- Previous update was at 08:36 AM ---------- I am using ksh (1 Reply)
Discussion started by: PRKS
1 Replies

4. UNIX for Advanced & Expert Users

How to relay mail to mail server from Unix ?

Hi, I need to send email notifications from Unix/Linux box to users using mailx. In these Unix/Linux boxes mail is not configured however we are having mail server configured in our LAN. Could you please provide instructions to configure relay in these boxes so that we can relay our mails... (3 Replies)
Discussion started by: sourabhsharma
3 Replies

5. HP-UX

[Solved] How do I configure Unix Mail Server to use another Mail Exchange Server

We have configured our mail unix server and can send out emails automatically from applications running on unix to different people in our company as well as outside our company. However there is an outside client who is not receiving these emails because the settings on their mail server cannot... (4 Replies)
Discussion started by: Tenyhwa
4 Replies

6. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

7. UNIX for Dummies Questions & Answers

Minimal Mail Server Setup for Local Mail Transfer

I am trying to get stored mail out of an old mail client. I figured that the easiest way to do it is with IMAP by logging in with both clients. I can copy the mail to the server from the old mail client, and back down into the new mail client. Rather than using a real mail account on the... (2 Replies)
Discussion started by: nixie
2 Replies

8. UNIX for Advanced & Expert Users

How can I send a mail from my outlook or other mail accounts to UNIX server?

Hi all, I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix. How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Discussion started by: igelegin
2 Replies

9. Shell Programming and Scripting

How to send mail using PHP mail function On apache server.?

Hello, I am using centos-6.2 I have apache server,php5 on my system and I want to send mail using sendmail on my system. when I try to send mail from shell that time mail is succesfully sent to respective address() but when I try to send it through webbrowser I am not able to send it.... (1 Reply)
Discussion started by: Kiran ursal
1 Replies
XDG-EMAIL(1)							 xdg-email Manual						      XDG-EMAIL(1)

NAME
xdg-email - command line tool for sending mail using the user's preferred e-mail composer SYNOPSIS
xdg-email [--utf8] [--cc address] [--bcc address] [--subject text] [--body text] [--attach file] [mailto-uri | address(es)] xdg-email {--help | --manual | --version} DESCRIPTION
xdg-email opens the user's preferred e-mail composer in order to send a mail to address(es) or mailto-uri. RFC2368 defines mailto: URIs. xdg-email limits support to, cc, subject and body fields in mailto-uri, all other fields are silently ignored. address(es) must follow the syntax of RFC822. Multiple addresses may be provided as separate arguments. All information provided on the command line is used to prefill corresponding fields in the user's e-mail composer. The user will have the opportunity to change any of this information before actually sending the e-mail. xdg-email is for use inside a desktop session only. It is not recommended to use xdg-email as root. See http://portland.freedesktop.org/wiki/EmailConfig for information on how the user can change the e-mail composer that is used. OPTIONS
--utf8 Indicates that all command line options that follow are in utf8. Without this option, command line options are expected to be encoded according to locale. If the locale already specifies utf8 this option has no effect. This option does not affect mailto URIs that are passed on the command line. --cc address Specify a recipient to be copied on the e-mail. --bcc address Specify a recipient to be blindly copied on the e-mail. --subject text Specify a subject for the e-mail. --body text Specify a body for the e-mail. Since the user will be able to make changes before actually sending the e-mail, this can be used to provide the user with a template for the e-mail. text may contain linebreaks. --attach file Specify an attachment for the e-mail. file must point to an existing file. Some e-mail applications require the file to remain present after xdg-email returns. --help Show command synopsis. --manual Show this manual page. --version Show the xdg-utils version information. ENVIRONMENT VARIABLES
xdg-email honours the following environment variables: XDG_UTILS_DEBUG_LEVEL Setting this environment variable to a non-zero numerical value makes xdg-email do more verbose reporting on stderr. Setting a higher value increases the verbosity. EXIT CODES
An exit code of 0 indicates success while a non-zero exit code indicates failure. The following failure codes can be returned: 1 Error in command line syntax. 2 One of the files passed on the command line did not exist. 3 A required tool could not be found. 4 The action failed. 5 No permission to read one of the files passed on the command line. CONFIGURATION
Visit http://portland.freedesktop.org/wiki/EmailConfig for information how to configure xdg-email to use the email client of your choice. EXAMPLES
xdg-email 'Jeremy White <jwhite@example.com>' xdg-email --attach /tmp/logo.png --subject 'Logo contest' --body 'Attached you find the logo for the contest.' 'jwhite@example.com' xdg-email --subject 'Your password is about to expire' 'jwhite@example.com' 'bastian@example.com' 'whipple@example.com' AUTHORS
Kevin Krammer Author. Jeremy White Author. COPYRIGHT
Copyright (C) 2006 xdg-utils 1.0 08/18/2014 XDG-EMAIL(1)
All times are GMT -4. The time now is 09:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy