Full Discussion: Sending Mail with Postfix
Top Forums UNIX for Dummies Questions & Answers Sending Mail with Postfix Post 302741399 by SkySmart on Saturday 8th of December 2012 03:08:55 PM
Sending Mail with Postfix

im able to install postfix on my ubuntu server. no issues. but ican't send mail.

i dont know what to put for the "relayhost". i've googled this endlessly but i'm clueless. isn't there a general smart host i can use that'll allow me to send?

i dont care for receiving mail. i just want to be able to send mail using the the unix "mail" command. any ideas?
Test Your Knowledge in Computers #384
Difficulty: Medium
The Unix df command reports damaged disk space on file systems.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Configuring my PostFix Mail Server

Hi folks! I have a Postfix email server running on my MacOs x box. I would like to customize this automatic message to portuguese language: ============ This is the Postfix program at host myserver.com. I'm sorry to have to inform you that the message returned below could not... (4 Replies)
Discussion started by: fundidor
4 Replies

2. UNIX for Dummies Questions & Answers

mail command woth Postfix

Hi, maybe someone could help me. This is the thing. I usually use the command "mail" on my scripts to send me info about the linux box, something like: df -k | mail -s "disk usage" lalala@lalala.com. This works fine in all the linuxes that sendmail is installed, but there is one with Postfix... (1 Reply)
Discussion started by: piltrafa
1 Replies

3. UNIX for Advanced & Expert Users

postfix sending but not recieving

Hi all, I just setup postfix on my server thats running Centos 5.x with webmin. Now I can send email out of the server but I cant receive email. Server side I can telnet into the 110 and 25 port but coming from the outside of the box I can only telnet into the 110 port but not port 25. The... (1 Reply)
Discussion started by: mcraul
1 Replies

4. Ubuntu

Reg:Postfix Mail Server

We have a redhat enterprise linux 4 server.we have configured postfix as our MTA.squirrel mail as webmail and apache is configured for webserver.We configured outlook as mail client.The mail server is working and our users ae saving a copy of mail in the linux server.Our problem is whenever the... (0 Replies)
Discussion started by: ramjimh
0 Replies

5. Programming

Mail sending from VFP9 through internal postfix esmtp server.

hi all, please help me in this regard. I am VFP 9 programmer. I want to send the mail from within VFP 9 application. I have used CDO of microsoft which is working fine. however to be able to send the mail i have to setup the router gateway on user machine which enable him to surf through the... (0 Replies)
Discussion started by: choudharidl
0 Replies

6. IP Networking

postfix - reinject mail to postfix from hold queue directory

hi all. Am using smtpd_recipient_restrictions & check_recipient_access in postfix. The hash file looks like this: emailaddress1 HOLD emailaddress2 HOLD The aim is to place email from these recipients in the hold directory,check them then reinject them back in postfix on some... (0 Replies)
Discussion started by: coolatt
0 Replies

7. Shell Programming and Scripting

Stop sending mail after certain number of mail

Hi guys... I am busy writing a script to notify me via an mail if my application is down. I have done that. Now I want this script to stop sending mails after five mails were sent but the script should keep on checking the application. When the application is up again that count should be... (5 Replies)
Discussion started by: Phuti
5 Replies

8. Emergency UNIX and Linux Support

Access denied when sending mail - postfix

i have configured mail server with postfix with dovecot with no encryption: When connecting with Thunderbird imap is working fine. when sending email from another domain to this domain again it is fine. but when i want to send mail frommy domain to another it gives me error and this is... (3 Replies)
Discussion started by: majid.merkava
3 Replies

9. Red Hat

Problems sending mail: Difference between Mail and Mailx?

Whats the difference between mail and mailx? I'm trying to troubleshoot a problem where I can send mail from server A with this `echo $MESSAGE | mail -s "$SUBJECT" -r $FROM $RECIPIENTS` command but executing the same command from server B throws me this error (Both servers are RHEL) ... (1 Reply)
Discussion started by: RedSpyder
1 Replies

10. Shell Programming and Scripting

Issues sending emails using PostFix Mail Server

I'm unable to send email from my Linux server despite SMTP port 25 Active and Listening. # hostname TechX I checked the mail log ( /var/log/maillog ) and found the below error. I'm sharing all the ".cf" files seen in the error log. 1. # more /etc/postfix/main.cf # postfix... (0 Replies)
Discussion started by: mohtashims
0 Replies
TRIVIAL-REWRITE(8)					      System Manager's Manual						TRIVIAL-REWRITE(8)

trivial-rewrite - Postfix address rewriting and resolving daemon SYNOPSIS
trivial-rewrite [generic Postfix daemon options] DESCRIPTION
The trivial-rewrite daemon processes two types of client service requests: rewrite Rewrite an address to standard form. The trivial-rewrite daemon by default appends local domain information to unqualified addresses, swaps bang paths to domain form, and strips source routing information. This process is under control of several configu- ration parameters (see below). resolve Resolve an address to a (transport, nexthop, recipient) triple. The meaning of the results is as follows: transport The delivery agent to use. This is the first field of an entry in the master.cf file. nexthop The host to send to. For local delivery this is an empty string. recipient The envelope recipient address that is passed on to nexthop. The trivial-rewrite daemon by default only distinguishes between local and non-local mail. For finer control over mail routing, use the optional transport(5) lookup table. This program expects to be run from the master(8) process manager. STANDARDS
None. The command does not interact with the outside world. SECURITY
The trivial-rewrite daemon is not security sensitive. By default, this daemon does not talk to remote or local users. It can run at a fixed low privilege in a chrooted environment. DIAGNOSTICS
Problems and transactions are logged to syslogd(8). BUGS
The following main.cf parameters are especially relevant to this program. See the Postfix main.cf file for syntax details and for default values. Use the postfix reload command after a configuration change. Miscellaneous inet_interfaces The network interfaces that this mail system receives mail on. This information is used to determine if user@[net.work.addr.ess] is local or remote. mydestination List of domains that this machine considers local. myorigin The domain that locally-posted mail appears to come from. resolve_unquoted_address When resolving an address, do not quote the address localpart as per RFC 822, so that additional @, % or ! characters remain visi- ble. This is technically incorrect, but allows us to stop relay attacks when forwarding mail to a Sendmail primary MX host. Rewriting allow_percent_hack Rewrite user%domain to user@domain. append_at_myorigin Rewrite user to user@$myorigin. append_dot_mydomain Rewrite user@host to user@host.$mydomain. swap_bangpath Rewrite site!user to user@site. Routing local_transport Where to deliver mail for destinations that match $mydestination or $inet_interfaces. The default transport is local. Syntax is transport:nexthop; see transport(5) for details. The :nexthop part is optional. default_transport Where to deliver non-local mail when no information is explicitly given in the transport(5) table. The default transport is smtp. Syntax is transport:nexthop; see transport(5) for details. The :nexthop part is optional. parent_domain_matches_subdomains List of Postfix features that use domain.tld patterns to match sub.domain.tld (as opposed to requiring .domain.tld patterns). relayhost The default host to send non-local mail to when no entry is matched in the transport(5) table. When no relayhost is specified, mail is routed directly to the destination's mail exchanger. transport_maps List of tables with domain to (transport, nexthop) mappings. SEE ALSO
master(8) process manager syslogd(8) system logging transport(5) transport table format LICENSE
The Secure Mailer license must be distributed with this software. AUTHOR(S) Wietse Venema IBM T.J. Watson Research P.O. Box 704 Yorktown Heights, NY 10598, USA TRIVIAL-REWRITE(8)

Featured Tech Videos

All times are GMT -4. The time now is 04:48 PM.
Unix & Linux Forums Content Copyright 1993-2019. All Rights Reserved.
Privacy Policy