Sponsored Content
Full Discussion: Sendmail send wrong Name?!
Top Forums UNIX for Dummies Questions & Answers Sendmail send wrong Name?! Post 33377 by Cyvver on Thursday 2nd of January 2003 05:03:31 PM
Old 01-02-2003
Sendmail send wrong Name?!

Ok thats the Problem:
I'm logged in as user "cypher" on my FreeBSD 4.7 and sendmail worked fine but wenn i try to send an EMail as "tobi@provider.org" the mail arrive as "cypher@provider.org". I configured Sendmail with

genericstable "cypher tobi@provider.org"
virtusertable "tobi@provider.org cypher".

Fetchmail works too, i can fetch all mails from provider.org. I used only the command line tool "mail -v -s Test account@gmx.net"

Does anybody knows a solution?!
 

9 More Discussions You Might Find Interesting

1. Cybersecurity

Sendmail keep a user from send message

Hello, i have a problem with my sendmail, i want' to keep a user from sending mail, how can i process ? My user is titi, and i don't want' that titi can't send mail via sendmail is it possible ? thnak a lot (1 Reply)
Discussion started by: westside
1 Replies

2. AIX

Able to send mail without running MTA (sendmail)?

Hi, I am facing a (for me and coworkers) strange behaviour. When I stop sendmail on a plain AIX 5.3 testing box (there is definetly no sendmail process left running anymore), I am still able to send mails to remote addresses via the mail command. I tried that on another box which is not a... (6 Replies)
Discussion started by: zaxxon
6 Replies

3. Debian

sendmail taking too much time to send a email

Hi , I'm using sendmail command to send a email. To send a email sendmail taking 3minutes to complete the process. Is there any configuration needs to be done in server or another solution is there to resolve this issue. Thanks in Advance. Regards Latika (1 Reply)
Discussion started by: latika
1 Replies

4. UNIX for Dummies Questions & Answers

Send HTML graph using sendmail

Hi all. Urgent help required. I am trying to send and HTML/PNG fromat graph from UNIX using sendmail. The graph needs to be in the body of the HTML email and NOT an attachment.:wall: Any ideas and help will be really appreciated. Best regards, Willz (6 Replies)
Discussion started by: Willz
6 Replies

5. Solaris

Sendmail refuses to send via relay

Hi I have two realtively identical Solaris zones. They both appear to have the same config in relation to sendmail. But, when I send a test email using mailx the first one sends via a mail relay and the other sends via localhost. I need them both to use the relay but can't figure out what is... (0 Replies)
Discussion started by: gregb
0 Replies

6. Shell Programming and Scripting

Sendmail to send attachements

Hello All, I have been trying to execute a script to send me alerts using a log file of a job which can be success or failed. But when I try to send log as attachment using sendmail it does not not send any email but job runs fine. I am not able to debug it. Please help to get the correct code.... (1 Reply)
Discussion started by: Rossdba
1 Replies

7. Shell Programming and Scripting

Send attachment through sendmail

Hi, I am trying to send log file of a job run in unix machince through sendmail.Though I am able to send the text but it is not sending as attachment. Could you please look into the code and let me know where I have gone wrong fdate=`date %Y%j`... (2 Replies)
Discussion started by: Rossdba
2 Replies

8. UNIX for Dummies Questions & Answers

Configure sendmail to Only send mail to one domain

On both Solaris 10 and RHEL, we would like to configure sendmail in such a way that the email sent from the server should only go to a particular domain. For eg. We want our server to ONLY send the mail to <user_name>@abc.com. All other domains should be blocked/restricted. The server should not... (0 Replies)
Discussion started by: sk2code
0 Replies

9. Shell Programming and Scripting

Sendmail with wrong domain name

Not sure if this is the right place so I'm sorry if its not. I am setting up a new RHE server and trying to get sendmail to work correctly. Currently when I test sendmail I will recieve an email from (username@servermydomain.com.com) I have scoured the sendmail.cf and cannot find this anywhere.... (2 Replies)
Discussion started by: thumbelina
2 Replies
G_ATTACH(9)						   BSD Kernel Developer's Manual					       G_ATTACH(9)

NAME
g_attach, g_detach -- attach/detach GEOM consumers to/from providers SYNOPSIS
#include <geom/geom.h> int g_attach(struct g_consumer *cp, struct g_provider *pp); void g_detach(struct g_consumer *cp); DESCRIPTION
The g_attach() function attaches given consumer cp to given provider pp, thus establishing a communication channel between the consumer and the provider that allows to change access counts and perform I/O operations. The g_detach() function detaches given consumer cp from its corresponding provider, tearing down the communication channel between them. RESTRICTIONS
/CONDITIONS g_attach(): The consumer must not be attached to a provider. The operation must not create a topology loop. The topology lock has to be held. g_detach(): The consumer has to be attached. The access count has to be 0. There must be no active requests. The topology lock has to be held. RETURN VALUES
The g_attach() function returns 0 if successful; otherwise an error code is returned. EXAMPLES
Create a consumer, attach it to a given provider, gain read access and clean up. void some_function(struct g_geom *mygeom, struct g_provider *pp) { struct g_consumer *cp; g_topology_assert(); /* Create new consumer on 'mygeom' geom. */ cp = g_new_consumer(mygeom); /* Attach newly created consumer to given provider. */ if (g_attach(cp, pp) != 0) { g_destroy_consumer(cp); return; } /* Open provider for reading through our consumer. */ if (g_access(cp, 1, 0, 0) != 0) { g_detach(cp); g_destroy_consumer(cp); return; } g_topology_unlock(); /* * Read data from provider. */ g_topology_lock(); /* Disconnect from provider (release access count). */ g_access(cp, -1, 0, 0); /* Detach from provider. */ g_detach(cp); /* Destroy consumer. */ g_destroy_consumer(cp); } ERRORS
Possible errors: [ELOOP] The operation creates a topology loop. SEE ALSO
geom(4), DECLARE_GEOM_CLASS(9), g_access(9), g_bio(9), g_consumer(9), g_data(9), g_event(9), g_geom(9), g_provider(9), g_provider_by_name(9), g_wither_geom(9) AUTHORS
This manual page was written by Pawel Jakub Dawidek <pjd@FreeBSD.org>. BSD
January 16, 2004 BSD
All times are GMT -4. The time now is 03:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy