Postfix sender problem


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Postfix sender problem
# 1  
Old 03-07-2011
Postfix sender problem

Hi All!

I have a very annoying problem. I have an openSuSE box, running postfix on it. It is configured, to use gmail to send mails. It is working fine, I accept the messages, but the sender is my gmail account, not the linux box. How can I (if I can) configure postfix to send the mails with the right sender?

Thanks!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Postfix Problem

Hello, I have a problem remotely connecting to the postfix. It sais "Connection refused". # telnet 104.200.16.232 25 Trying 104.200.16.232... telnet: connect to address 104.200.16.232: Connection refused But the postfix is started and running. # telnet 127.0.0.1 25 Trying... (3 Replies)
Discussion started by: galford
3 Replies

2. UNIX for Dummies Questions & Answers

Postfix Problem

hi guys i have a problem with postfix i can't send any mail to yahoo clients but i cant receive email from yahoo clients Feb 20 11:46:35 cp postfix/qmgr: 83F658003B: from=<ZZZ@XXX.org>, size=508, nrcpt=1 (queue active) Feb 20 11:46:35 cp postfix/smtp: 83F658003B: to=<ZZZ@yahoo.com>,... (1 Reply)
Discussion started by: mhs
1 Replies

3. Red Hat

redhat linux postfix problem..

hello all, If i send mails using postfix,the mails stored in queue,not delivered to required recipient...can anyone please tell me the solution for this problem... (4 Replies)
Discussion started by: tilakraj
4 Replies

4. UNIX for Dummies Questions & Answers

Please help with Postfix config issue - How to allow remote Exchange server to relay to my postfix

Hi guys One of our clients have a problem with sending email to a certain domain. No matter what we try, the mails just dont get delivered. What I did then, is created a new connector on their Exchange server, pointing all mail sent to their client at "domain1" to relay to our Postfix mail... (0 Replies)
Discussion started by: wbdevilliers
0 Replies

5. IP Networking

Postfix SPF DNS problem

Hi I have a Postfix mail server in a Debian Linux network and used to be able to connect to it on port 25 via telnet. I also have working DNS on the server. I added this MX record to the DNS zone file: @ IN MX 10 server.c4.sysinst.ida.liu.se. It worked fine after that also but then... (3 Replies)
Discussion started by: jakethecake
3 Replies

6. UNIX for Advanced & Expert Users

postfix sender address rewriting

Hi, I have a postfix server that relays to an exchange server. All of my unix/linux systems send to this server, the problem is the form the mail is sent with, the sender address is username@hostname.domain.local I need to rewrite every sender address to unix@maildomain.com for... (0 Replies)
Discussion started by: funksen
0 Replies

7. 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

8. UNIX for Advanced & Expert Users

Postfix force sender ("From:" field)

Hello, We have Linux post server with Postfix running on it and 5 domains. Everything is working fine, except one thing. I was wondering how can I force user X to be able to send email ONLY as X@domain1.com, but NOT as X@domain2.com for example. I.e. how can I create map user --> email , and... (0 Replies)
Discussion started by: +Yan
0 Replies

9. UNIX for Advanced & Expert Users

Postfix and authentication problem

Hi, I've Postfix 2.5.1 mail server on Ubuntu 8.04. Recently, I got a new SMTP relay service to send out my mails. But for some reason every time I try to send mail I get this error: (host relay.somehost.com said: 550 5.7.1 <testmail@hotmail.com>... Relaying denied. Proper authentication... (10 Replies)
Discussion started by: nitin
10 Replies

10. Red Hat

Redhat Linux - Postfix problem

We have a redhat linux el4 and used as a mail server.We configured postfix.all r working fine.we got a problem for a particular user when he tries to open his mailbox and the error is mentioned below: ERROR: Could not complete request. Query: SELECT "INBOX" Reason Given: Internal error... (3 Replies)
Discussion started by: ramjimh2k3
3 Replies
Login or Register to Ask a Question
DMA(8)							    BSD System Manager's Manual 						    DMA(8)

NAME
dma -- DragonFly Mail Agent SYNOPSIS
dma [-DiOt] [-Amode] [-bmode] [-f sender] [-L tag] [-ooption] [-r sender] [-q[arg]] [recipient ...] DESCRIPTION
dma is a small Mail Transport Agent (MTA), designed for home and office use. It accepts mails from locally installed Mail User Agents (MUA) and delivers the mails either locally or to a remote destination. Remote delivery includes several features like TLS/SSL support and SMTP authentication. dma is not intended as a replacement for real, big MTAs like sendmail(8) or postfix(1). Consequently, dma does not listen on port 25 for incoming connections. The options are as follows: -Amode -Ac acts as a compatibility option for sendmail. -bmode -bp List all mails currently stored in the mail queue. -bq Queue the mail, but don't attempt to deliver it. See also the 'DEFER' config file setting below. All other modes are are ignored. -D Don't run in the background. Useful for debugging. -f sender Set sender address (envelope-from) to sender. This overrides the value of the environment variable EMAIL. -i Ignore dots alone on lines by themselves in incoming messages. This should be set if you are reading data from a file. -L tag Set the identifier used in syslog messages to the supplied tag. This is a compatibility option for sendmail. -O This is a compatibility option for sendmail. -ooption Specifying -oi is synonymous to -i. All other options are ignored. -q[arg] Process saved messages in the queue. The argument is optional and ignored. -r sender Same as -f. -t Obtain recipient addresses from the message header. dma will parse the To:, Cc:, and Bcc: headers. The Bcc: header will be removed independent of whether -t is specified or not. CONFIGURATION
dma can be configured with two config files: o auth.conf o dma.conf These two files are stored per default in /etc/dma. FILE FORMAT
Every file contains parameters of the form 'name value'. Lines containing boolean values are set to 'NO' if the line is commented and to 'YES' if the line is uncommented. Empty lines or lines beginning with a '#' are ignored. Parameter names and their values are case sensi- tive. PARAMETERS
auth.conf SMTP authentication can be configured in auth.conf. Each line has the format ``user|smarthost:password''. dma.conf Most of the behaviour of dma can be configured in dma.conf. SMARTHOST (string, default=empty) If you want to send outgoing mails via a smarthost, set this variable to your smarthosts address. PORT (numeric, default=25) Use this port to deliver remote emails. Only useful together with the 'SMARTHOST' option, because dma will deliver all mails to this port, regardless of whether a smarthost is set or not. ALIASES (string, default=/etc/aliases) Path to the local aliases file. Just stick with the default. The aliases file is of the format nam: dest1 dest2 ... In this case, mails to nam will instead be delivered to dest1 and dest2, which in turn could be entries in /etc/aliases. The special name '*' can be used to create a catch-all alias, which gets used if no other matching alias is found. Use the catch-all alias only if you don't want any local mail to be delivered. SPOOLDIR (string, default=/var/spool/dma) Path to dma's spool directory. Just stick with the default. AUTHPATH (string, default=not set) Path to the 'auth.conf' file. SECURETRANS (boolean, default=commented) Uncomment if you want TLS/SSL secured transfer. STARTTLS (boolean, default=commented) Uncomment if you want to use STARTTLS. Only useful together with 'SECURETRANS'. OPPORTUNISTIC_TLS (boolean, default=commented) Uncomment if you want to allow the STARTTLS negotiation to fail. Most useful when dma is used without a smarthost, delivering remote messages directly to the outside mail exchangers; in opportunistic TLS mode, the connection will be encrypted if the remote server sup- ports STARTTLS, but an unencrypted delivery will still be made if the negotiation fails. Only useful together with 'SECURETRANS' and 'STARTTLS'. CERTFILE (string, default=empty) Path to your SSL certificate file. SECURE (boolean, default=commented) Uncomment this entry and change it to 'INSECURE' to use plain text SMTP login over an insecure connection. You have to rename this variable manually to prevent that you send your password accidentally over an insecure connection. DEFER (boolean, default=commented) Uncomment if you want that dma defers your mail. You have to flush your mail queue manually with the -q option. This option is handy if you are behind a dialup line. FULLBOUNCE (boolean, default=commented) Uncomment if you want the bounce message to include the complete original message, not just the headers. MAILNAME (string, default=empty) The internet hostname dma uses to identify the host. If not set or empty, the result of gethostname(3) is used. If 'MAILNAME' is an absolute path to a file, the first line of this file will be used as the hostname. MASQUERADE (string, default=empty) Masquerade the envelope-from addresses with this address/hostname. Use this setting if mails are not accepted by destination mail servers because your sender domain is invalid. This setting is overridden by the -f flag and the EMAIL environment variable. If 'MASQUERADE' does not contain a @ sign, the string is interpreted as a host name. For example, setting 'MASQUERADE' to 'john@' on host 'hamlet' will send all mails as 'john@hamlet'; setting it to 'percolator' will send all mails as 'username@percolator'. NULLCLIENT Bypass aliases and local delivery, and instead forward all mails to the defined 'SMARTHOST'. 'NULLCLIENT' requires 'SMARTHOST' to be set. Environment variables The behavior of dma can be influenced by some environment variables. EMAIL Used to set the sender address (envelope-from). Use a plain address, in the form of user@example.com. This value will be overridden when the -f flag is used. SEE ALSO
mailaddr(7), mailwrapper(8), sendmail(8) J. B. Postel, Simple Mail Transfer Protocol, RFC 821. J. Myers, SMTP Service Extension for Authentication, RFC 2554. P. Hoffman, SMTP Service Extension for Secure SMTP over TLS, RFC 2487. HISTORY
The dma utility first appeared in DragonFly 1.11. AUTHORS
dma was written by Matthias Schmidt <matthias@dragonflybsd.org> and Simon Schubert <2@0x2c.org>. BSD
February 13, 2014 BSD